函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-cgroup.c Create Date:2022-07-27 19:15:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:void blkcg_destroy_blkgs(struct blkcg *blkcg)

返回类型:void

参数:

类型参数名称
struct blkcg *blkcg
903  spin_lock_irq( & lock)
905  当非hlist_empty( & blkg_list)循环
906  blkg等于hlist_entry(first, structblkcg_gq, blkcg_node)
908  q等于 Pointer to the associated request_queue
910  如果spin_trylock( & queue_lock)则
913  否则
914  spin_unlock_irq( & lock)
915  cpu_relax()
916  spin_lock_irq( & lock)
920  spin_unlock_irq( & lock)
调用者
名称描述
blkcg_cgwb_put