Searched refs:alloc_gfp (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/mm/ |
D | page_alloc.c | 5308 struct alloc_context *ac, gfp_t *alloc_gfp, in prepare_alloc_pages() argument 5317 *alloc_gfp |= __GFP_HARDWALL; in prepare_alloc_pages() 5382 gfp_t alloc_gfp; in __alloc_pages_bulk() local 5423 alloc_gfp = gfp; in __alloc_pages_bulk() 5424 if (!prepare_alloc_pages(gfp, 0, preferred_nid, nodemask, &ac, &alloc_gfp, &alloc_flags)) in __alloc_pages_bulk() 5426 gfp = alloc_gfp; in __alloc_pages_bulk() 5527 gfp_t alloc_gfp; /* The gfp_t that was actually used for allocation */ in __alloc_pages() local 5546 alloc_gfp = gfp; in __alloc_pages() 5548 &alloc_gfp, &alloc_flags)) in __alloc_pages() 5558 page = get_page_from_freelist(alloc_gfp, order, alloc_flags, &ac); in __alloc_pages() [all …]
|
D | slub.c | 1922 gfp_t alloc_gfp; in allocate_slab() local 1935 alloc_gfp = (flags | __GFP_NOWARN | __GFP_NORETRY) & ~__GFP_NOFAIL; in allocate_slab() 1936 if ((alloc_gfp & __GFP_DIRECT_RECLAIM) && oo_order(oo) > oo_order(s->min)) in allocate_slab() 1937 alloc_gfp = (alloc_gfp | __GFP_NOMEMALLOC) & ~__GFP_RECLAIM; in allocate_slab() 1939 slab = alloc_slab_page(alloc_gfp, node, oo); in allocate_slab() 1942 alloc_gfp = flags; in allocate_slab() 1947 slab = alloc_slab_page(alloc_gfp, node, oo); in allocate_slab()
|