Home
last modified time | relevance | path

Searched defs:idp (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.2/kernel/src/libs/
Didr.c21 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()
[all …]
/DragonOS-0.1.2/kernel/src/common/
Didr.h111 #define for_each_idr_entry(idp, id, ptr) \ argument
120 #define for_each_idr_entry_continue(idp, id, ptr) \ argument