Lines Matching refs:gfp
586 void *entry, gfp_t gfp) in xa_store_bh() argument
590 might_alloc(gfp); in xa_store_bh()
592 curr = __xa_store(xa, index, entry, gfp); in xa_store_bh()
613 void *entry, gfp_t gfp) in xa_store_irq() argument
617 might_alloc(gfp); in xa_store_irq()
619 curr = __xa_store(xa, index, entry, gfp); in xa_store_irq()
689 void *old, void *entry, gfp_t gfp) in xa_cmpxchg() argument
693 might_alloc(gfp); in xa_cmpxchg()
695 curr = __xa_cmpxchg(xa, index, old, entry, gfp); in xa_cmpxchg()
717 void *old, void *entry, gfp_t gfp) in xa_cmpxchg_bh() argument
721 might_alloc(gfp); in xa_cmpxchg_bh()
723 curr = __xa_cmpxchg(xa, index, old, entry, gfp); in xa_cmpxchg_bh()
745 void *old, void *entry, gfp_t gfp) in xa_cmpxchg_irq() argument
749 might_alloc(gfp); in xa_cmpxchg_irq()
751 curr = __xa_cmpxchg(xa, index, old, entry, gfp); in xa_cmpxchg_irq()
775 unsigned long index, void *entry, gfp_t gfp) in xa_insert() argument
779 might_alloc(gfp); in xa_insert()
781 err = __xa_insert(xa, index, entry, gfp); in xa_insert()
805 unsigned long index, void *entry, gfp_t gfp) in xa_insert_bh() argument
809 might_alloc(gfp); in xa_insert_bh()
811 err = __xa_insert(xa, index, entry, gfp); in xa_insert_bh()
835 unsigned long index, void *entry, gfp_t gfp) in xa_insert_irq() argument
839 might_alloc(gfp); in xa_insert_irq()
841 err = __xa_insert(xa, index, entry, gfp); in xa_insert_irq()
865 void *entry, struct xa_limit limit, gfp_t gfp) in xa_alloc() argument
869 might_alloc(gfp); in xa_alloc()
871 err = __xa_alloc(xa, id, entry, limit, gfp); in xa_alloc()
895 void *entry, struct xa_limit limit, gfp_t gfp) in xa_alloc_bh() argument
899 might_alloc(gfp); in xa_alloc_bh()
901 err = __xa_alloc(xa, id, entry, limit, gfp); in xa_alloc_bh()
925 void *entry, struct xa_limit limit, gfp_t gfp) in xa_alloc_irq() argument
929 might_alloc(gfp); in xa_alloc_irq()
931 err = __xa_alloc(xa, id, entry, limit, gfp); in xa_alloc_irq()
959 struct xa_limit limit, u32 *next, gfp_t gfp) in xa_alloc_cyclic() argument
963 might_alloc(gfp); in xa_alloc_cyclic()
965 err = __xa_alloc_cyclic(xa, id, entry, limit, next, gfp); in xa_alloc_cyclic()
993 struct xa_limit limit, u32 *next, gfp_t gfp) in xa_alloc_cyclic_bh() argument
997 might_alloc(gfp); in xa_alloc_cyclic_bh()
999 err = __xa_alloc_cyclic(xa, id, entry, limit, next, gfp); in xa_alloc_cyclic_bh()
1027 struct xa_limit limit, u32 *next, gfp_t gfp) in xa_alloc_cyclic_irq() argument
1031 might_alloc(gfp); in xa_alloc_cyclic_irq()
1033 err = __xa_alloc_cyclic(xa, id, entry, limit, next, gfp); in xa_alloc_cyclic_irq()
1058 int xa_reserve(struct xarray *xa, unsigned long index, gfp_t gfp) in xa_reserve() argument
1060 return xa_err(xa_cmpxchg(xa, index, NULL, XA_ZERO_ENTRY, gfp)); in xa_reserve()
1076 int xa_reserve_bh(struct xarray *xa, unsigned long index, gfp_t gfp) in xa_reserve_bh() argument
1078 return xa_err(xa_cmpxchg_bh(xa, index, NULL, XA_ZERO_ENTRY, gfp)); in xa_reserve_bh()
1094 int xa_reserve_irq(struct xarray *xa, unsigned long index, gfp_t gfp) in xa_reserve_irq() argument
1096 return xa_err(xa_cmpxchg_irq(xa, index, NULL, XA_ZERO_ENTRY, gfp)); in xa_reserve_irq()
1548 unsigned int order, gfp_t gfp) in xas_split_alloc() argument