函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:do_wait_intr_irq

函数原型:int do_wait_intr_irq(wait_queue_head_t *wq, wait_queue_entry_t *wait)

返回类型:int

参数:

类型参数名称
wait_queue_head_t *wq
wait_queue_entry_t *wait
337  如果此条件成立可能性大(为编译器优化)(链表为空)则__add_wait_queue_entry_tail(wq, wait)
340  set_current_state(睡眠态)
341  如果signal_pending(当前进程)则返回:负These should never be seen by user programs. To return one of ERESTART** codes, signal_pending() MUST be set. Note that ptrace can observe these* at syscall exit tracing, but they will never be left for the debugged user* process to see.
344  spin_unlock_irq( & lock)
345  进程调度
346  spin_lock_irq( & lock)
348  返回:0