Lines Matching defs:idp

21 void idr_init(struct idr *idp)  in idr_init()
33 static void __move_to_free_list(struct idr *idp, struct idr_layer *p) in __move_to_free_list()
54 static void *__get_from_free_list(struct idr *idp) in __get_from_free_list()
95 int idr_preload(struct idr *idp, gfp_t gfp_mask) in idr_preload()
127 static int __idr_grow(struct idr *idp) in __idr_grow()
159 static int __idr_get_empty_slot(struct idr *idp, struct idr_layer **stk) in __idr_get_empty_slot()
213 static __always_inline void __idr_mark_full(struct idr *idp, int id, struct idr_layer **stk, int ma… in __idr_mark_full()
248 static __always_inline int __idr_get_path(struct idr *idp, int id, struct idr_layer **stk) in __idr_get_path()
294 static __always_inline void __idr_erase_full(struct idr *idp, int id, struct idr_layer **stk, int m… in __idr_erase_full()
357 static int __idr_get_new_above_int(struct idr *idp, void *ptr, int starting_id) in __idr_get_new_above_int()
383 int idr_alloc(struct idr *idp, void *ptr, int *id) in idr_alloc()
400 void *idr_remove(struct idr *idp, int id) in idr_remove()
423 static void __idr_remove_all_with_free(struct idr *idp, bool free) in __idr_remove_all_with_free()
475 static void __idr_destroy_with_free(struct idr *idp) in __idr_destroy_with_free()
490 void idr_remove_all(struct idr *idp) in idr_remove_all()
503 void idr_destroy(struct idr *idp) in idr_destroy()
519 void *idr_find(struct idr *idp, int id) in idr_find()
558 void *idr_find_next_getid(struct idr *idp, int64_t start_id, int *nextid) in idr_find_next_getid()
654 void *idr_find_next(struct idr *idp, int start_id) in idr_find_next()
671 int idr_replace_get_old(struct idr *idp, void *ptr, int id, void **old_ptr) in idr_replace_get_old()
716 int idr_replace(struct idr *idp, void *ptr, int id) in idr_replace()
735 bool idr_empty(struct idr *idp) in idr_empty()
788 bool idr_count(struct idr *idp, int id) in idr_count()