函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:wait_on_bit_lock_action - wait for a bit to be cleared, when wanting to set it*@word: the word being waited on, a kernel virtual address*@bit: the bit of the word being waited on*@action: the function used to sleep, which may take special actions*@mode:

函数原型:static inline int wait_on_bit_lock_action(unsigned long *word, int bit, wait_bit_action_f *action, unsigned mode)

返回类型:int

参数:

类型参数名称
unsigned long *word
intbit
wait_bit_action_f *action
unsignedmode
232  might_sleep()
233  如果非st_and_set_bit - Set a bit and return its old value*@nr: Bit to set*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier).则返回:0
235  返回:out_of_line_wait_on_bit_lock(word, bit, action, mode)