函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\smp.c Create Date:2022-07-27 11:56:25
Last Modify:2020-03-17 15:12:54 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:smp_call_on_cpu_callback

函数原型:static void smp_call_on_cpu_callback(struct work_struct *work)

返回类型:void

参数:

类型参数名称
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  如果cpu大于等于0则hypervisor_pin_vcpu(cpu)
793  ret等于func(data)
794  如果cpu大于等于0则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.