Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bit_wait_timeout

Proto:__sched int bit_wait_timeout(struct wait_bit_key *word, int mode)

Type:int

Parameter:

TypeParameterName
struct wait_bit_key *word
intmode
218  now = READ_ONCE(jiffies)
220  If time_after_eq(now, timeout) Then Return -EAGAIN
222  schedule_timeout - sleep until timeout*@timeout: timeout value in jiffies* Make the current task sleep until @timeout jiffies have* elapsed
223  If signal_pending_state(mode, current process) Then Return -EINTR
226  Return 0