Home
last modified time | relevance | path

Searched refs:_gfp (Results 1 – 9 of 9) sorted by relevance

/linux/fs/bcachefs/
H A Ddarray.h29 #define __darray_resize(_d, _element_size, _new_size, _gfp) \ argument
31 ? __bch2_darray_resize((_d), (_element_size), (_new_size), (_gfp))\
34 #define darray_resize_gfp(_d, _new_size, _gfp) \ argument
35 __darray_resize((darray_char *) (_d), sizeof((_d)->data[0]), (_new_size), _gfp)
40 #define darray_make_room_gfp(_d, _more, _gfp) \ argument
41 darray_resize_gfp((_d), (_d)->nr + (_more), _gfp)
50 #define darray_push_gfp(_d, _item, _gfp) \ argument
52 int _ret = darray_make_room_gfp((_d), 1, _gfp); \
H A Dfifo.h20 #define init_fifo(fifo, _size, _gfp) \ argument
27 (fifo)->data = kvmalloc(fifo_buf_size(fifo), (_gfp)); \
H A Dbtree_iter.h884 gfp_t _gfp = GFP_NOWAIT|__GFP_NOWARN; \
888 _gfp = GFP_KERNEL; \
896 gfp_t _gfp = GFP_NOWAIT|__GFP_NOWARN; \
901 _gfp = GFP_KERNEL; \
H A Dacl.c140 posix_acl_alloc(count, _gfp)); in bch2_acl_from_disk()
430 ret = allocate_dropping_locks_errcode(trans, __posix_acl_chmod(&acl, _gfp, mode)); in bch2_acl_chmod()
H A Dbtree_key_cache.c150 __bkey_cached_alloc(key_u64s, _gfp)); in bkey_cached_alloc()
244 kmalloc(key_u64s * sizeof(u64), _gfp)); in btree_key_cache_create()
H A Dec.c952 __ec_stripe_mem_alloc(trans->c, iter->pos.offset, _gfp)); in ec_stripe_mem_alloc()
/linux/include/linux/
H A Dgeneric-radix-tree.h226 #define genradix_ptr_alloc_inlined(_radix, _idx, _gfp) \ argument
232 NULL, _gfp)))
234 #define genradix_ptr_alloc_preallocated_inlined(_radix, _idx, _new_node, _gfp)\ argument
240 _new_node, _gfp)))
251 #define genradix_ptr_alloc(_radix, _idx, _gfp) \ argument
255 NULL, _gfp))
257 #define genradix_ptr_alloc_preallocated(_radix, _idx, _new_node, _gfp)\ argument
261 _new_node, _gfp))
396 #define genradix_prealloc(_radix, _nr, _gfp) \ argument
399 _gfp)
H A Dpercpu.h143 #define __alloc_percpu_gfp(_size, _align, _gfp) \ argument
144 alloc_hooks(pcpu_alloc_noprof(_size, _align, false, _gfp))
H A Dfs.h3214 #define alloc_inode_sb(_sb, _cache, _gfp) kmem_cache_alloc_lru(_cache, &_sb->s_inode_lru, _gfp) argument