函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rdtgroup_add_file

函数原型:static int rdtgroup_add_file(struct kernfs_node *parent_kn, struct rftype *rft)

返回类型:int

参数:

类型参数名称
struct kernfs_node *parent_kn
struct rftype *rft
207  kn等于__kernfs_create_file(parent_kn, name, mode, GLOBAL_ROOT_UID, GLOBAL_ROOT_GID, 0, kf_ops, rft, NULL, NULL)
210  如果是错误则返回:错误
213  ret等于set uid and gid of rdtgroup dirs and files to that of the creator
214  如果ret
215  kernfs_remove(kn)
216  返回:ret
219  返回:0
调用者
名称描述
rdtgroup_add_files