| Function report | 
| Source Code: arch\x86\kernel\cpu\resctrl\rdtgroup.c | Create Date:2022-07-28 08:11:48 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:reset_all_ctrls
Proto:static int reset_all_ctrls(struct rdt_resource *r)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct rdt_resource * | r | 
| 2118 | If Not zalloc_cpumask_var( & cpu_mask, GFP_KERNEL) Then Return -ENOMEM | 
| 2122 | low = 0 | 
| 2123 | high = num_closid | 
| 2131 | pumask_set_cpu - set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer | 
| 2133 | When i < num_closid cycle ctrl_val[i] = default_ctrl | 
| 2141 | smp_call_function_many(cpu_mask, rdt_ctrl_update, & msr_param, 1) | 
| 2142 | put_cpu() | 
| 2144 | free_cpumask_var(cpu_mask) | 
| 2146 | Return 0 | 
| Name | Describe | 
|---|---|
| rdt_kill_sb | 
| 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 |