函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:A group is RCU protected, but having an rcu lock does not mean that one* can access all the fields of blkg and assume these are valid

函数原型:static void blkg_release(struct percpu_ref *ref)

返回类型:void

参数:

类型参数名称
struct percpu_ref *ref
114  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.(ref, structblkcg_gq, refcnt)
116  Post an RCU callback to be invoked after the end of an RCU grace* period. But since we have but one CPU, that would be after any* quiescent state.