Function report |
Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c |
Create Date:2022-07-28 08:12:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rdtgroup_rmdir
Proto:static int rdtgroup_rmdir(struct kernfs_node *kn)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kernfs_node * | kn |
2978 | ret = 0 |
2980 | If Not zalloc_cpumask_var( & tmpmask, GFP_KERNEL) Then Return -ENOMEM |
2983 | rdtgrp = rdtgroup_kn_lock_live(kn) |
2984 | If Not rdtgrp Then |
2996 | If type == RDTCTRL_GROUP && parent_kn == kn Then |
2997 | If mode == RDT_MODE_PSEUDO_LOCKSETUP || mode == RDT_MODE_PSEUDO_LOCKED Then |
2999 | ret = rdtgroup_ctrl_remove(kn, rdtgrp) |
3000 | Else |
3001 | ret = rdtgroup_rmdir_ctrl(kn, rdtgrp, tmpmask) |
3005 | ret = rdtgroup_rmdir_mon(kn, rdtgrp, tmpmask) |
3006 | Else |
3010 | out : |
3011 | rdtgroup_kn_unlock(kn) |
3012 | free_cpumask_var(tmpmask) |
3013 | Return ret |
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 |