Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c Create Date:2022-07-28 08:11:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rdtgroup_mkdir_info_resdir

Proto:static int rdtgroup_mkdir_info_resdir(struct rdt_resource *r, char *name, unsigned long fflags)

Type:int

Parameter:

TypeParameterName
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  If IS_ERR(kn_subdir) Then Return PTR_ERR(kn_subdir)
1620  kernfs_get(kn_subdir)
1621  ret = set uid and gid of rdtgroup dirs and files to that of the creator
1622  If ret Then Return ret
1625  ret = rdtgroup_add_files(kn_subdir, fflags)
1626  If Not ret Then kernfs_activate(kn_subdir)
1629  Return ret
Caller
NameDescribe
rdtgroup_create_info_dir