函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:stop_one_cpu_nowait

函数原型:static inline 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
74  如果cpu恒等于当前cpu ID()则
75  INIT_WORK( & work, stop_one_cpu_nowait_workfn)
76  fn等于fn
77  arg等于arg
78  schedule_work - put work task in global workqueue*@work: job to be done* Returns %false if @work was already on the kernel-global workqueue and* %true otherwise
79  返回:true
82  返回:false