Home
last modified time | relevance | path

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

/linux-6.1.9/include/trace/events/
Dcompaction.h191 __field(enum zone_type, idx)
236 __field(enum zone_type, idx)
301 TP_PROTO(int nid, int order, enum zone_type highest_zoneidx),
308 __field(enum zone_type, highest_zoneidx)
329 TP_PROTO(int nid, int order, enum zone_type highest_zoneidx),
336 TP_PROTO(int nid, int order, enum zone_type highest_zoneidx),
/linux-6.1.9/include/linux/
Dmmzone.h610 enum zone_type { enum
973 static inline enum zone_type page_zonenum(const struct page *page) in page_zonenum()
979 static inline enum zone_type folio_zonenum(const struct folio *folio) in folio_zonenum()
1153 enum zone_type kswapd_highest_zoneidx;
1159 enum zone_type kcompactd_highest_zoneidx;
1249 enum zone_type highest_zoneidx);
1342 static inline int is_highmem_idx(enum zone_type idx) in is_highmem_idx()
1457 enum zone_type highest_zoneidx,
1476 enum zone_type highest_zoneidx, in next_zones_zonelist()
1502 enum zone_type highest_zoneidx, in first_zones_zonelist()
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);
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.h1634 static inline void set_page_zone(struct page *page, enum zone_type zone) in set_page_zone()
1646 static inline void set_page_links(struct page *page, enum zone_type zone, in set_page_links()
/linux-6.1.9/mm/
Dpage_alloc.c4810 enum zone_type highest_zoneidx = ac->highest_zoneidx; in wake_all_kswapds()
5995 int zone_type; /* needs to be signed */ in si_meminfo_node() local
6001 for (zone_type = 0; zone_type < MAX_NR_ZONES; zone_type++) in si_meminfo_node()
6002 managed_pages += zone_managed_pages(&pgdat->node_zones[zone_type]); in si_meminfo_node()
6007 for (zone_type = 0; zone_type < MAX_NR_ZONES; zone_type++) { in si_meminfo_node()
6008 struct zone *zone = &pgdat->node_zones[zone_type]; in si_meminfo_node()
6320 enum zone_type zone_type = MAX_NR_ZONES; in build_zonerefs_node() local
6324 zone_type--; in build_zonerefs_node()
6325 zone = pgdat->node_zones + zone_type; in build_zonerefs_node()
6328 check_highest_zone(zone_type); in build_zonerefs_node()
[all …]
Dmmzone.c57 enum zone_type highest_zoneidx, in __next_zones_zonelist()
Dmempolicy.c121 enum zone_type policy_zone = 0;
1822 bool apply_policy_zone(struct mempolicy *policy, enum zone_type zone) in apply_policy_zone()
1824 enum zone_type dynamic_policy_zone = policy_zone; in apply_policy_zone()
1935 enum zone_type highest_zoneidx = gfp_zone(GFP_KERNEL); in mempolicy_slab_node()
Dinternal.h227 enum zone_type highest_zoneidx;
Doom_kill.c255 enum zone_type highest_zoneidx = gfp_zone(oc->gfp_mask); in constrained_alloc()
Dvmscan.c7207 static enum zone_type kswapd_highest_zoneidx(pg_data_t *pgdat, in kswapd_highest_zoneidx()
7208 enum zone_type prev_highest_zoneidx) in kswapd_highest_zoneidx()
7210 enum zone_type curr_idx = READ_ONCE(pgdat->kswapd_highest_zoneidx); in kswapd_highest_zoneidx()
7399 enum zone_type highest_zoneidx) in wakeup_kswapd()
7402 enum zone_type curr_idx; in wakeup_kswapd()
Dmemory_hotplug.c1739 enum zone_type zt; in node_states_check_changes_offline()
Dcompaction.c2798 enum zone_type highest_zoneidx = pgdat->kcompactd_highest_zoneidx; in kcompactd_node_suitable()
Dslab.c3075 enum zone_type highest_zoneidx = gfp_zone(flags); in fallback_alloc()
Dslub.c2260 enum zone_type highest_zoneidx = gfp_zone(pc->flags); in get_any_partial()
/linux-6.1.9/tools/testing/memblock/linux/
Dmmzone.h15 enum zone_type { enum
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c1841 int zone_type; in kfd_fill_mem_info_for_cpu() local
1861 for (zone_type = 0; zone_type < MAX_NR_ZONES; zone_type++) in kfd_fill_mem_info_for_cpu()
1862 mem_in_bytes += zone_managed_pages(&pgdat->node_zones[zone_type]); in kfd_fill_mem_info_for_cpu()