Lines Matching refs:idr
58 struct idr {
68 struct idr name; \
80 void *idr_find(struct idr *idp, int id);
81 void *idr_get_next(struct idr *idp, int *nextid);
82 bool idr_is_empty(struct idr *idp);
83 int idr_pre_get(struct idr *idp, gfp_t gfp_mask);
84 int idr_get_new(struct idr *idp, void *ptr, int *id);
85 int idr_get_new_above(struct idr *idp, void *ptr, int starting_id, int *id);
86 void *idr_replace(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_init(struct idr *idp);
91 int idr_alloc(struct idr *idp, void *ptr, int start, int end, gfp_t);
92 int idr_alloc_cyclic(struct idr *idp, void *ptr, int start, int end, gfp_t);
93 int idr_for_each(struct idr *idp, int (*fn)(int id, void *p, void *data), void *data);
108 struct idr idr;
147 return (idr_is_empty(&ida->idr));