Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Every architecture must define this function. It's the fastest* way of searching a 100-bit bitmap. It's guaranteed that at least* one of the 100 bits is cleared.

Proto:static inline int sched_find_first_bit(const unsigned long *b)

Type:int

Parameter:

TypeParameterName
const unsigned long *b
20  If b[0] Then Return __ffs - find first set bit in word*@word: The word to search* Undefined if no bit exists, so code should check against 0 first.
22  If b[1] Then Return __ffs - find first set bit in word*@word: The word to search* Undefined if no bit exists, so code should check against 0 first. + 32
24  If b[2] Then Return __ffs - find first set bit in word*@word: The word to search* Undefined if no bit exists, so code should check against 0 first. + 64
26  Return __ffs - find first set bit in word*@word: The word to search* Undefined if no bit exists, so code should check against 0 first. + 96
Caller
NameDescribe
pick_next_rt_entity