Home
last modified time | relevance | path

Searched refs:zonelist (Results 1 - 25 of 32) sorted by relevance

12

/kernel/linux/linux-6.6/include/linux/
H A Doom.h13 struct zonelist;
31 struct zonelist *zonelist; member
H A Dmmzone.h1203 /* Maximum number of zones on a zonelist */
1207 ZONELIST_FALLBACK, /* zonelist with fallback */
1213 ZONELIST_NOFALLBACK, /* zonelist without fallback (__GFP_THISNODE) */
1219 * This struct contains information about a zone in a zonelist. It is stored
1228 * One allocation request operates on a zonelist. A zonelist
1233 * To speed the reading of the zonelist, the zonerefs contain the zone index
1241 struct zonelist { struct
1306 struct zonelist node_zonelists[MAX_ZONELISTS];
1661 * next_zones_zonelist - Returns the next zone at or below highest_zoneidx within the allowed nodemask using a cursor within a zonelist a
1701 first_zones_zonelist(struct zonelist *zonelist, enum zone_type highest_zoneidx, nodemask_t *nodes) first_zones_zonelist() argument
1748 struct zonelist *zonelist; movable_only_nodes() local
[all...]
H A Dswap.h404 extern unsigned long try_to_free_pages(struct zonelist *zonelist, int order,
H A Dgfp.h166 * one containing just zones from the node the zonelist belongs to.
171 static inline struct zonelist *node_zonelist(int nid, gfp_t flags) in node_zonelist()
/kernel/linux/linux-5.10/include/linux/
H A Doom.h13 struct zonelist;
31 struct zonelist *zonelist; member
H A Dmmzone.h674 /* Maximum number of zones on a zonelist */
678 ZONELIST_FALLBACK, /* zonelist with fallback */
684 ZONELIST_NOFALLBACK, /* zonelist without fallback (__GFP_THISNODE) */
690 * This struct contains information about a zone in a zonelist. It is stored
699 * One allocation request operates on a zonelist. A zonelist
704 * To speed the reading of the zonelist, the zonerefs contain the zone index
712 struct zonelist { struct
750 struct zonelist node_zonelists[MAX_ZONELISTS];
1100 * next_zones_zonelist - Returns the next zone at or below highest_zoneidx within the allowed nodemask using a cursor within a zonelist a
1136 first_zones_zonelist(struct zonelist *zonelist, enum zone_type highest_zoneidx, nodemask_t *nodes) first_zones_zonelist() argument
[all...]
H A Dswap.h359 extern unsigned long try_to_free_pages(struct zonelist *zonelist, int order,
H A Dgfp.h492 * one containing just zones from the node the zonelist belongs to.
497 static inline struct zonelist *node_zonelist(int nid, gfp_t flags) in node_zonelist()
/kernel/linux/linux-5.10/mm/
H A Dmm_init.c38 struct zonelist *zonelist; in mminit_verify_zonelist() local
47 zonelist = &pgdat->node_zonelists[listid]; in mminit_verify_zonelist()
52 /* Print information about the zonelist */ in mminit_verify_zonelist()
53 printk(KERN_DEBUG "mminit::zonelist %s %d:%s = ", in mminit_verify_zonelist()
57 /* Iterate the zonelist */ in mminit_verify_zonelist()
58 for_each_zone_zonelist(zone, z, zonelist, zoneid) in mminit_verify_zonelist()
H A Dvmscan.c2888 static void shrink_zones(struct zonelist *zonelist, struct scan_control *sc) in shrink_zones() argument
2908 for_each_zone_zonelist_nodemask(zone, z, zonelist, in shrink_zones()
2936 * Shrink each node in the zonelist once. If the in shrink_zones()
2937 * zonelist is ordered by zone (not the default) then a in shrink_zones()
3013 static unsigned long do_try_to_free_pages(struct zonelist *zonelist, in do_try_to_free_pages() argument
3030 shrink_zones(zonelist, sc); in do_try_to_free_pages()
3047 for_each_zone_zonelist_nodemask(zone, z, zonelist, sc->reclaim_idx, in do_try_to_free_pages()
3150 static bool throttle_direct_reclaim(gfp_t gfp_mask, struct zonelist *zonelis argument
3234 try_to_free_pages(struct zonelist *zonelist, int order, gfp_t gfp_mask, nodemask_t *nodemask) try_to_free_pages() argument
3355 struct zonelist *zonelist = node_zonelist(numa_node_id(), sc.gfp_mask); try_to_free_mem_cgroup_pages() local
4043 struct zonelist *zonelist = node_zonelist(numa_node_id(), sc.gfp_mask); shrink_all_memory() local
[all...]
H A Dpage_alloc.c2687 struct zonelist *zonelist = ac->zonelist; in unreserve_highatomic_pageblock() local
2695 for_each_zone_zonelist_nodemask(zone, z, zonelist, ac->highest_zoneidx, in unreserve_highatomic_pageblock()
3825 * get_page_from_freelist goes through the zonelist trying to allocate
3839 * Scan zonelist, looking for a zone with enough free. in get_page_from_freelist()
4047 .zonelist = ac->zonelist, in __alloc_pages_may_oom()
4068 * Go through the zonelist yet one more time, keep very high watermark in __alloc_pages_may_oom()
4296 for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, in should_compact_retry()
5396 struct zonelist *zonelist = node_zonelist(numa_node_id(), GFP_KERNEL); nr_free_zone_pages() local
8859 struct zonelist *zonelist; alloc_contig_pages() local
[all...]
H A Dinternal.h264 * zonelist, preferred_zone and highest_zoneidx are set first in
270 struct zonelist *zonelist; member
H A Doom_kill.c270 if (!oc->zonelist) in constrained_alloc()
294 for_each_zone_zonelist_nodemask(zone, z, oc->zonelist, in constrained_alloc()
H A Dmempolicy.c1942 struct zonelist *zonelist; in mempolicy_slab_node() local
1944 zonelist = &NODE_DATA(node)->node_zonelists[ZONELIST_FALLBACK]; in mempolicy_slab_node()
1945 z = first_zones_zonelist(zonelist, highest_zoneidx, in mempolicy_slab_node()
2010 * @nodemask for filtering the zonelist.
H A Dslab.c3097 struct zonelist *zonelist; in fallback_alloc() local
3111 zonelist = node_zonelist(mempolicy_slab_node(), flags); in fallback_alloc()
3118 for_each_zone_zonelist(zone, z, zonelist, highest_zoneidx) { in fallback_alloc()
H A Dcompaction.c2169 for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, in compaction_zonelist_suitable()
2484 for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, in try_to_compact_pages()
/kernel/linux/linux-6.6/mm/
H A Dpage_alloc.c1931 struct zonelist *zonelist = ac->zonelist; in unreserve_highatomic_pageblock() local
1939 for_each_zone_zonelist_nodemask(zone, z, zonelist, ac->highest_zoneidx, in unreserve_highatomic_pageblock()
3078 * get_page_from_freelist goes through the zonelist trying to allocate
3093 * Scan zonelist, looking for a zone with enough free. in get_page_from_freelist()
3311 .zonelist = ac->zonelist, in __alloc_pages_may_oom()
3332 * Go through the zonelist yet one more time, keep very high watermark in __alloc_pages_may_oom()
3553 for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, in should_compact_retry()
4811 struct zonelist *zonelist = node_zonelist(numa_node_id(), GFP_KERNEL); nr_free_zone_pages() local
6339 struct zonelist *zonelist; alloc_contig_pages() local
[all...]
H A Dvmscan.c6700 static void shrink_zones(struct zonelist *zonelist, struct scan_control *sc) in shrink_zones() argument
6721 for_each_zone_zonelist_nodemask(zone, z, zonelist, in shrink_zones()
6749 * Shrink each node in the zonelist once. If the in shrink_zones()
6750 * zonelist is ordered by zone (not the default) then a in shrink_zones()
6836 static unsigned long do_try_to_free_pages(struct zonelist *zonelist, in do_try_to_free_pages() argument
6854 shrink_zones(zonelist, sc); in do_try_to_free_pages()
6871 for_each_zone_zonelist_nodemask(zone, z, zonelist, sc->reclaim_idx, in do_try_to_free_pages()
6974 static bool throttle_direct_reclaim(gfp_t gfp_mask, struct zonelist *zonelis argument
7054 try_to_free_pages(struct zonelist *zonelist, int order, gfp_t gfp_mask, nodemask_t *nodemask) try_to_free_pages() argument
7176 struct zonelist *zonelist = node_zonelist(numa_node_id(), sc.gfp_mask); try_to_free_mem_cgroup_pages() local
7898 struct zonelist *zonelist = node_zonelist(numa_node_id(), sc.gfp_mask); shrink_all_memory() local
[all...]
H A Doom_kill.c270 if (!oc->zonelist) in constrained_alloc()
294 for_each_zone_zonelist_nodemask(zone, z, oc->zonelist, in constrained_alloc()
H A Dinternal.h378 * zonelist, preferred_zone and highest_zoneidx are set first in
384 struct zonelist *zonelist; member
H A Dmm_init.c51 struct zonelist *zonelist; in mminit_verify_zonelist() local
60 zonelist = &pgdat->node_zonelists[listid]; in mminit_verify_zonelist()
65 /* Print information about the zonelist */ in mminit_verify_zonelist()
66 printk(KERN_DEBUG "mminit::zonelist %s %d:%s = ", in mminit_verify_zonelist()
70 /* Iterate the zonelist */ in mminit_verify_zonelist()
71 for_each_zone_zonelist(zone, z, zonelist, zoneid) in mminit_verify_zonelist()
H A Dmempolicy.c1951 struct zonelist *zonelist; in mempolicy_slab_node() local
1953 zonelist = &NODE_DATA(node)->node_zonelists[ZONELIST_FALLBACK]; in mempolicy_slab_node()
1954 z = first_zones_zonelist(zonelist, highest_zoneidx, in mempolicy_slab_node()
2030 * to the mempolicy's @nodemask for filtering the zonelist.
H A Dslab.c3052 struct zonelist *zonelist; in fallback_alloc() local
3066 zonelist = node_zonelist(mempolicy_slab_node(), flags); in fallback_alloc()
3073 for_each_zone_zonelist(zone, z, zonelist, highest_zoneidx) { in fallback_alloc()
/kernel/linux/linux-5.10/drivers/tty/
H A Dsysrq.c387 .zonelist = node_zonelist(first_memory_node, gfp_mask), in moom_callback()
/kernel/linux/linux-6.6/drivers/tty/
H A Dsysrq.c389 .zonelist = node_zonelist(first_memory_node, gfp_mask), in moom_callback()

Completed in 69 milliseconds

12