Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ fls
Function
fls
freebsd/amd64/include/cpufunc.h:145–149 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
143
#define HAVE_INLINE_FLS
144
145
static __inline __pure2 int
146
fls(int mask)
147
{
148
return (mask == 0 ? mask : (int)bsrl((u_int)mask) + 1);
149
}
150
151
#define HAVE_INLINE_FLSL
152
Callers
3
log2
Function · 0.50
vlapic_process_eoi
Function · 0.50
vlapic_pending_intr
Function · 0.50
Calls
1
bsrl
Function · 0.85
Tested by
no test coverage detected