Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-28 17:08:22
Last Modify:2020-03-17 23:18:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_mq_freeze_queue_wait_timeout

Proto:int blk_mq_freeze_queue_wait_timeout(struct request_queue *q, unsigned long timeout)

Type:int

Parameter:

TypeParameterName
struct request_queue *q
unsigned longtimeout
153  Return wait_event_timeout - sleep until a condition gets true or a timeout elapses*@wq_head: the waitqueue to wait on*@condition: a C expression for the event to wait for*@timeout: timeout, in jiffies* The process is put to sleep (TASK_UNINTERRUPTIBLE) until the(mq_freeze_wq, percpu_ref_is_zero - test whether a percpu refcount reached zero*@ref: percpu_ref to test* Returns %true if @ref reached zero.* This function is safe to call as long as @ref is between init and exit., timeout)