函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\stop_machine.c Create Date:2022-07-27 12:23:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, struct cpu_stop_work *work_buf)

返回类型:bool

参数:

类型参数名称
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  返回:queue @work to @stopper. if offline, @work is completed immediately