函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:show_numa_info

函数原型:static void show_numa_info(struct seq_file *m, struct vm_struct *v)

返回类型:void

参数:

类型参数名称
struct seq_file *m
struct vm_struct *v
3558  如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_NUMA)则
3559  counters等于private
3561  如果非counters则返回
3564  如果flags按位与vm_struct is not fully initialized 则返回
3567  smp_rmb()
3569  memset(counters, 0, nr_node_ids * sizeof(unsignedint))
3571 nr小于nr_pages循环counters[page_to_nid(pages[nr])]自加
3574  for_each_node_state(nr, N_HIGH_MEMORY)
3575  如果counters[nr]则seq_printf(m, " N%u=%u", nr, counters[nr])
调用者
名称描述
s_show