Home
last modified time | relevance | path

Searched refs:highest_zoneidx (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/kernel/include/trace/events/
H A Dcompaction.h317 TP_PROTO(int nid, int order, enum zone_type highest_zoneidx),
319 TP_ARGS(nid, order, highest_zoneidx),
324 __field(enum zone_type, highest_zoneidx)
330 __entry->highest_zoneidx = highest_zoneidx;
340 __print_symbolic(__entry->highest_zoneidx, ZONE_TYPE))
345 TP_PROTO(int nid, int order, enum zone_type highest_zoneidx),
347 TP_ARGS(nid, order, highest_zoneidx)
352 TP_PROTO(int nid, int order, enum zone_type highest_zoneidx),
354 TP_ARGS(nid, order, highest_zoneidx)
H A Dvmscan.h268 TP_PROTO(int highest_zoneidx,
277 TP_ARGS(highest_zoneidx, order, nr_requested, nr_scanned, nr_skipped, nr_taken, isolate_mode, lru),
280 __field(int, highest_zoneidx)
291 __entry->highest_zoneidx = highest_zoneidx;
307 __entry->highest_zoneidx,
/OK3568_Linux_fs/kernel/include/linux/
H A Dcompaction.h101 unsigned int alloc_flags, int highest_zoneidx);
186 extern void wakeup_kcompactd(pg_data_t *pgdat, int order, int highest_zoneidx);
196 int alloc_flags, int highest_zoneidx) in compaction_suitable() argument
239 int order, int highest_zoneidx) in wakeup_kcompactd() argument
H A Dmmzone.h863 enum zone_type highest_zoneidx);
865 int highest_zoneidx, unsigned int alloc_flags,
868 unsigned long mark, int highest_zoneidx,
871 unsigned long mark, int highest_zoneidx);
1074 enum zone_type highest_zoneidx,
1090 enum zone_type highest_zoneidx, in next_zones_zonelist() argument
1093 if (likely(!nodes && zonelist_zone_idx(z) <= highest_zoneidx)) in next_zones_zonelist()
1095 return __next_zones_zonelist(z, highest_zoneidx, nodes); in next_zones_zonelist()
1115 enum zone_type highest_zoneidx, in first_zones_zonelist() argument
1119 highest_zoneidx, nodes); in first_zones_zonelist()
/OK3568_Linux_fs/kernel/mm/
H A Dcompaction.c2121 int highest_zoneidx, in __compaction_suitable() argument
2134 if (zone_watermark_ok(zone, order, watermark, highest_zoneidx, in __compaction_suitable()
2155 if (!__zone_watermark_ok(zone, 0, watermark, highest_zoneidx, in __compaction_suitable()
2164 int highest_zoneidx) in compaction_suitable() argument
2169 ret = __compaction_suitable(zone, order, alloc_flags, highest_zoneidx, in compaction_suitable()
2211 ac->highest_zoneidx, ac->nodemask) { in compaction_zonelist_suitable()
2224 ac->highest_zoneidx, available); in compaction_zonelist_suitable()
2255 cc->highest_zoneidx); in compact_zone()
2447 unsigned int alloc_flags, int highest_zoneidx, in compact_zone_order() argument
2459 .highest_zoneidx = highest_zoneidx, in compact_zone_order()
[all …]
H A Dmmzone.c58 enum zone_type highest_zoneidx, in __next_zones_zonelist() argument
66 while (zonelist_zone_idx(z) > highest_zoneidx) in __next_zones_zonelist()
69 while (zonelist_zone_idx(z) > highest_zoneidx || in __next_zones_zonelist()
H A Dvmscan.c3476 static bool pgdat_watermark_boosted(pg_data_t *pgdat, int highest_zoneidx) in pgdat_watermark_boosted() argument
3488 for (i = highest_zoneidx; i >= 0; i--) { in pgdat_watermark_boosted()
3504 static bool pgdat_balanced(pg_data_t *pgdat, int order, int highest_zoneidx) in pgdat_balanced() argument
3514 for (i = 0; i <= highest_zoneidx; i++) { in pgdat_balanced()
3521 if (zone_watermark_ok_safe(zone, order, mark, highest_zoneidx)) in pgdat_balanced()
3553 int highest_zoneidx) in prepare_kswapd_sleep() argument
3575 if (pgdat_balanced(pgdat, order, highest_zoneidx)) { in prepare_kswapd_sleep()
3639 static int balance_pgdat(pg_data_t *pgdat, int order, int highest_zoneidx) in balance_pgdat() argument
3667 for (i = 0; i <= highest_zoneidx; i++) { in balance_pgdat()
3685 sc.reclaim_idx = highest_zoneidx; in balance_pgdat()
[all …]
H A Dpage_alloc.c2801 for_each_zone_zonelist_nodemask(zone, z, zonelist, ac->highest_zoneidx, in unreserve_highatomic_pageblock()
3754 int highest_zoneidx, unsigned int alloc_flags, in __zone_watermark_ok() argument
3785 if (free_pages <= min + z->lowmem_reserve[highest_zoneidx]) in __zone_watermark_ok()
3826 int highest_zoneidx, unsigned int alloc_flags) in zone_watermark_ok() argument
3828 return __zone_watermark_ok(z, order, mark, highest_zoneidx, alloc_flags, in zone_watermark_ok()
3834 unsigned long mark, int highest_zoneidx, in zone_watermark_fast() argument
3854 if (usable_free > mark + z->lowmem_reserve[highest_zoneidx]) in zone_watermark_fast()
3858 if (__zone_watermark_ok(z, order, mark, highest_zoneidx, alloc_flags, in zone_watermark_fast()
3870 return __zone_watermark_ok(z, order, mark, highest_zoneidx, in zone_watermark_fast()
3878 unsigned long mark, int highest_zoneidx) in zone_watermark_ok_safe() argument
[all …]
H A Dinternal.h172 enum zone_type highest_zoneidx; member
254 const int highest_zoneidx; /* zone index of a direct compactor */ member
H A Doom_kill.c259 enum zone_type highest_zoneidx = gfp_zone(oc->gfp_mask); in constrained_alloc() local
299 highest_zoneidx, oc->nodemask) in constrained_alloc()
H A Dmempolicy.c1957 enum zone_type highest_zoneidx = gfp_zone(GFP_KERNEL); in mempolicy_slab_node() local
1959 z = first_zones_zonelist(zonelist, highest_zoneidx, in mempolicy_slab_node()
H A Dslab.c3100 enum zone_type highest_zoneidx = gfp_zone(flags); in fallback_alloc() local
3118 for_each_zone_zonelist(zone, z, zonelist, highest_zoneidx) { in fallback_alloc()
H A Dslub.c2063 enum zone_type highest_zoneidx = gfp_zone(flags); in get_any_partial() local
2092 for_each_zone_zonelist(zone, z, zonelist, highest_zoneidx) { in get_any_partial()