Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:stop_one_cpu_nowait - stop a cpu but don't wait for completion*@cpu: cpu to stop*@fn: function to execute*@arg: argument to @fn*@work_buf: pointer to cpu_stop_work structure* Similar to stop_one_cpu() but doesn't wait for completion

Proto:bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, struct cpu_stop_work *work_buf)

Type:bool

Parameter:

TypeParameterName
unsigned intcpu
cpu_stop_fn_tfn
void *arg
struct cpu_stop_work *work_buf
370  * work_buf = (struct cpu_stop_work){fn = fn, arg = arg, }
371  Return queue @work to @stopper. if offline, @work is completed immediately