Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:add_wait_queue_exclusive

Proto:void add_wait_queue_exclusive(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry)

Type:void

Parameter:

TypeParameterName
struct wait_queue_head *wq_head
struct wait_queue_entry *wq_entry
33  flags |= wait_queue_entry::flags
34  spin_lock_irqsave( & lock, flags)
35  __add_wait_queue_entry_tail(wq_head, wq_entry)
36  spin_unlock_irqrestore( & lock, flags)
Caller
NameDescribe
audit_log_startaudit_log_start - obtain an audit buffer*@ctx: audit_context (may be NULL)*@gfp_mask: type of allocation*@type: audit message type* Returns audit_buffer pointer on success or NULL on error