Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:do_wait_intr_irq

Proto:int do_wait_intr_irq(wait_queue_head_t *wq, wait_queue_entry_t *wait)

Type:int

Parameter:

TypeParameterName
wait_queue_head_t *wq
wait_queue_entry_t *wait
337  If Value is more likely to compile time(list_empty - tests whether a list is empty*@head: the list to test.) Then __add_wait_queue_entry_tail(wq, wait)
340  set_current_state(TASK_INTERRUPTIBLE)
341  If signal_pending(current process) Then Return -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  schedule()
346  spin_lock_irq( & lock)
348  Return 0