Searched refs:ac (Results 1 – 4 of 4) sorted by relevance
/mm/ |
D | slab.c | 198 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 | 2556 static bool unreserve_highatomic_pageblock(const struct alloc_context *ac, in unreserve_highatomic_pageblock() argument 2559 struct zonelist *zonelist = ac->zonelist; in unreserve_highatomic_pageblock() 2567 for_each_zone_zonelist_nodemask(zone, z, zonelist, ac->high_zoneidx, in unreserve_highatomic_pageblock() 2568 ac->nodemask) { in unreserve_highatomic_pageblock() 2614 set_pageblock_migratetype(page, ac->migratetype); in unreserve_highatomic_pageblock() 2615 ret = move_freepages_block(zone, page, ac->migratetype, in unreserve_highatomic_pageblock() 3582 const struct alloc_context *ac) in get_page_from_freelist() argument 3595 z = ac->preferred_zoneref; in get_page_from_freelist() 3596 for_next_zone_zonelist_nodemask(zone, z, ac->zonelist, ac->high_zoneidx, in get_page_from_freelist() 3597 ac->nodemask) { in get_page_from_freelist() [all …]
|
D | compaction.c | 2039 bool compaction_zonelist_suitable(struct alloc_context *ac, int order, in compaction_zonelist_suitable() argument 2049 for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, ac->high_zoneidx, in compaction_zonelist_suitable() 2050 ac->nodemask) { in compaction_zonelist_suitable() 2063 ac_classzone_idx(ac), available); in compaction_zonelist_suitable() 2340 unsigned int alloc_flags, const struct alloc_context *ac, in try_to_compact_pages() argument 2358 for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, ac->high_zoneidx, in try_to_compact_pages() 2359 ac->nodemask) { in try_to_compact_pages() 2369 alloc_flags, ac_classzone_idx(ac), capture); in try_to_compact_pages()
|
D | internal.h | 122 #define ac_classzone_idx(ac) zonelist_zone_idx(ac->preferred_zoneref) argument
|