Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\stop_machine.h Create Date:2022-07-28 05:56:38
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

Proto:static inline 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
74  If cpu == smp_processor_id() Then
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  Return true
82  Return false