Lines Matching refs:alloc_gfp
3227 gfp_t alloc_gfp;
3240 alloc_gfp = (flags | __GFP_NOWARN | __GFP_NORETRY) & ~__GFP_NOFAIL;
3241 if ((alloc_gfp & __GFP_DIRECT_RECLAIM) && oo_order(oo) > oo_order(s->min))
3242 alloc_gfp = (alloc_gfp | __GFP_NOMEMALLOC) & ~__GFP_RECLAIM;
3248 slab = alloc_slab_page(alloc_gfp, node, oo, allow_spin);
3251 alloc_gfp = flags;
3256 slab = alloc_slab_page(alloc_gfp, node, oo, allow_spin);
5686 gfp_t alloc_gfp = __GFP_NOWARN | __GFP_NOMEMALLOC | gfp_flags;
5703 s = kmalloc_slab(size, NULL, alloc_gfp, _RET_IP_);
5734 ret = __slab_alloc_node(s, alloc_gfp, node, _RET_IP_, size);
5742 * if (memcg) alloc_gfp &= ~__GFP_ACCOUNT;
5743 * else if (!memcg) alloc_gfp |= __GFP_ACCOUNT;
5753 slab_post_alloc_hook(s, NULL, alloc_gfp, 1, &ret,
5754 slab_want_init_on_alloc(alloc_gfp, s), size);
5756 ret = kasan_kmalloc(s, ret, size, alloc_gfp);