函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\vmstat.h Create Date:2022-07-27 06:44:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:zone_numa_state_snapshot

函数原型:static inline unsigned long zone_numa_state_snapshot(struct zone *zone, enum numa_stat_item item)

返回类型:unsigned long

参数:

类型参数名称
struct zone *zone
enum numa_stat_itemitem
159  x等于atomic_long_read( & vm_numa_stat[item])
162  遍历在线CPU(cpu)
163  x += ({
163  ({
163  循环
163  const void * __vpp_verify = NULL
163  当0循环
163  })
163  })->vm_numa_stat_diff[item]
165  返回:x
调用者
名称描述
sum_zone_numa_stateDetermine the per node value of a numa stat item. To avoid deviation,* the per cpu stat number in vm_numa_stat_diff[] is also included.
zoneinfo_show_print