Lines Matching defs:gfp
16 * @gfp: Memory allocation flags.
34 unsigned long max, gfp_t gfp)
46 slot = idr_get_free(&idr->idr_rt, &iter, gfp, max - base);
65 * @gfp: Memory allocation flags.
79 int idr_alloc(struct idr *idr, void *ptr, int start, int end, gfp_t gfp)
87 ret = idr_alloc_u32(idr, ptr, &id, end > 0 ? end - 1 : INT_MAX, gfp);
101 * @gfp: Memory allocation flags.
117 int idr_alloc_cyclic(struct idr *idr, void *ptr, int start, int end, gfp_t gfp)
125 err = idr_alloc_u32(idr, ptr, &id, max, gfp);
128 err = idr_alloc_u32(idr, ptr, &id, max, gfp);
370 * @gfp: Memory allocation flags.
381 gfp_t gfp)
454 if (xas_nomem(&xas, gfp)) {
466 alloc = kzalloc(sizeof(*bitmap), gfp);