Lines Matching refs:ida
154 struct ida { struct
160 #define DEFINE_IDA(name) struct ida name = IDA_INIT(name) argument
162 int ida_pre_get(struct ida *ida, gfp_t gfp_mask);
163 int ida_get_new_above(struct ida *ida, int starting_id, int *p_id);
164 void ida_remove(struct ida *ida, int id);
165 void ida_destroy(struct ida *ida);
166 void ida_init(struct ida *ida);
168 int ida_simple_get(struct ida *ida, unsigned int start, unsigned int end,
170 void ida_simple_remove(struct ida *ida, unsigned int id);
179 static inline int ida_get_new(struct ida *ida, int *p_id) in ida_get_new() argument
181 return ida_get_new_above(ida, 0, p_id); in ida_get_new()