函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\ipi.c Create Date:2022-07-27 09:27:30
Last Modify:2020-03-16 21:22:25 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:safe_smp_processor_id

函数原型:int safe_smp_processor_id(void)

返回类型:int

参数:

319  如果非boot_cpu_has(Onboard APIC )则返回:0
322  apicid等于hard_smp_processor_id()
323  如果apicid恒等于BAD_APICID则返回:0
326  cpuid等于must come after the send_IPI functions above for inlining
328  返回:如果cpuid大于等于0则cpuid否则0
调用者
名称描述
native_stop_other_cpus
native_machine_crash_shutdown