Lines Matching refs:idp
81 void *idr_find(struct idr *idp, int id);
82 void *idr_get_next(struct idr *idp, int *nextid);
83 bool idr_is_empty(struct idr *idp);
84 int idr_pre_get(struct idr *idp, gfp_t gfp_mask);
85 int idr_get_new(struct idr *idp, void *ptr, int *id);
86 int idr_get_new_above(struct idr *idp, void *ptr, int starting_id, int *id);
87 void *idr_replace(struct idr *idp, void *ptr, int id);
88 void *idr_remove(struct idr *idp, int id);
89 void idr_remove_all(struct idr *idp);
90 void idr_destroy(struct idr *idp);
91 void idr_init(struct idr *idp);
92 int idr_alloc(struct idr *idp, void *ptr, int start, int end, gfp_t);
93 int idr_alloc_cyclic(struct idr *idp, void *ptr, int start, int end, gfp_t);
94 int idr_for_each(struct idr *idp, int (*fn)(int id, void *p, void *data), void *data);
96 #define idr_for_each_entry(idp, entry, id) \ argument
97 for ((id) = 0; ((entry) = idr_get_next(idp, &(id))) != NULL; ++(id))