Lines Matching defs:ida
74 struct ida name; \
107 struct ida {
112 int ida_pre_get(struct ida *ida, gfp_t gfp_mask);
113 int ida_get_new_above(struct ida *ida, int starting_id, int *p_id);
114 void ida_remove(struct ida *ida, int id);
115 void ida_destroy(struct ida *ida);
116 void ida_init(struct ida *ida);
118 int ida_simple_get(struct ida *ida, unsigned int start, unsigned int end,
120 void ida_simple_remove(struct ida *ida, unsigned int id);
123 ida_free(struct ida *ida, int id)
126 ida_remove(ida, id);
130 ida_get_new(struct ida *ida, int *p_id)
133 return (ida_get_new_above(ida, 0, p_id));
137 ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp)
140 return (ida_simple_get(ida, 0, max, gfp));
144 ida_is_empty(struct ida *ida)
147 return (idr_is_empty(&ida->idr));