函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:smp_call_function_single

函数原型:int smp_call_function_single(int cpu, void (*func)(void *info), void *info, int wait)

返回类型:int

参数:

类型参数名称
intcpu
void (*func
void *info
intwait
17  WARN_ON(cpu != 0)
19  local_irq_save(flags)
20  func(info)
21  local_irq_restore(flags)
23  返回:0
调用者
名称描述
populate_cache_leaves
aperfmperf_snapshot_cpu
arch_freq_get_on_cpu
store_interrupt_enable
store_threshold_limit
mtrr_save_stateSave current fixed-range MTRR state of the first cpu in cpu_online_mask.
collect_cpu_info_on_target
apply_microcode_on_target
print_local_APICs
clockevents_unbindIssues smp function call to unbind a per cpu device. Called with* clockevents_mutex held.
smp_call_function_anysmp_call_function_any - Run a function on any of the given cpus*@mask: The mask of cpus it can run on.*@func: The function to run. This must be fast and non-blocking.*@info: An arbitrary pointer to pass to the function.
smp_call_function_manysmp_call_function_many(): Run a function on a set of other CPUs
on_each_cpu_cond_mask_each_cpu_cond(): Call a function on each processor for which* the supplied function cond_func returns true, optionally waiting* for all the required CPUs to finish
relay_late_setup_fileslay_late_setup_files - triggers file creation*@chan: channel to operate on*@base_filename: base name of files to create*@parent: dentry of parent directory, %NULL for root directory* Returns 0 if successful, non-zero otherwise
task_function_callask_function_call - call a function on the cpu on which a task runs*@p: the task to evaluate*@func: the function to be called*@info: the function call argument* Calls the function @func when the task is currently running
cpu_function_callpu_function_call - call a function on the cpu*@func: the function to be called*@info: the function call argument* Calls the function @func on the remote cpu.* returns: @func return value or -ENXIO when the cpu is offline
perf_event_read
perf_event_exit_cpu_context