函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:out_of_line_wait_on_bit_timeout

函数原型:int __sched out_of_line_wait_on_bit_timeout(void *word, int bit, wait_bit_action_f *action, unsigned mode, unsigned long timeout)

返回类型:int

参数:

类型参数名称
void *word
intbit
wait_bit_action_f *action
unsignedmode
unsigned longtimeout
72  wq_head等于bit_waitqueue(word, bit)
75  timeout等于jiffiestimeout
77  返回:To allow interruptible waiting and asynchronous (i.e. nonblocking)* waiting, the actions of __wait_on_bit() and __wait_on_bit_lock() are* permitted return codes. Nonzero return codes halt waiting and return.