函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__blkg_release

函数原型:static void __blkg_release(struct callback_head *rcu)

返回类型:void

参数:

类型参数名称
struct callback_head *rcu
90  blkg等于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.(rcu, structblkcg_gq, rcu_head)
92  WARN_ON(!bio_list_empty( & async_bios))
95  设置一个css引用
96  如果 all non-root blkcg_gq's are guaranteed to have access to parent lkg_put - put a blkg reference*@blkg: blkg to put
99  wb_congested_put(* Each blkg gets congested separately and the congestion state is * propagated to the matching bdi_writeback_congested.)
101  lkg_free - free a blkg*@blkg: blkg to free* Free @blkg which may be partially allocated.