Function Report

Linux Kernel (v4.4)

Source File:arch\x86\include\asm\bitops.h Create Date:2016-01-14 09:03:10
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:ffz

Function:static inline unsigned long ffz(unsigned long word)

Return Type:static inline unsigned long


Type Parameter NameRemarks
unsigned long word The word to search

Function description: find first zero bit in word

364  asm( "rep; bsf %1,%0" : "=r" (word) : "r" (~word));
365  Returning The word to search
Function NameFunction description
__setup_irqregister an interrupt
wait_table_bitsThis is an integer logarithm so that shifts can be used later to extract the more random high bits from the multiplicative hash function before the remainder is taken.