Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lkg_destroy_all - destroy all blkgs associated with a request_queue*@q: request_queue of interest* Destroy all blkgs associated with @q.

Proto:static void blkg_destroy_all(struct request_queue *q)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
446  spin_lock_irq( & queue_lock)
448  blkcg = blkcg
450  spin_lock( & lock)
451  blkg_destroy(blkg)
452  spin_unlock( & lock)
455  root_blkg = NULL
456  spin_unlock_irq( & queue_lock)
Caller
NameDescribe
blkcg_init_queuelkcg_init_queue - initialize blkcg part of request queue*@q: request_queue to initialize* Called from blk_alloc_queue_node(). Responsible for initializing blkcg* part of new request_queue @q.* RETURNS:* 0 on success, -errno on failure.
blkcg_exit_queuelkcg_exit_queue - exit and release blkcg part of request_queue*@q: request_queue being released* Called from blk_exit_queue(). Responsible for exiting blkcg part.