Searched refs:zone_idx (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/include/trace/events/ |
D | oom.h | 46 __field( int, zone_idx) 57 __entry->zone_idx = zoneref->zone_idx; 67 __entry->node, __print_symbolic(__entry->zone_idx, ZONE_TYPE),
|
D | compaction.h | 214 __entry->idx = zone_idx(zone); 261 __entry->idx = zone_idx(zone);
|
/Linux-v5.4/include/linux/ |
D | mmzone.h | 656 int zone_idx; /* zone_idx(zoneref->zone) */ member 842 extern unsigned long lruvec_lru_size(struct lruvec *lruvec, enum lru_list lru, int zone_idx); 865 #define zone_idx(zone) ((zone) - (zone)->zone_pgdat->node_zones) macro 935 return is_highmem_idx(zone_idx(zone)); in is_highmem() 1015 return zoneref->zone_idx; in zonelist_zone_idx()
|
D | migrate.h | 50 if (PageHighMem(page) || (zone_idx(page_zone(page)) == ZONE_MOVABLE)) in new_page_nodemask()
|
D | memcontrol.h | 541 enum lru_list lru, int zone_idx) in mem_cgroup_get_zone_lru_size() argument 546 return mz->lru_zone_size[zone_idx][lru]; in mem_cgroup_get_zone_lru_size() 982 enum lru_list lru, int zone_idx) in mem_cgroup_get_zone_lru_size() argument
|
/Linux-v5.4/mm/ |
D | memory_hotplug.c | 480 if (zone_idx(zone) == ZONE_DEVICE) in __remove_zone() 650 if (zone_idx(zone) <= ZONE_NORMAL && !node_state(nid, N_NORMAL_MEMORY)) in node_states_check_changes_online() 653 if (zone_idx(zone) <= ZONE_HIGHMEM && !node_state(nid, N_HIGH_MEMORY)) in node_states_check_changes_online() 722 memmap_init_zone(nr_pages, nid, zone_idx(zone), start_pfn, in move_pfn_range_to_zone() 1436 if (zone_idx(zone) <= ZONE_NORMAL && nr_pages >= present_pages) in node_states_check_changes_offline() 1449 if (zone_idx(zone) <= ZONE_HIGHMEM && nr_pages >= present_pages) in node_states_check_changes_offline()
|
D | page_alloc.c | 1670 int zid = zone_idx(zone); in deferred_init_pages() 3310 wakeup_kswapd(zone, 0, 0, zone_idx(zone)); in rmqueue() 3558 if (zone_idx(zone) != ZONE_NORMAL) in alloc_flags_nofragment() 5443 zoneref->zone_idx = zone_idx(zone); in zoneref_set_zone() 5606 zonerefs->zone_idx = 0; in build_zonelists_in_node_order() 5621 zonerefs->zone_idx = 0; in build_thisnode_zonelists() 5720 zonerefs->zone_idx = 0; in build_zonelists() 5956 unsigned long zone_idx = zone_idx(zone); in memmap_init_zone_device() local 5960 if (WARN_ON_ONCE(!pgmap || zone_idx(zone) != ZONE_DEVICE)) in memmap_init_zone_device() 5976 __init_single_page(page, pfn, zone_idx, nid); in memmap_init_zone_device() [all …]
|
D | vmscan.c | 352 unsigned long lruvec_lru_size(struct lruvec *lruvec, enum lru_list lru, int zone_idx) in lruvec_lru_size() argument 363 for (zid = zone_idx + 1; zid < MAX_NR_ZONES; zid++) { in lruvec_lru_size() 3217 if (zone_idx(zone) > ZONE_NORMAL) in throttle_direct_reclaim()
|
D | khugepaged.c | 2134 if (zone_idx(zone) > gfp_zone(GFP_USER)) in set_recommended_min_free_kbytes()
|