Lines Matching defs:alloc
358 * The IDA always uses a lock to alloc/free. If we add a 'test_bit'
386 struct ida_bitmap *bitmap, *alloc = NULL;
416 bitmap = alloc;
420 goto alloc;
443 bitmap = alloc;
447 goto alloc;
459 if (bitmap != alloc)
460 kfree(alloc);
464 alloc:
466 alloc = kzalloc(sizeof(*bitmap), gfp);
467 if (!alloc)
474 kfree(alloc);