Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\bitops.h Create Date:2022-07-28 05:34:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fls_long

Proto:static inline unsigned fls_long(unsigned long l)

Type:unsigned

Parameter:

TypeParameterName
unsigned longl
181  If size of l == 4 Then Return ls - find last set bit in word*@x: the word to search* This is defined in a similar way as the libc and compiler builtin* ffs, but returns the position of the most significant set bit.* fls(value) returns 0 if value is 0 or the position of the last
183  Return ls64 - find last set bit in a 64-bit word*@x: the word to search* This is defined in a similar way as the libc and compiler builtin* ffsll, but returns the position of the most significant set bit
Caller
NameDescribe
array_map_alloc
workingset_init
get_count_order_longget_count_order_long - get order after rounding @l up to power of 2*@l: parameter* it is same as get_count_order() but with long type parameter
__roundup_pow_of_two__roundup_pow_of_two() - round up to nearest power of two*@n: value to round up
__rounddown_pow_of_two__rounddown_pow_of_two() - round down to nearest power of two*@n: value to round down