Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:smp_call_on_cpu_callback

Proto:static void smp_call_on_cpu_callback(struct work_struct *work)

Type:void

Parameter:

TypeParameterName
struct work_struct *work
790  sscs = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(work, structsmp_call_on_cpu_struct, work)
791  If cpu >= 0 Then hypervisor_pin_vcpu(cpu)
793  ret = func(data)
794  If cpu >= 0 Then hypervisor_pin_vcpu( - 1)
797  mplete: - signals a single thread waiting on this completion*@x: holds the state of this particular completion* This will wake up a single thread waiting on this completion. Threads will be* awakened in the same order in which they were queued.