函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pology_phys_to_logical_die - Map a physical die id to logical* Returns logical die id or -1 if not found

函数原型:int topology_phys_to_logical_die(unsigned int die_id, unsigned int cur_cpu)

返回类型:int

参数:

类型参数名称
unsigned intdie_id
unsigned intcur_cpu
310  proc_id等于phys_proc_id
312  遍历可用CPU(cpu)
313  c等于cpu_data(cpu)
315  如果initializedcpu_die_id恒等于die_idPhysical processor id: 恒等于proc_id则返回:logical_die_id
319  返回:负1
调用者
名称描述
topology_update_die_mappology_update_die_map - Update the physical to logical die map*@die: The die id as retrieved via CPUID*@cpu: The cpu for which this is updated