Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\up.c Create Date:2022-07-28 10:56:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:smp_call_on_cpu

Proto:int smp_call_on_cpu(unsigned int cpu, int (*func)(void *), void *par, bool phys)

Type:int

Parameter:

TypeParameterName
unsigned intcpu
int (*func
void *par
boolphys
99  If cpu != 0 Then Return -ENXIO
102  If phys Then hypervisor_pin_vcpu(0)
104  ret = func(par)
105  If phys Then hypervisor_pin_vcpu( - 1)
108  Return ret