Searched defs:idrp (Results 1 - 1 of 1) sorted by relevance
/solaris-x11-s12/open-src/kernel/drm/src/ |
H A D | drm_sun_idr.c | 165 idr_init(struct idr *idrp) argument 167 avl_create(&idrp->used_ids, idr_compare, sizeof(struct idr_used_id), 170 idrp->free_id_ranges = fr_new(0); 171 mutex_init(&idrp->lock, NULL, MUTEX_DRIVER, NULL); 175 idr_get_new_above(struct idr *idrp, void *obj, int start, int *newid) argument 183 mutex_enter(&idrp->lock); 184 range = fr_get(idrp->free_id_ranges, start); 186 range = fr_insert(idrp->free_id_ranges, start); 194 mutex_exit(&idrp->lock); 200 mutex_exit(&idrp 214 idr_find_used_id(struct idr *idrp, uint32_t id) argument 230 idr_find(struct idr *idrp, uint32_t id) argument 246 idr_remove(struct idr *idrp, uint32_t id) argument 280 idr_remove_all(struct idr *idrp) argument 287 idr_replace(struct idr *idrp, void *obj, uint32_t id) argument 305 idr_for_each(struct idr *idrp, int (*fn)(int id, void *p, void *data), void *data) argument 325 idr_pre_get(struct idr *idrp, int flag) argument 330 idr_destroy(struct idr *idrp) argument [all...] |
Completed in 14 milliseconds