函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rdtgroup_mkdir

函数原型:static int rdtgroup_mkdir(struct kernfs_node *parent_kn, const char *name, umode_t mode)

返回类型:int

参数:

类型参数名称
struct kernfs_node *parent_kn
const char *name
umode_tmode
2861  如果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则返回:负EINVAL
2869  如果Global boolean for rdt_alloc which is true if any* resource allocation is enabled.parent_kn恒等于kn则返回:These are rdtgroups created under the root directory. Can be used* to allocate and monitor resources.
2876  如果rdt_mon_capableWe 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则返回: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  返回:负EPERM