函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:_clear_queue - break any ioc association with the specified queue*@q: request_queue being cleared* Walk @q->icq_list and exit all io_cq's.

函数原型:void ioc_clear_queue(struct request_queue *q)

返回类型:void

参数:

类型参数名称
struct request_queue *q
234  LIST_HEAD(icq_list)
236  spin_lock_irq( & queue_lock)
237  加入二个链表项并重新初始化
238  spin_unlock_irq( & queue_lock)
240  __ioc_clear_queue( & icq_list)
调用者
名称描述
blk_exit_queueUnconfigure the I/O scheduler and dissociate from the cgroup controller.