Function report |
Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c |
Create Date:2022-07-28 08:12:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rdtgroup_setup_root
Proto:static int __init rdtgroup_setup_root(void)
Type:int
Parameter:Nothing
| 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 |
| 3056 | ret = rdtgroup_add_files( published fields , RF_CTRL_BASE) |
| 3057 | If ret Then |
| 3058 | kernfs_destroy_root(rdt_root) |
| 3059 | Go to out |
| 3062 | kn = published fields |
| 3063 | kernfs_activate(kn) |
| 3065 | out : |
| 3068 | Return ret |
| Name | Describe |
|---|---|
| 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |