Lines Matching refs:pgdat
98 pg_data_t *pgdat = NODE_DATA(nid); in si_meminfo_node() local
101 managed_pages += zone_managed_pages(&pgdat->node_zones[zone_type]); in si_meminfo_node()
103 val->sharedram = node_page_state(pgdat, NR_SHMEM); in si_meminfo_node()
107 struct zone *zone = &pgdat->node_zones[zone_type]; in si_meminfo_node()
171 static bool node_has_managed_zones(pg_data_t *pgdat, int max_zone_idx) in node_has_managed_zones() argument
175 if (zone_managed_pages(pgdat->node_zones + zone_idx)) in node_has_managed_zones()
194 pg_data_t *pgdat; in show_free_areas() local
235 for_each_online_pgdat(pgdat) { in show_free_areas()
236 if (show_mem_node_skip(filter, pgdat->node_id, nodemask)) in show_free_areas()
238 if (!node_has_managed_zones(pgdat, max_zone_idx)) in show_free_areas()
267 pgdat->node_id, in show_free_areas()
268 K(node_page_state(pgdat, NR_ACTIVE_ANON)), in show_free_areas()
269 K(node_page_state(pgdat, NR_INACTIVE_ANON)), in show_free_areas()
270 K(node_page_state(pgdat, NR_ACTIVE_FILE)), in show_free_areas()
271 K(node_page_state(pgdat, NR_INACTIVE_FILE)), in show_free_areas()
272 K(node_page_state(pgdat, NR_UNEVICTABLE)), in show_free_areas()
273 K(node_page_state(pgdat, NR_ISOLATED_ANON)), in show_free_areas()
274 K(node_page_state(pgdat, NR_ISOLATED_FILE)), in show_free_areas()
275 K(node_page_state(pgdat, NR_FILE_MAPPED)), in show_free_areas()
276 K(node_page_state(pgdat, NR_FILE_DIRTY)), in show_free_areas()
277 K(node_page_state(pgdat, NR_WRITEBACK)), in show_free_areas()
278 K(node_page_state(pgdat, NR_SHMEM)), in show_free_areas()
280 K(node_page_state(pgdat, NR_SHMEM_THPS)), in show_free_areas()
281 K(node_page_state(pgdat, NR_SHMEM_PMDMAPPED)), in show_free_areas()
282 K(node_page_state(pgdat, NR_ANON_THPS)), in show_free_areas()
284 K(node_page_state(pgdat, NR_WRITEBACK_TEMP)), in show_free_areas()
285 node_page_state(pgdat, NR_KERNEL_STACK_KB), in show_free_areas()
287 node_page_state(pgdat, NR_KERNEL_SCS_KB), in show_free_areas()
289 K(node_page_state(pgdat, NR_PAGETABLE)), in show_free_areas()
290 K(node_page_state(pgdat, NR_SECONDARY_PAGETABLE)), in show_free_areas()
291 pgdat->kswapd_failures >= MAX_RECLAIM_RETRIES ? in show_free_areas()