函数逻辑报告

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_pkg - Map a physical package id to a logical* Returns logical package id or -1 if not found

函数原型:int topology_phys_to_logical_pkg(unsigned int phys_pkg)

返回类型:int

参数:

类型参数名称
unsigned intphys_pkg
293  遍历可用CPU(cpu)
294  c等于cpu_data(cpu)
296  如果initializedPhysical processor id: 恒等于phys_pkg则返回:Logical processor id:
299  返回:负1
调用者
名称描述
topology_update_package_mappology_update_package_map - Update the physical to logical package map*@pkg: The physical package id as retrieved via CPUID*@cpu: The cpu for which this is updated