Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-ioc.c Create Date:2022-07-28 17:04:21
Last Modify:2020-03-17 23:16:06 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_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.

Proto:void ioc_clear_queue(struct request_queue *q)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
234  LIST_HEAD(icq_list)
236  spin_lock_irq( & queue_lock)
237  list_splice_init - join two lists and reinitialise the emptied list.*@list: the new list to add.*@head: the place to add it in the first list.* The list at @list is reinitialised
238  spin_unlock_irq( & queue_lock)
240  __ioc_clear_queue( & icq_list)
Caller
NameDescribe
blk_exit_queueUnconfigure the I/O scheduler and dissociate from the cgroup controller.