函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\bitops.h Create Date:2022-07-27 06:38:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__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.

函数原型:static __always_inline unsigned long __fls(unsigned long word)

返回类型:unsigned long

参数:

类型参数名称
unsigned longword
263  asm("bsr %1,%0":"=r"(word):"rm"(word))
266  返回:word
调用者
名称描述
find_last_bit查找最后的CPU标志位
int_sqrt_sqrt - computes the integer square root*@x: integer of which to calculate the sqrt* Computes: floor(sqrt(x))
__ipv6_addr_diff32d the first different bit between two addresses* length of address must be a multiple of 32bits
rdma_find_pg_bitdma_find_pg_bit - Find page bit given address and HW supported page sizes*@addr: address*@pgsz_bitmap: bitmap of HW supported page sizes