Home
last modified time | relevance | path

Searched refs:alloc_mask (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/lib/
Dtest_meminit.c202 gfp_t alloc_mask = GFP_KERNEL | (want_zero ? __GFP_ZERO : 0); in do_kmem_cache_size() local
213 ret = kmem_cache_alloc_bulk(c, alloc_mask, BULK_SIZE, bulk_array); in do_kmem_cache_size()
224 buf = kmem_cache_alloc(c, alloc_mask); in do_kmem_cache_size()
/Linux-v5.10/mm/
Dpage_alloc.c4869 struct alloc_context *ac, gfp_t *alloc_mask, in prepare_alloc_pages() argument
4878 *alloc_mask |= __GFP_HARDWALL; in prepare_alloc_pages()
4922 gfp_t alloc_mask; /* The gfp_t that was actually used for allocation */ in __alloc_pages_nodemask() local
4935 alloc_mask = gfp_mask; in __alloc_pages_nodemask()
4936 if (!prepare_alloc_pages(gfp_mask, order, preferred_nid, nodemask, &ac, &alloc_mask, &alloc_flags)) in __alloc_pages_nodemask()
4946 page = get_page_from_freelist(alloc_mask, order, alloc_flags, &ac); in __alloc_pages_nodemask()
4956 alloc_mask = current_gfp_context(gfp_mask); in __alloc_pages_nodemask()
4965 page = __alloc_pages_slowpath(alloc_mask, order, &ac); in __alloc_pages_nodemask()
4974 trace_mm_page_alloc(page, order, alloc_mask, ac.migratetype); in __alloc_pages_nodemask()