Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__fls: find last set bit in word*@word: The word to search* Undefined if no set bit exists, so code should check against 0 first.

Proto:static __always_inline unsigned long __fls(unsigned long word)

Type:unsigned long

Parameter:

TypeParameterName
unsigned longword
263  asm("bsr %1,%0":"=r"(word):"rm"(word))
266  Return word
Caller
NameDescribe
find_last_bit
int_sqrt_sqrt - computes the integer square root*@x: integer of which to calculate the sqrt* Computes: floor(sqrt(x))