Searched refs:ac (Results 1 – 3 of 3) sorted by relevance
/mm/ |
D | slab.c | 199 struct array_cache ac; member 522 static void init_arraycache(struct array_cache *ac, int limit, int batch) in init_arraycache() argument 524 if (ac) { in init_arraycache() 525 ac->avail = 0; in init_arraycache() 526 ac->limit = limit; in init_arraycache() 527 ac->batchcount = batch; in init_arraycache() 528 ac->touched = 0; in init_arraycache() 536 struct array_cache *ac = NULL; in alloc_arraycache() local 538 ac = kmalloc_node(memsize, gfp, node); in alloc_arraycache() 546 kmemleak_no_scan(ac); in alloc_arraycache() [all …]
|
D | page_alloc.c | 2064 static bool unreserve_highatomic_pageblock(const struct alloc_context *ac, in unreserve_highatomic_pageblock() argument 2067 struct zonelist *zonelist = ac->zonelist; in unreserve_highatomic_pageblock() 2076 for_each_zone_zonelist_nodemask(zone, z, zonelist, ac->highest_zoneidx, in unreserve_highatomic_pageblock() 2077 ac->nodemask) { in unreserve_highatomic_pageblock() 2128 set_pageblock_migratetype(page, ac->migratetype); in unreserve_highatomic_pageblock() 2129 ret = move_freepages_block(zone, page, ac->migratetype, in unreserve_highatomic_pageblock() 3276 const struct alloc_context *ac) in get_page_from_freelist() argument 3290 z = ac->preferred_zoneref; in get_page_from_freelist() 3291 for_next_zone_zonelist_nodemask(zone, z, ac->highest_zoneidx, in get_page_from_freelist() 3292 ac->nodemask) { in get_page_from_freelist() [all …]
|
D | compaction.c | 2384 bool compaction_zonelist_suitable(struct alloc_context *ac, int order, in compaction_zonelist_suitable() argument 2394 for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, in compaction_zonelist_suitable() 2395 ac->highest_zoneidx, ac->nodemask) { in compaction_zonelist_suitable() 2406 if (__compaction_suitable(zone, order, ac->highest_zoneidx, in compaction_zonelist_suitable() 2718 unsigned int alloc_flags, const struct alloc_context *ac, in try_to_compact_pages() argument 2731 for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, in try_to_compact_pages() 2732 ac->highest_zoneidx, ac->nodemask) { in try_to_compact_pages() 2745 alloc_flags, ac->highest_zoneidx, capture); in try_to_compact_pages()
|