Lines Matching defs:ida
314 * define it using DEFINE_IDA() (or embed a &struct ida in a data structure,
367 * @ida: IDA handle.
380 int ida_alloc_range(struct ida *ida, unsigned int min, unsigned int max,
383 XA_STATE(xas, &ida->xa, min / IDA_BITMAP_BITS);
481 * @ida: IDA handle.
487 void ida_free(struct ida *ida, unsigned int id)
489 XA_STATE(xas, &ida->xa, id / IDA_BITMAP_BITS);
531 * @ida: IDA handle.
541 void ida_destroy(struct ida *ida)
543 XA_STATE(xas, &ida->xa, 0);
592 static void ida_dump(struct ida *ida)
594 struct xarray *xa = &ida->xa;
595 pr_debug("ida: %p node %p free %d\n", ida, xa->xa_head,