函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__wait_on_bit_lock

函数原型:int __sched __wait_on_bit_lock(struct wait_queue_head *wq_head, struct wait_bit_queue_entry *wbq_entry, wait_bit_action_f *action, unsigned mode)

返回类型:int

参数:

类型参数名称
struct wait_queue_head *wq_head
struct wait_bit_queue_entry *wbq_entry
wait_bit_action_f *action
unsignedmode
85  ret等于0
87  循环
88  prepare_to_wait_exclusive(wq_head, & wq_entry, mode)
90  ret等于action( & key, mode)
103  返回:0
104  否则如果ret
105  返回:ret
调用者
名称描述
out_of_line_wait_on_bit_lock