Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\wait_bit.c Create Date:2022-07-28 09:40:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:out_of_line_wait_on_bit_timeout

Proto:int __sched out_of_line_wait_on_bit_timeout(void *word, int bit, wait_bit_action_f *action, unsigned mode, unsigned long timeout)

Type:int

Parameter:

TypeParameterName
void *word
intbit
wait_bit_action_f *action
unsignedmode
unsigned longtimeout
72  wq_head = bit_waitqueue(word, bit)
75  timeout = jiffies + timeout
77  Return 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.