Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:prepare_to_swait_exclusive

Proto:void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int state)

Type:void

Parameter:

TypeParameterName
struct swait_queue_head *q
struct swait_queue *wait
intstate
83  raw_spin_lock_irqsave( & lock, flags)
84  __prepare_to_swait(q, wait)
85  set_current_state(state)
86  raw_spin_unlock_irqrestore( & lock, flags)