函数逻辑报告

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

函数名称:rdtgroup_mkdir_info_resdir

函数原型:static int rdtgroup_mkdir_info_resdir(struct rdt_resource *r, char *name, unsigned long fflags)

返回类型:int

参数:

类型参数名称
struct rdt_resource *r
char *name
unsigned longfflags
1615  kn_subdir等于kernfs_create_dir(Kernel fs node for "info" directory under root , name, mode, r)
1617  如果是错误则返回:错误
1620  kernfs_get(kn_subdir)
1621  ret等于set uid and gid of rdtgroup dirs and files to that of the creator
1622  如果ret则返回:ret
1625  ret等于rdtgroup_add_files(kn_subdir, fflags)
1626  如果非retkernfs_activate(kn_subdir)
1629  返回:ret
调用者
名称描述
rdtgroup_create_info_dir