函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:prepare_to_swait_exclusive

函数原型:void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int state)

返回类型:void

参数:

类型参数名称
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)
调用者
名称描述
kvm_async_pf_task_wait@interrupt_kernel: Is this called from a routine which interrupts the kernel* (other than user space)?