| Function report | 
| Source Code: arch\x86\kernel\cpu\resctrl\rdtgroup.c | Create Date:2022-07-28 08:11:39 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:rdtgroup_kn_lock_live
Proto:struct rdtgroup *rdtgroup_kn_lock_live(struct kernfs_node *kn)
Type:struct rdtgroup
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct kernfs_node * | kn | 
| 1887 | If Not rdtgrp Then Return NULL | 
| 1890 | atomic_inc( & waitcount) | 
| 1893 | mutex_lock( & Mutex to protect rdtgroup access. ) | 
| 1896 | If flags & dtgroup.flags Then Return NULL | 
| 1899 | Return rdtgrp | 
| Name | Describe | 
|---|---|
| rdtgroup_cpus_show | |
| rdtgroup_cpus_write | |
| rdtgroup_tasks_write | |
| rdtgroup_tasks_show | |
| rdtgroup_mode_show | dtgroup_mode_show - Display mode of this resource group | 
| rdtgroup_mode_write | dtgroup_mode_write - Modify the resource group's mode | 
| rdtgroup_size_show | dtgroup_size_show - Display size in bytes of allocated regions* The "size" file mirrors the layout of the "schemata" file, printing the* size in bytes of each region instead of the capacity bitmask. | 
| mkdir_rdt_prepare | |
| rdtgroup_rmdir | |
| rdtgroup_schemata_write | |
| rdtgroup_schemata_show | |
| rdtgroup_mondata_show | 
| 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 |