Lines Matching full:idp
95 void idr_remove(struct idr *idp, int id) in idr_remove() argument
97 if (idp->id[id].used) { in idr_remove()
98 idp->id[id].used = 0; in idr_remove()
99 idp->updated = true; in idr_remove()
104 void *idr_find(struct idr *idp, int id) in idr_find() argument
106 if (idp->id[id].used) in idr_find()
107 return idp->id[id].ptr; in idr_find()
112 void *idr_get_next(struct idr *idp, int *next) in idr_get_next() argument
117 ret = idr_find(idp, id); in idr_get_next()
120 if (!idp->id[id].used) in idr_get_next()
130 int idr_alloc(struct idr *idp, void *ptr, int start, int end, gfp_t gfp_mask) in idr_alloc() argument
136 idl = &idp->id[i]; in idr_alloc()
140 idp->updated = true; in idr_alloc()