Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lkcg_destroy_blkgs - responsible for shooting down blkgs*@blkcg: blkcg of interest* blkgs should be removed while holding both q and blkcg locks

Proto:void blkcg_destroy_blkgs(struct blkcg *blkcg)

Type:void

Parameter:

TypeParameterName
struct blkcg *blkcg
903  spin_lock_irq( & lock)
905  When Not hlist_empty( & blkg_list) cycle
906  blkg = hlist_entry(first, structblkcg_gq, blkcg_node)
908  q = Pointer to the associated request_queue
910  If spin_trylock( & queue_lock) Then
913  Else
914  spin_unlock_irq( & lock)
915  cpu_relax()
916  spin_lock_irq( & lock)
920  spin_unlock_irq( & lock)
Caller
NameDescribe
blkcg_cgwb_put