Lines Matching refs:gfp
16 #include <linux/gfp.h>
264 * @gfp: Memory allocation flags.
273 static inline int ida_alloc(struct ida *ida, gfp_t gfp)
275 return ida_alloc_range(ida, 0, ~0, gfp);
282 * @gfp: Memory allocation flags.
291 static inline int ida_alloc_min(struct ida *ida, unsigned int min, gfp_t gfp)
293 return ida_alloc_range(ida, min, ~0, gfp);
300 * @gfp: Memory allocation flags.
309 static inline int ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp)
311 return ida_alloc_range(ida, 0, max, gfp);
323 #define ida_simple_get(ida, start, end, gfp) \
324 ida_alloc_range(ida, start, (end) - 1, gfp)