函数逻辑报告

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:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:rdtgroup_create_info_dir

函数原型:static int rdtgroup_create_info_dir(struct kernfs_node *parent_kn)

返回类型:int

参数:

类型参数名称
struct kernfs_node *parent_kn
1640  Kernel fs node for "info" directory under root 等于kernfs_create_dir(parent_kn, "info", mode, NULL)
1641  如果是错误则返回:错误
1643  kernfs_get(Kernel fs node for "info" directory under root )
1645  ret等于rdtgroup_add_files(Kernel fs node for "info" directory under root , RF_TOP_INFO)
1646  如果ret则转到:out_destroy
1650  fflags等于fflags按位或RF_CTRL_INFO
1651  ret等于rdtgroup_mkdir_info_resdir(r, name, fflags)
1652  如果ret则转到:out_destroy
1657  fflags等于fflags按位或RF_MON_INFO
1658  输出格式化串
1659  ret等于rdtgroup_mkdir_info_resdir(r, name, fflags)
1660  如果ret则转到:out_destroy
1668  kernfs_get(Kernel fs node for "info" directory under root )
1670  ret等于set uid and gid of rdtgroup dirs and files to that of the creator
1671  如果ret则转到:out_destroy
1674  kernfs_activate(Kernel fs node for "info" directory under root )
1676  返回:0
1678  out_destroy :
1679  kernfs_remove(Kernel fs node for "info" directory under root )
1680  返回:ret
调用者
名称描述
rdt_get_tree