Lines Matching defs:gfp
211 gfp_t gfp)
216 (gfp & ~(__GFP_HIGHMEM | __GFP_MOVABLE)));
398 struct z3fold_pool *pool, gfp_t gfp)
412 slots = alloc_slots(pool, gfp);
983 * @gfp: gfp flags when allocating the z3fold pool structure
989 static struct z3fold_pool *z3fold_create_pool(const char *name, gfp_t gfp,
995 pool = kzalloc(sizeof(struct z3fold_pool), gfp);
1074 * @gfp: gfp flags used if the pool needs to grow
1082 * gfp should not set __GFP_HIGHMEM as highmem pages cannot be used
1086 * gfp arguments are invalid or -ENOMEM if the pool was unable to allocate
1089 static int z3fold_alloc(struct z3fold_pool *pool, size_t size, gfp_t gfp,
1096 bool can_sleep = gfpflags_allow_blocking(gfp);
1147 page = alloc_page(gfp);
1152 zhdr = init_z3fold_page(page, bud == HEADLESS, pool, gfp);
1727 static void *z3fold_zpool_create(const char *name, gfp_t gfp,
1733 pool = z3fold_create_pool(name, gfp,
1747 static int z3fold_zpool_malloc(void *pool, size_t size, gfp_t gfp,
1750 return z3fold_alloc(pool, size, gfp, handle);