函数逻辑报告

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_machine

函数原型:static inline int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus)

返回类型:int

参数:

类型参数名称
cpu_stop_fn_tfn
void *data
const struct cpumask *cpus
156  返回:stop_machine "Bogolock": stop the entire machine, disable* interrupts. This is a very heavy lock, which is equivalent to* grabbing every spinlock (and more). So the "read" side to such a* lock is anything which disables preemption.
调用者
名称描述
set_mtrr
timekeeping_notifymekeeping_notify - Install a new clock source*@clock: pointer to the clock source* This function is called from clocksource.c after a new, better clock* source has been registered. The caller holds the clocksource_mutex.
stop_machine_from_inactive_cpu