函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-27 18:43:43
Last Modify:2020-03-17 23:18:05 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blk_mq_freeze_queue_wait_timeout

函数原型:int blk_mq_freeze_queue_wait_timeout(struct request_queue *q, unsigned long timeout)

返回类型:int

参数:

类型参数名称
struct request_queue *q
unsigned longtimeout
153  返回: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无计数引用, timeout)