Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bsg-lib.c Create Date:2022-07-28 17:38:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bsg_remove_queue

Proto:void bsg_remove_queue(struct request_queue *q)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
323  If q Then
324  bset = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(tag_set, structbsg_set, tag_set)
327  bsg_unregister_queue(q)
328  lk_cleanup_queue - shutdown a request queue*@q: request queue to shutdown* Mark @q DYING, drain all pending requests, mark @q DEAD, destroy and* put it. All future requests will be failed immediately with -ENODEV.
329  blk_mq_free_tag_set( & tag_set)
330  kfree(bset)