Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\smp.c Create Date:2022-07-28 10:55:42
Last Modify:2020-03-17 15:12:54 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:smpcfd_prepare_cpu

Proto:int smpcfd_prepare_cpu(unsigned int cpu)

Type:int

Parameter:

TypeParameterName
unsigned intcpu
45  cfd = per_cpu(cfd_data, cpu)
47  If Not zalloc_cpumask_var_node( & cpumask, GFP_KERNEL, cpu_to_node(cpu)) Then Return -ENOMEM
50  If Not zalloc_cpumask_var_node( & cpumask_ipi, GFP_KERNEL, cpu_to_node(cpu)) Then
52  free_cpumask_var(cpumask)
53  Return -ENOMEM
55  csd = alloc_percpu(call_single_data_t)
56  If Not csd Then
57  free_cpumask_var(cpumask)
58  free_cpumask_var(cpumask_ipi)
59  Return -ENOMEM
62  Return 0
Caller
NameDescribe
call_function_init