Lines Matching refs:gfp
590 void *entry, gfp_t gfp) in xa_store_bh() argument
594 might_alloc(gfp); in xa_store_bh()
596 curr = __xa_store(xa, index, entry, gfp); in xa_store_bh()
617 void *entry, gfp_t gfp) in xa_store_irq() argument
621 might_alloc(gfp); in xa_store_irq()
623 curr = __xa_store(xa, index, entry, gfp); in xa_store_irq()
693 void *old, void *entry, gfp_t gfp) in xa_cmpxchg() argument
697 might_alloc(gfp); in xa_cmpxchg()
699 curr = __xa_cmpxchg(xa, index, old, entry, gfp); in xa_cmpxchg()
721 void *old, void *entry, gfp_t gfp) in xa_cmpxchg_bh() argument
725 might_alloc(gfp); in xa_cmpxchg_bh()
727 curr = __xa_cmpxchg(xa, index, old, entry, gfp); in xa_cmpxchg_bh()
749 void *old, void *entry, gfp_t gfp) in xa_cmpxchg_irq() argument
753 might_alloc(gfp); in xa_cmpxchg_irq()
755 curr = __xa_cmpxchg(xa, index, old, entry, gfp); in xa_cmpxchg_irq()
779 unsigned long index, void *entry, gfp_t gfp) in xa_insert() argument
783 might_alloc(gfp); in xa_insert()
785 err = __xa_insert(xa, index, entry, gfp); in xa_insert()
809 unsigned long index, void *entry, gfp_t gfp) in xa_insert_bh() argument
813 might_alloc(gfp); in xa_insert_bh()
815 err = __xa_insert(xa, index, entry, gfp); in xa_insert_bh()
839 unsigned long index, void *entry, gfp_t gfp) in xa_insert_irq() argument
843 might_alloc(gfp); in xa_insert_irq()
845 err = __xa_insert(xa, index, entry, gfp); in xa_insert_irq()
872 void *entry, struct xa_limit limit, gfp_t gfp) in xa_alloc() argument
876 might_alloc(gfp); in xa_alloc()
878 err = __xa_alloc(xa, id, entry, limit, gfp); in xa_alloc()
905 void *entry, struct xa_limit limit, gfp_t gfp) in xa_alloc_bh() argument
909 might_alloc(gfp); in xa_alloc_bh()
911 err = __xa_alloc(xa, id, entry, limit, gfp); in xa_alloc_bh()
938 void *entry, struct xa_limit limit, gfp_t gfp) in xa_alloc_irq() argument
942 might_alloc(gfp); in xa_alloc_irq()
944 err = __xa_alloc(xa, id, entry, limit, gfp); in xa_alloc_irq()
975 struct xa_limit limit, u32 *next, gfp_t gfp) in xa_alloc_cyclic() argument
979 might_alloc(gfp); in xa_alloc_cyclic()
981 err = __xa_alloc_cyclic(xa, id, entry, limit, next, gfp); in xa_alloc_cyclic()
1012 struct xa_limit limit, u32 *next, gfp_t gfp) in xa_alloc_cyclic_bh() argument
1016 might_alloc(gfp); in xa_alloc_cyclic_bh()
1018 err = __xa_alloc_cyclic(xa, id, entry, limit, next, gfp); in xa_alloc_cyclic_bh()
1049 struct xa_limit limit, u32 *next, gfp_t gfp) in xa_alloc_cyclic_irq() argument
1053 might_alloc(gfp); in xa_alloc_cyclic_irq()
1055 err = __xa_alloc_cyclic(xa, id, entry, limit, next, gfp); in xa_alloc_cyclic_irq()
1080 int xa_reserve(struct xarray *xa, unsigned long index, gfp_t gfp) in xa_reserve() argument
1082 return xa_err(xa_cmpxchg(xa, index, NULL, XA_ZERO_ENTRY, gfp)); in xa_reserve()
1098 int xa_reserve_bh(struct xarray *xa, unsigned long index, gfp_t gfp) in xa_reserve_bh() argument
1100 return xa_err(xa_cmpxchg_bh(xa, index, NULL, XA_ZERO_ENTRY, gfp)); in xa_reserve_bh()
1116 int xa_reserve_irq(struct xarray *xa, unsigned long index, gfp_t gfp) in xa_reserve_irq() argument
1118 return xa_err(xa_cmpxchg_irq(xa, index, NULL, XA_ZERO_ENTRY, gfp)); in xa_reserve_irq()
1576 unsigned int order, gfp_t gfp) in xas_split_alloc() argument