Home
last modified time | relevance | path

Searched refs:sscs (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/kernel/
Dsmp.c788 struct smp_call_on_cpu_struct *sscs; in smp_call_on_cpu_callback() local
790 sscs = container_of(work, struct smp_call_on_cpu_struct, work); in smp_call_on_cpu_callback()
791 if (sscs->cpu >= 0) in smp_call_on_cpu_callback()
792 hypervisor_pin_vcpu(sscs->cpu); in smp_call_on_cpu_callback()
793 sscs->ret = sscs->func(sscs->data); in smp_call_on_cpu_callback()
794 if (sscs->cpu >= 0) in smp_call_on_cpu_callback()
797 complete(&sscs->done); in smp_call_on_cpu_callback()
802 struct smp_call_on_cpu_struct sscs = { in smp_call_on_cpu() local
803 .done = COMPLETION_INITIALIZER_ONSTACK(sscs.done), in smp_call_on_cpu()
809 INIT_WORK_ONSTACK(&sscs.work, smp_call_on_cpu_callback); in smp_call_on_cpu()
[all …]