Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:reset_all_ctrls

Proto:static int reset_all_ctrls(struct rdt_resource *r)

Type:int

Parameter:

TypeParameterName
struct rdt_resource *r
2118  If Not zalloc_cpumask_var( & cpu_mask, GFP_KERNEL) Then Return -ENOMEM
2121  res = r
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
2136  cpu = get_cpu()
2138  If pumask_test_cpu - test for a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@cpumask: the cpumask pointer* Returns 1 if @cpu is set in @cpumask, else returns 0 Then rdt_ctrl_update( & msr_param)
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
Caller
NameDescribe
rdt_kill_sb