函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c |
Create Date:2022-07-27 09:10:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:set uid and gid of rdtgroup dirs and files to that of the creator
函数原型:static int rdtgroup_kn_set_ugid(struct kernfs_node *kn)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kernfs_node * | kn |
191 | struct iattr iattr = {ia_valid = ATTR_UID | ATTR_GID, ia_uid = current_fsuid(), ia_gid = current_fsgid(), } |
195 | 如果uid_eq(ia_uid, GLOBAL_ROOT_UID)且gid_eq(ia_gid, GLOBAL_ROOT_GID)则返回:0 |
199 | 返回:kernfs_setattr(kn, & iattr) |
名称 | 描述 |
---|---|
rdtgroup_add_file | |
rdtgroup_mkdir_info_resdir | |
rdtgroup_create_info_dir | |
mongroup_create_dir | |
mon_addfile | |
mkdir_mondata_subdir | |
mkdir_rdt_prepare |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |