函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:add_wait_queue

函数原型:void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry)

返回类型:void

参数:

类型参数名称
struct wait_queue_head *wq_head
struct wait_queue_entry *wq_entry
22  flags与等于wait_queue_entry::flags 的反
23  spin_lock_irqsave( & lock, flags)
24  __add_wait_queue(wq_head, wq_entry)
25  spin_unlock_irqrestore( & lock, flags)
调用者
名称描述
__request_region__request_region - create a new busy resource region*@parent: parent resource descriptor*@start: resource start address*@n: resource region size*@name: reserving caller's ID string*@flags: IO resource flags
memcg_event_ptable_queue_proc
d_wait_lookup
inotify_read
fanotify_read
ep_ptable_queue_proc
signalfd_dequeue
userfaultfd_ctx_read
aio_poll_complete_work
aio_poll_queue_proc
io_poll_complete_work
io_poll_queue_proc
sbitmap_add_wait_queue
apm_mainloopThis is the APM thread main loop.
do_wait
khugepaged_alloc_sleep
__pollwaitOk, Peter made a complicated, but straightforward multiple_wait() function