Lines Matching refs:idp
85 int idr_preload(struct idr *idp, gfp_t gfp_mask);
86 int idr_alloc(struct idr *idp, void *ptr, int *id);
87 void *idr_remove(struct idr *idp, int id);
88 void idr_remove_all(struct idr *idp);
89 void idr_destroy(struct idr *idp);
90 void *idr_find(struct idr *idp, int id);
91 void *idr_find_next(struct idr *idp, int start_id);
92 void *idr_find_next_getid(struct idr *idp, int64_t start_id, int *nextid);
93 int idr_replace_get_old(struct idr *idp, void *ptr, int id, void **oldptr);
94 int idr_replace(struct idr *idp, void *ptr, int id);
95 void idr_init(struct idr *idp);
96 bool idr_empty(struct idr *idp);
97 bool idr_count(struct idr *idp, int id);
111 #define for_each_idr_entry(idp, id, ptr) \ argument
112 …(id = -1, ptr = idr_find_next_getid(idp, id, &id); ptr != NULL || !idr_count(idp, id); ptr = idr_f…
120 #define for_each_idr_entry_continue(idp, id, ptr) \ argument
121 …for (ptr = idr_find_next_getid(idp, id - 1, &id); ptr != NULL || !idr_count(idp, id); ptr = idr_fi…