函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c Create Date:2022-07-27 09:11:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:We don't allow rdtgroup directories to be created anywhere* except the root directory

函数原型:static struct rdtgroup *kernfs_to_rdtgroup(struct kernfs_node *kn)

返回类型:struct rdtgroup

参数:

类型参数名称
struct kernfs_node *kn
1867  如果kernfs_type(kn)恒等于KERNFS_DIR
1874  如果kn恒等于Kernel fs node for "info" directory under root * Use kernfs_get_parent() and kernfs_name/path() instead of * accessing the following two fields directly. If the node is * never moved to a different parent, it is safe to access the * parent directly.恒等于Kernel fs node for "info" directory under root 则返回:NULL
1876  否则返回:priv
1878  否则
1879  返回:priv
调用者
名称描述
rdtgroup_kn_lock_live
rdtgroup_kn_unlock