函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:map_gru_distributed

函数原型:static __init void map_gru_distributed(unsigned long c)

返回类型:void

参数:

类型参数名称
unsigned longc
807  v等于c
810  gru_dist_base等于v按位与0x000007fff0000000UL
811  如果非gru_dist_base
812  打印信息("UV: Map GRU_DIST base address NULL\n")
813  返回
816  bytes等于1UL左移s_uv4_hub
817  gru_dist_lmask等于1UL左移m_val位的值减1按位与bytes减1的差的反
818  gru_dist_umask等于1UL左移m_val位的值减1的差的反
819  gru_dist_base与等于gru_dist_lmask
821  for_each_online_node(nid)
822  paddr等于Convert a linux node number to the PNODE of the blade 左移m_val位按位或gru_dist_base
824  init_extra_mapping_wb(paddr, bytes)
825  gru_first_node_paddr等于两数取小(paddr, gru_first_node_paddr)
826  gru_last_node_paddr等于两数取大(paddr, gru_last_node_paddr)
830  gru_first_node_paddr与等于gru_dist_umask
831  gru_last_node_paddr与等于gru_dist_umask
833  pr_debug("UV: Map GRU_DIST base 0x%016llx 0x%016llx - 0x%016llx\n", gru_dist_base, gru_first_node_paddr, gru_last_node_paddr)
调用者
名称描述
map_gru_high