Home
last modified time | relevance | path

Searched refs:zone_type (Results 1 – 21 of 21) sorted by relevance

/linux-6.6.21/mm/
Dshow_mem.c94 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()
Dmm_init.c1117 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 …]
Dmmzone.c57 enum zone_type highest_zoneidx, in __next_zones_zonelist()
Dpage_alloc.c3679 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()
Dmempolicy.c121 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()
Doom_kill.c255 enum zone_type highest_zoneidx = gfp_zone(oc->gfp_mask); in constrained_alloc()
Dinternal.h258 enum zone_type highest_zoneidx;
Dvmscan.c7643 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()
Dmemory_hotplug.c1817 enum zone_type zt; in node_states_check_changes_offline()
Dcompaction.c2915 enum zone_type highest_zoneidx = pgdat->kcompactd_highest_zoneidx; in kcompactd_node_suitable()
Dslab.c3055 enum zone_type highest_zoneidx = gfp_zone(flags); in fallback_alloc()
Dslub.c2339 enum zone_type highest_zoneidx = gfp_zone(pc->flags); in get_any_partial()
/linux-6.6.21/include/trace/events/
Dcompaction.h202 __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/
Dmempolicy.h156 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);
Dmmzone.h719 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()
Dgfp.h129 static inline enum zone_type gfp_zone(gfp_t flags) in gfp_zone()
131 enum zone_type z; in gfp_zone()
Dmm_inline.h38 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()
Dmm.h2009 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/
Dmmzone.h15 enum zone_type { enum
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acpi.c850 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/
Dkfd_crat.c1599 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()