函数逻辑报告

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

函数名称: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.

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

返回类型:int

参数:

类型参数名称
struct kernfs_node *parent_kn
struct kernfs_node *prgrp_kn
const char *name
umode_tmode
2764  ret等于mkdir_rdt_prepare(parent_kn, prgrp_kn, name, mode, RDTMON_GROUP, & rdtgrp)
2766  如果ret则返回:ret
2769  prgrp等于parent
2770  closid等于closid
2776  添加链表项
2778  rdtgroup_kn_unlock(parent_kn)
2779  返回:ret
调用者
名称描述
rdtgroup_mkdir