Searched refs:idr_replace (Results 1 – 5 of 5) sorted by relevance
/linux-3.4.99/include/linux/ |
D | idr.h | 111 void *idr_replace(struct idr *idp, void *ptr, int id);
|
/linux-3.4.99/drivers/gpu/drm/ |
D | drm_context.c | 208 if (IS_ERR(idr_replace(&dev->ctx_idr, map, request->ctx_id))) in drm_setsareactx()
|
D | drm_stub.c | 360 idr_replace(&drm_minors_idr, new_minor, minor_id); in drm_get_minor()
|
/linux-3.4.99/lib/ |
D | idr.c | 666 void *idr_replace(struct idr *idp, void *ptr, int id) in idr_replace() function 697 EXPORT_SYMBOL(idr_replace);
|
/linux-3.4.99/drivers/md/ |
D | dm.c | 1920 old_md = idr_replace(&_minor_idr, md, minor); in alloc_dev() 2301 idr_replace(&_minor_idr, MINOR_ALLOCED, MINOR(disk_devt(dm_disk(md)))); in __dm_destroy()
|