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:12:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rdtgroup_mkdir

Proto:static int rdtgroup_mkdir(struct kernfs_node *parent_kn, const char *name, umode_t mode)

Type:int

Parameter:

TypeParameterName
struct kernfs_node *parent_kn
const char *name
umode_tmode
2861  If strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for Then Return -EINVAL
2869  If Global boolean for rdt_alloc which is true if any* resource allocation is enabled. && parent_kn == kn Then Return These are rdtgroups created under the root directory. Can be used* to allocate and monitor resources.
2876  If rdt_mon_capable && We allow creating mon groups only with in a directory called "mon_groups"* which is present in every ctrl_mon group. Check if this is a valid* "mon_groups" directory.* 1. The directory should be named "mon_groups".* 2 Then Return Create a monitor group under "mon_groups" directory of a control* and monitor group(ctrl_mon). This is a resource group* to monitor a subset of tasks and cpus in its parent ctrl_mon group.
2879  Return -EPERM