函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\kernfs.h Create Date:2022-07-27 06:45:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kernfs_setattr

函数原型:static inline int kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr)

返回类型:int

参数:

类型参数名称
struct kernfs_node *kn
const struct iattr *iattr
495  返回:负ENOSYS
调用者
名称描述
rdtgroup_kn_set_ugidset uid and gid of rdtgroup dirs and files to that of the creator
rdtgroup_kn_mode_restrictdtgroup_kn_mode_restrict - Restrict user access to named resctrl file*@r: The resource group with which the file is associated.*@name: Name of the file* The permissions of named resctrl file, directory, or link are modified
rdtgroup_kn_mode_restoredtgroup_kn_mode_restore - Restore user access to named resctrl file*@r: The resource group with which the file is associated.*@name: Name of the file*@mask: Mask of permissions that should be restored* Restore the permissions of the named file
cgroup_kn_set_ugidset uid and gid of cgroup dirs and files to that of the creator