Lines Matching refs:gfp

15 #include <linux/gfp.h>
576 * @gfp: Memory allocation flags.
586 void *entry, gfp_t gfp)
590 might_alloc(gfp);
592 curr = __xa_store(xa, index, entry, gfp);
603 * @gfp: Memory allocation flags.
613 void *entry, gfp_t gfp)
617 might_alloc(gfp);
619 curr = __xa_store(xa, index, entry, gfp);
679 * @gfp: Memory allocation flags.
685 * if the @gfp flags permit.
689 void *old, void *entry, gfp_t gfp)
693 might_alloc(gfp);
695 curr = __xa_cmpxchg(xa, index, old, entry, gfp);
707 * @gfp: Memory allocation flags.
713 * disabling softirqs. May sleep if the @gfp flags permit.
717 void *old, void *entry, gfp_t gfp)
721 might_alloc(gfp);
723 curr = __xa_cmpxchg(xa, index, old, entry, gfp);
735 * @gfp: Memory allocation flags.
741 * disabling interrupts. May sleep if the @gfp flags permit.
745 void *old, void *entry, gfp_t gfp)
749 might_alloc(gfp);
751 curr = __xa_cmpxchg(xa, index, old, entry, gfp);
763 * @gfp: Memory allocation flags.
770 * the @gfp flags permit.
775 unsigned long index, void *entry, gfp_t gfp)
779 might_alloc(gfp);
781 err = __xa_insert(xa, index, entry, gfp);
793 * @gfp: Memory allocation flags.
800 * disabling softirqs. May sleep if the @gfp flags permit.
805 unsigned long index, void *entry, gfp_t gfp)
809 might_alloc(gfp);
811 err = __xa_insert(xa, index, entry, gfp);
823 * @gfp: Memory allocation flags.
830 * disabling interrupts. May sleep if the @gfp flags permit.
835 unsigned long index, void *entry, gfp_t gfp)
839 might_alloc(gfp);
841 err = __xa_insert(xa, index, entry, gfp);
853 * @gfp: Memory allocation flags.
863 * the @gfp flags permit.
868 void *entry, struct xa_limit limit, gfp_t gfp)
872 might_alloc(gfp);
874 err = __xa_alloc(xa, id, entry, limit, gfp);
886 * @gfp: Memory allocation flags.
896 * disabling softirqs. May sleep if the @gfp flags permit.
901 void *entry, struct xa_limit limit, gfp_t gfp)
905 might_alloc(gfp);
907 err = __xa_alloc(xa, id, entry, limit, gfp);
919 * @gfp: Memory allocation flags.
929 * disabling interrupts. May sleep if the @gfp flags permit.
934 void *entry, struct xa_limit limit, gfp_t gfp)
938 might_alloc(gfp);
940 err = __xa_alloc(xa, id, entry, limit, gfp);
953 * @gfp: Memory allocation flags.
965 * the @gfp flags permit.
971 struct xa_limit limit, u32 *next, gfp_t gfp)
975 might_alloc(gfp);
977 err = __xa_alloc_cyclic(xa, id, entry, limit, next, gfp);
990 * @gfp: Memory allocation flags.
1002 * disabling softirqs. May sleep if the @gfp flags permit.
1008 struct xa_limit limit, u32 *next, gfp_t gfp)
1012 might_alloc(gfp);
1014 err = __xa_alloc_cyclic(xa, id, entry, limit, next, gfp);
1027 * @gfp: Memory allocation flags.
1039 * disabling interrupts. May sleep if the @gfp flags permit.
1045 struct xa_limit limit, u32 *next, gfp_t gfp)
1049 might_alloc(gfp);
1051 err = __xa_alloc_cyclic(xa, id, entry, limit, next, gfp);
1061 * @gfp: Memory allocation flags.
1072 * May sleep if the @gfp flags permit.
1076 int xa_reserve(struct xarray *xa, unsigned long index, gfp_t gfp)
1078 return xa_err(xa_cmpxchg(xa, index, NULL, XA_ZERO_ENTRY, gfp));
1085 * @gfp: Memory allocation flags.
1094 int xa_reserve_bh(struct xarray *xa, unsigned long index, gfp_t gfp)
1096 return xa_err(xa_cmpxchg_bh(xa, index, NULL, XA_ZERO_ENTRY, gfp));
1103 * @gfp: Memory allocation flags.
1112 int xa_reserve_irq(struct xarray *xa, unsigned long index, gfp_t gfp)
1114 return xa_err(xa_cmpxchg_irq(xa, index, NULL, XA_ZERO_ENTRY, gfp));
1566 unsigned int order, gfp_t gfp)