Home
last modified time | relevance | path

Searched refs:zid (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/include/trace/events/
H A Dvmscan.h68 TP_PROTO(int nid, int zid, int order),
70 TP_ARGS(nid, zid, order),
74 __field( int, zid )
80 __entry->zid = zid;
91 TP_PROTO(int nid, int zid, int order, gfp_t gfp_flags),
93 TP_ARGS(nid, zid, order, gfp_flags),
97 __field( int, zid )
104 __entry->zid = zid;
/openbmc/linux/include/linux/
H A Dmm_inline.h38 enum lru_list lru, enum zone_type zid, in __update_lru_size() argument
47 __mod_zone_page_state(&pgdat->node_zones[zid], in __update_lru_size()
52 enum lru_list lru, enum zone_type zid, in update_lru_size() argument
55 __update_lru_size(lruvec, lru, zid, nr_pages); in update_lru_size()
57 mem_cgroup_update_lru_size(lruvec, lru, zid, nr_pages); in update_lru_size()
H A Dvmstat.h134 #define __count_zid_vm_events(item, zid, delta) \ argument
135 __count_vm_events(item##_NORMAL - ZONE_NORMAL + zid, delta)
H A Dmemcontrol.h911 int zid, int nr_pages);
/openbmc/linux/mm/
H A Dmm_init.c709 int zid; in init_reserved_page() local
716 for (zid = 0; zid < MAX_NR_ZONES; zid++) { in init_reserved_page()
717 struct zone *zone = &pgdat->node_zones[zid]; in init_reserved_page()
722 __init_single_page(pfn_to_page(pfn), pfn, zid, nid); in init_reserved_page()
2056 int zid = zone_idx(zone); in deferred_init_pages() local
2068 __init_single_page(page, pfn, zid, nid); in deferred_init_pages()
2194 int zid, max_threads; in deferred_init_memmap() local
2222 for (zid = 0; zid < MAX_NR_ZONES; zid++) { in deferred_init_memmap()
2223 zone = pgdat->node_zones + zid; in deferred_init_memmap()
2253 WARN_ON(++zid < MAX_NR_ZONES && populated_zone(++zone)); in deferred_init_memmap()
H A Dvmscan.c658 int zid; in lruvec_lru_size() local
660 for (zid = 0; zid <= zone_idx; zid++) { in lruvec_lru_size()
661 struct zone *zone = &lruvec_pgdat(lruvec)->node_zones[zid]; in lruvec_lru_size()
667 size += mem_cgroup_get_zone_lru_size(lruvec, lru, zid); in lruvec_lru_size()
2253 int zid; in update_lru_sizes() local
2255 for (zid = 0; zid < MAX_NR_ZONES; zid++) { in update_lru_sizes()
2256 if (!nr_zone_taken[zid]) in update_lru_sizes()
2259 update_lru_size(lruvec, lru, zid, -nr_zone_taken[zid]); in update_lru_sizes()
2359 int zid; in isolate_lru_folios() local
2362 for (zid = 0; zid < MAX_NR_ZONES; zid++) { in isolate_lru_folios()
[all …]
H A Dvmstat.c1660 int zid; in is_zone_first_populated() local
1662 for (zid = 0; zid < MAX_NR_ZONES; zid++) { in is_zone_first_populated()
1663 struct zone *compare = &pgdat->node_zones[zid]; in is_zone_first_populated()
H A Dmemory_hotplug.c900 int zid; in default_kernel_zone_for_pfn() local
902 for (zid = 0; zid < ZONE_NORMAL; zid++) { in default_kernel_zone_for_pfn()
903 struct zone *zone = &pgdat->node_zones[zid]; in default_kernel_zone_for_pfn()
H A Dmemcontrol.c1385 int zid, int nr_pages) in mem_cgroup_update_lru_size() argument
1395 lru_size = &mz->lru_zone_size[zid][lru]; in mem_cgroup_update_lru_size()