Lines Matching refs:id
79 void *idr_find_slowpath(struct idr *idp, int id);
84 int (*fn)(int id, void *p, void *data), void *data);
86 void *idr_replace(struct idr *idp, void *ptr, int id);
87 void idr_remove(struct idr *idp, int id);
115 static inline void *idr_find(struct idr *idr, int id) in idr_find() argument
119 if (hint && (id & ~IDR_MASK) == hint->prefix) in idr_find()
120 return rcu_dereference_raw(hint->ary[id & IDR_MASK]); in idr_find()
122 return idr_find_slowpath(idr, id); in idr_find()
135 #define idr_for_each_entry(idp, entry, id) \ argument
136 for (id = 0; ((entry) = idr_get_next(idp, &(id))) != NULL; ++id)
164 void ida_remove(struct ida *ida, int id);
170 void ida_simple_remove(struct ida *ida, unsigned int id);