Lines Matching defs:gfp

16 #include <linux/gfp.h>
580 * @gfp: Memory allocation flags.
590 void *entry, gfp_t gfp)
594 might_alloc(gfp);
596 curr = __xa_store(xa, index, entry, gfp);
607 * @gfp: Memory allocation flags.
617 void *entry, gfp_t gfp)
621 might_alloc(gfp);
623 curr = __xa_store(xa, index, entry, gfp);
683 * @gfp: Memory allocation flags.
689 * if the @gfp flags permit.
693 void *old, void *entry, gfp_t gfp)
697 might_alloc(gfp);
699 curr = __xa_cmpxchg(xa, index, old, entry, gfp);
711 * @gfp: Memory allocation flags.
717 * disabling softirqs. May sleep if the @gfp flags permit.
721 void *old, void *entry, gfp_t gfp)
725 might_alloc(gfp);
727 curr = __xa_cmpxchg(xa, index, old, entry, gfp);
739 * @gfp: Memory allocation flags.
745 * disabling interrupts. May sleep if the @gfp flags permit.
749 void *old, void *entry, gfp_t gfp)
753 might_alloc(gfp);
755 curr = __xa_cmpxchg(xa, index, old, entry, gfp);
767 * @gfp: Memory allocation flags.
774 * the @gfp flags permit.
779 unsigned long index, void *entry, gfp_t gfp)
783 might_alloc(gfp);
785 err = __xa_insert(xa, index, entry, gfp);
797 * @gfp: Memory allocation flags.
804 * disabling softirqs. May sleep if the @gfp flags permit.
809 unsigned long index, void *entry, gfp_t gfp)
813 might_alloc(gfp);
815 err = __xa_insert(xa, index, entry, gfp);
827 * @gfp: Memory allocation flags.
834 * disabling interrupts. May sleep if the @gfp flags permit.
839 unsigned long index, void *entry, gfp_t gfp)
843 might_alloc(gfp);
845 err = __xa_insert(xa, index, entry, gfp);
857 * @gfp: Memory allocation flags.
867 * the @gfp flags permit.
872 void *entry, struct xa_limit limit, gfp_t gfp)
876 might_alloc(gfp);
878 err = __xa_alloc(xa, id, entry, limit, gfp);
890 * @gfp: Memory allocation flags.
900 * disabling softirqs. May sleep if the @gfp flags permit.
905 void *entry, struct xa_limit limit, gfp_t gfp)
909 might_alloc(gfp);
911 err = __xa_alloc(xa, id, entry, limit, gfp);
923 * @gfp: Memory allocation flags.
933 * disabling interrupts. May sleep if the @gfp flags permit.
938 void *entry, struct xa_limit limit, gfp_t gfp)
942 might_alloc(gfp);
944 err = __xa_alloc(xa, id, entry, limit, gfp);
957 * @gfp: Memory allocation flags.
969 * the @gfp flags permit.
975 struct xa_limit limit, u32 *next, gfp_t gfp)
979 might_alloc(gfp);
981 err = __xa_alloc_cyclic(xa, id, entry, limit, next, gfp);
994 * @gfp: Memory allocation flags.
1006 * disabling softirqs. May sleep if the @gfp flags permit.
1012 struct xa_limit limit, u32 *next, gfp_t gfp)
1016 might_alloc(gfp);
1018 err = __xa_alloc_cyclic(xa, id, entry, limit, next, gfp);
1031 * @gfp: Memory allocation flags.
1043 * disabling interrupts. May sleep if the @gfp flags permit.
1049 struct xa_limit limit, u32 *next, gfp_t gfp)
1053 might_alloc(gfp);
1055 err = __xa_alloc_cyclic(xa, id, entry, limit, next, gfp);
1065 * @gfp: Memory allocation flags.
1076 * May sleep if the @gfp flags permit.
1080 int xa_reserve(struct xarray *xa, unsigned long index, gfp_t gfp)
1082 return xa_err(xa_cmpxchg(xa, index, NULL, XA_ZERO_ENTRY, gfp));
1089 * @gfp: Memory allocation flags.
1098 int xa_reserve_bh(struct xarray *xa, unsigned long index, gfp_t gfp)
1100 return xa_err(xa_cmpxchg_bh(xa, index, NULL, XA_ZERO_ENTRY, gfp));
1107 * @gfp: Memory allocation flags.
1116 int xa_reserve_irq(struct xarray *xa, unsigned long index, gfp_t gfp)
1118 return xa_err(xa_cmpxchg_irq(xa, index, NULL, XA_ZERO_ENTRY, gfp));
1576 unsigned int order, gfp_t gfp)