函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c |
Create Date:2022-07-27 09:12:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:rdtgroup_setup_root
函数原型:static int __init rdtgroup_setup_root(void)
返回类型:int
参数:无
3040 | rdt_root等于kernfs_create_root( & rdtgroup_kf_syscall_ops, KERNFS_ROOT_CREATE_DEACTIVATED | KERNFS_ROOT_EXTRA_OPEN_PERM_CHECK, & rdtgroup_default) |
3047 | mutex_lock( & Mutex to protect rdtgroup access. ) |
3049 | closid等于0 |
3050 | rmid等于0 |
3051 | type等于RDTCTRL_GROUP |
3052 | 初始化链表头 |
3054 | 添加链表项 |
3056 | ret等于rdtgroup_add_files( published fields , RF_CTRL_BASE) |
3057 | 如果ret则 |
3058 | kernfs_destroy_root(rdt_root) |
3059 | 转到:out |
3062 | kn等于 published fields |
3063 | kernfs_activate(kn) |
3065 | out : |
3068 | 返回:ret |
名称 | 描述 |
---|---|
rdtgroup_init | dtgroup_init - rdtgroup initialization* Setup resctrl file system including set up root, create mount point,* register rdtgroup filesystem, and initialize files under root directory.* Return: 0 on success or -errno |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |