Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dmm_inline.h27 enum lru_list lru, enum zone_type zid, in __update_lru_size() argument
33 __mod_zone_page_state(&pgdat->node_zones[zid], in __update_lru_size()
38 enum lru_list lru, enum zone_type zid, in update_lru_size() argument
41 __update_lru_size(lruvec, lru, zid, nr_pages); in update_lru_size()
43 mem_cgroup_update_lru_size(lruvec, lru, zid, nr_pages); in update_lru_size()
Dmemcontrol.h497 int zid, int nr_pages);
507 int zid; in mem_cgroup_get_lru_size() local
510 for (zid = 0; zid < MAX_NR_ZONES; zid++) in mem_cgroup_get_lru_size()
511 nr_pages += mz->lru_zone_size[zid][lru]; in mem_cgroup_get_lru_size()
Dvmstat.h125 #define __count_zid_vm_events(item, zid, delta) \ argument
126 __count_vm_events(item##_NORMAL - ZONE_NORMAL + zid, delta)
/Linux-v4.19/include/trace/events/
Dvmscan.h60 TP_PROTO(int nid, int zid, int order),
62 TP_ARGS(nid, zid, order),
66 __field( int, zid )
72 __entry->zid = zid;
76 TP_printk("nid=%d zid=%d order=%d", __entry->nid, __entry->zid, __entry->order)
81 TP_PROTO(int nid, int zid, int order, gfp_t gfp_flags),
83 TP_ARGS(nid, zid, order, gfp_flags),
87 __field( int, zid )
94 __entry->zid = zid;
101 __entry->zid,
/Linux-v4.19/mm/
Dvmscan.c341 int zid; in lruvec_lru_size() local
348 for (zid = zone_idx + 1; zid < MAX_NR_ZONES; zid++) { in lruvec_lru_size()
349 struct zone *zone = &lruvec_pgdat(lruvec)->node_zones[zid]; in lruvec_lru_size()
356 size = mem_cgroup_get_zone_lru_size(lruvec, lru, zid); in lruvec_lru_size()
358 size = zone_page_state(&lruvec_pgdat(lruvec)->node_zones[zid], in lruvec_lru_size()
1621 int zid; in update_lru_sizes() local
1623 for (zid = 0; zid < MAX_NR_ZONES; zid++) { in update_lru_sizes()
1624 if (!nr_zone_taken[zid]) in update_lru_sizes()
1627 __update_lru_size(lruvec, lru, zid, -nr_zone_taken[zid]); in update_lru_sizes()
1629 mem_cgroup_update_lru_size(lruvec, lru, zid, -nr_zone_taken[zid]); in update_lru_sizes()
[all …]
Dpage_alloc.c1192 int nid, zid; in init_reserved_page() local
1200 for (zid = 0; zid < MAX_NR_ZONES; zid++) { in init_reserved_page()
1201 struct zone *zone = &pgdat->node_zones[zid]; in init_reserved_page()
1206 __init_single_page(pfn_to_page(pfn), pfn, zid, nid); in init_reserved_page()
1476 static void __init deferred_free_pages(int nid, int zid, unsigned long pfn, in deferred_free_pages() argument
1504 static unsigned long __init deferred_init_pages(int nid, int zid, in deferred_init_pages() argument
1523 __init_single_page(page, pfn, zid, nid); in deferred_init_pages()
1538 int zid; in deferred_init_memmap() local
1561 for (zid = 0; zid < MAX_NR_ZONES; zid++) { in deferred_init_memmap()
1562 zone = pgdat->node_zones + zid; in deferred_init_memmap()
[all …]
Dmemory_hotplug.c822 int zid; in default_kernel_zone_for_pfn() local
824 for (zid = 0; zid <= ZONE_NORMAL; zid++) { in default_kernel_zone_for_pfn()
825 struct zone *zone = &pgdat->node_zones[zid]; in default_kernel_zone_for_pfn()
Dvmstat.c1530 int zid; in is_zone_first_populated() local
1532 for (zid = 0; zid < MAX_NR_ZONES; zid++) { in is_zone_first_populated()
1533 struct zone *compare = &pgdat->node_zones[zid]; in is_zone_first_populated()
Dmemcontrol.c1144 int zid, int nr_pages) in mem_cgroup_update_lru_size() argument
1154 lru_size = &mz->lru_zone_size[zid][lru]; in mem_cgroup_update_lru_size()
/Linux-v4.19/drivers/md/
Ddm-zoned-metadata.c2347 unsigned int i, zid; in dmz_ctr_metadata() local
2388 zid = dmz_id(zmd, zmd->sb_zone); in dmz_ctr_metadata()
2390 zone = dmz_get(zmd, zid + i); in dmz_ctr_metadata()