Lines Matching defs:idp
66 static struct idr_layer *get_from_free_list(struct idr *idp) in get_from_free_list()
153 static void __move_to_free_list(struct idr *idp, struct idr_layer *p) in __move_to_free_list()
160 static void move_to_free_list(struct idr *idp, struct idr_layer *p) in move_to_free_list()
192 static int __idr_pre_get(struct idr *idp, gfp_t gfp_mask) in __idr_pre_get()
220 static int sub_alloc(struct idr *idp, int *starting_id, struct idr_layer **pa, in sub_alloc()
289 static int idr_get_empty_slot(struct idr *idp, int starting_id, in idr_get_empty_slot()
508 static void sub_remove(struct idr *idp, int shift, int id) in sub_remove()
550 void idr_remove(struct idr *idp, int id) in idr_remove()
583 static void __idr_remove_all(struct idr *idp) in __idr_remove_all()
631 void idr_destroy(struct idr *idp) in idr_destroy()
642 void *idr_find_slowpath(struct idr *idp, int id) in idr_find_slowpath()
686 int idr_for_each(struct idr *idp, in idr_for_each()
736 void *idr_get_next(struct idr *idp, int *nextidp) in idr_get_next()
793 void *idr_replace(struct idr *idp, void *ptr, int id) in idr_replace()
838 void idr_init(struct idr *idp) in idr_init()
850 bool idr_is_empty(struct idr *idp) in idr_is_empty()