函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bit_wait_timeout

函数原型:__sched int bit_wait_timeout(struct wait_bit_key *word, int mode)

返回类型:int

参数:

类型参数名称
struct wait_bit_key *word
intmode
218  now等于READ_ONCE(jiffies)
220  如果time_after_eq(now, timeout)则返回:负EAGAIN
222  schedule_timeout - sleep until timeout*@timeout: timeout value in jiffies* Make the current task sleep until @timeout jiffies have* elapsed
223  如果signal_pending_state(mode, 当前进程)则返回:负EINTR
226  返回:0