/linux-6.6.21/mm/ |
D | show_mem.c | 94 int zone_type; /* needs to be signed */ in si_meminfo_node() local 100 for (zone_type = 0; zone_type < MAX_NR_ZONES; zone_type++) in si_meminfo_node() 101 managed_pages += zone_managed_pages(&pgdat->node_zones[zone_type]); in si_meminfo_node() 106 for (zone_type = 0; zone_type < MAX_NR_ZONES; zone_type++) { in si_meminfo_node() 107 struct zone *zone = &pgdat->node_zones[zone_type]; in si_meminfo_node()
|
D | mm_init.c | 1117 unsigned long zone_type, in adjust_zone_range_for_zone_movable() argument 1125 if (zone_type == ZONE_MOVABLE) { in adjust_zone_range_for_zone_movable() 1177 unsigned long zone_type, in zone_absent_pages_in_node() argument 1204 if (zone_type == ZONE_MOVABLE && in zone_absent_pages_in_node() 1208 if (zone_type == ZONE_NORMAL && in zone_absent_pages_in_node() 1222 unsigned long zone_type, in zone_spanned_pages_in_node() argument 1228 unsigned long zone_low = arch_zone_lowest_possible_pfn[zone_type]; in zone_spanned_pages_in_node() 1229 unsigned long zone_high = arch_zone_highest_possible_pfn[zone_type]; in zone_spanned_pages_in_node() 1234 adjust_zone_range_for_zone_movable(nid, zone_type, node_end_pfn, in zone_spanned_pages_in_node() 1272 enum zone_type i; in calculate_node_totalpages() [all …]
|
D | mmzone.c | 57 enum zone_type highest_zoneidx, in __next_zones_zonelist()
|
D | page_alloc.c | 3679 enum zone_type highest_zoneidx = ac->highest_zoneidx; in wake_all_kswapds() 4813 enum zone_type zone_type = MAX_NR_ZONES; in build_zonerefs_node() local 4817 zone_type--; in build_zonerefs_node() 4818 zone = pgdat->node_zones + zone_type; in build_zonerefs_node() 4821 check_highest_zone(zone_type); in build_zonerefs_node() 4823 } while (zone_type); in build_zonerefs_node() 5571 enum zone_type i, j; in calculate_totalreserve_pages() 5611 enum zone_type i, j; in setup_per_zone_lowmem_reserve()
|
D | mempolicy.c | 121 enum zone_type policy_zone = 0; 1839 bool apply_policy_zone(struct mempolicy *policy, enum zone_type zone) in apply_policy_zone() 1841 enum zone_type dynamic_policy_zone = policy_zone; in apply_policy_zone() 1952 enum zone_type highest_zoneidx = gfp_zone(GFP_KERNEL); in mempolicy_slab_node()
|
D | oom_kill.c | 255 enum zone_type highest_zoneidx = gfp_zone(oc->gfp_mask); in constrained_alloc()
|
D | internal.h | 258 enum zone_type highest_zoneidx;
|
D | vmscan.c | 7643 static enum zone_type kswapd_highest_zoneidx(pg_data_t *pgdat, in kswapd_highest_zoneidx() 7644 enum zone_type prev_highest_zoneidx) in kswapd_highest_zoneidx() 7646 enum zone_type curr_idx = READ_ONCE(pgdat->kswapd_highest_zoneidx); in kswapd_highest_zoneidx() 7835 enum zone_type highest_zoneidx) in wakeup_kswapd() 7838 enum zone_type curr_idx; in wakeup_kswapd()
|
D | memory_hotplug.c | 1817 enum zone_type zt; in node_states_check_changes_offline()
|
D | compaction.c | 2915 enum zone_type highest_zoneidx = pgdat->kcompactd_highest_zoneidx; in kcompactd_node_suitable()
|
D | slab.c | 3055 enum zone_type highest_zoneidx = gfp_zone(flags); in fallback_alloc()
|
D | slub.c | 2339 enum zone_type highest_zoneidx = gfp_zone(pc->flags); in get_any_partial()
|
/linux-6.6.21/include/trace/events/ |
D | compaction.h | 202 __field(enum zone_type, idx) 247 __field(enum zone_type, idx) 312 TP_PROTO(int nid, int order, enum zone_type highest_zoneidx), 319 __field(enum zone_type, highest_zoneidx) 340 TP_PROTO(int nid, int order, enum zone_type highest_zoneidx), 347 TP_PROTO(int nid, int order, enum zone_type highest_zoneidx),
|
/linux-6.6.21/include/linux/ |
D | mempolicy.h | 156 extern enum zone_type policy_zone; 158 static inline void check_highest_zone(enum zone_type k) in check_highest_zone() 185 extern bool apply_policy_zone(struct mempolicy *policy, enum zone_type zone);
|
D | mmzone.h | 719 enum zone_type { enum 1087 static inline enum zone_type page_zonenum(const struct page *page) in page_zonenum() 1093 static inline enum zone_type folio_zonenum(const struct folio *folio) in folio_zonenum() 1321 enum zone_type kswapd_highest_zoneidx; 1327 enum zone_type kcompactd_highest_zoneidx; 1422 enum zone_type highest_zoneidx); 1515 static inline int is_highmem_idx(enum zone_type idx) in is_highmem_idx() 1609 enum zone_type highest_zoneidx, 1628 enum zone_type highest_zoneidx, in next_zones_zonelist() 1654 enum zone_type highest_zoneidx, in first_zones_zonelist()
|
D | gfp.h | 129 static inline enum zone_type gfp_zone(gfp_t flags) in gfp_zone() 131 enum zone_type z; in gfp_zone()
|
D | mm_inline.h | 38 enum lru_list lru, enum zone_type zid, in __update_lru_size() 52 enum lru_list lru, enum zone_type zid, in update_lru_size()
|
D | mm.h | 2009 static inline void set_page_zone(struct page *page, enum zone_type zone) in set_page_zone() 2021 static inline void set_page_links(struct page *page, enum zone_type zone, in set_page_links()
|
/linux-6.6.21/tools/testing/memblock/linux/ |
D | mmzone.h | 15 enum zone_type { enum
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_acpi.c | 850 int zone_type; in amdgpu_acpi_get_numa_size() local 855 for (zone_type = 0; zone_type < MAX_NR_ZONES; zone_type++) in amdgpu_acpi_get_numa_size() 857 zone_managed_pages(&pgdat->node_zones[zone_type]); in amdgpu_acpi_get_numa_size()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_crat.c | 1599 int zone_type; in kfd_fill_mem_info_for_cpu() local 1619 for (zone_type = 0; zone_type < MAX_NR_ZONES; zone_type++) in kfd_fill_mem_info_for_cpu() 1620 mem_in_bytes += zone_managed_pages(&pgdat->node_zones[zone_type]); in kfd_fill_mem_info_for_cpu()
|