idr_replace       542 block/genhd.c  		idr_replace(&ext_devt_idr, NULL, blk_mangle_minor(MINOR(devt)));
idr_replace       465 drivers/char/tpm/tpm-chip.c 	idr_replace(&dev_nums_idr, chip, chip->dev_num);
idr_replace       477 drivers/char/tpm/tpm-chip.c 	idr_replace(&dev_nums_idr, NULL, chip->dev_num);
idr_replace       309 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c 		old = idr_replace(&fpriv->bo_list_handles, list, handle);
idr_replace        96 drivers/gpu/drm/drm_auth.c 		idr_replace(&file_priv->master->magic_map, NULL, auth->magic);
idr_replace       252 drivers/gpu/drm/drm_context.c 	if (IS_ERR(idr_replace(&dev->ctx_idr, map, request->ctx_id)))
idr_replace       202 drivers/gpu/drm/drm_drv.c 	idr_replace(&drm_minors_idr, minor, minor->index);
idr_replace       224 drivers/gpu/drm/drm_drv.c 	idr_replace(&drm_minors_idr, NULL, minor->index);
idr_replace       283 drivers/gpu/drm/drm_gem.c 	obj = idr_replace(&filp->object_idr, NULL, handle);
idr_replace        89 drivers/gpu/drm/drm_mode_object.c 	idr_replace(&dev->mode_config.object_idr, obj, obj->id);
idr_replace       508 drivers/gpu/drm/qxl/qxl_cmd.c 	idr_replace(&qdev->surf_id_idr, surf, surf->surface_id);
idr_replace       533 drivers/gpu/drm/qxl/qxl_cmd.c 	idr_replace(&qdev->surf_id_idr, NULL, surf->surface_id);
idr_replace       218 drivers/gpu/drm/vgem/vgem_fence.c 	fence = idr_replace(&vfile->fence_idr, NULL, arg->fence);
idr_replace      2012 drivers/md/dm.c 	old_md = idr_replace(&_minor_idr, md, minor);
idr_replace      2378 drivers/md/dm.c 	idr_replace(&_minor_idr, MINOR_ALLOCED, MINOR(disk_devt(dm_disk(md))));
idr_replace       470 fs/nfs/nfs4client.c 	idr_replace(&nn->cb_ident_idr, keep, drop->cl_cb_ident);
idr_replace       473 fs/nfs/nfs4client.c 	idr_replace(&nn->cb_ident_idr, drop, save);
idr_replace       124 include/linux/idr.h void *idr_replace(struct idr *, void *, unsigned long id);
idr_replace       250 ipc/util.c     			idr_replace(&ids->ipcs_idr, new, idx);
idr_replace       322 kernel/cgroup/cgroup.c 	ret = idr_replace(idr, ptr, id);
idr_replace       226 kernel/pid.c   		idr_replace(&upid->ns->idr, pid, upid->nr);
idr_replace       306 lib/idr.c      EXPORT_SYMBOL(idr_replace);
idr_replace      5159 mm/memcontrol.c 	idr_replace(&mem_cgroup_idr, memcg, memcg->id.id);
idr_replace       427 mm/vmscan.c    		idr_replace(&shrinker_idr, shrinker, shrinker->id);
idr_replace       460 net/sched/act_api.c 	WARN_ON(!IS_ERR(idr_replace(&idrinfo->action_idr, a, a->tcfa_index)));
idr_replace       514 net/sched/act_api.c 				idr_replace(&idrinfo->action_idr,
idr_replace       523 net/sched/act_api.c 			idr_replace(&idrinfo->action_idr, ERR_PTR(-EBUSY),
idr_replace       230 net/sched/cls_basic.c 		idr_replace(&head->handle_idr, fnew, fnew->handle);
idr_replace       519 net/sched/cls_bpf.c 		idr_replace(&head->handle_idr, prog, handle);
idr_replace      1647 net/sched/cls_flower.c 		idr_replace(&head->handle_idr, fnew, fnew->handle);
idr_replace       787 net/sched/cls_u32.c 	idr_replace(&ht->handle_idr, n, n->handle);
idr_replace        51 security/apparmor/secid.c 	idr_replace(&aa_secids, label, secid);
idr_replace        65 tools/testing/radix-tree/idr-test.c 	idr_replace(&idr, &idr, 10);
idr_replace        97 tools/testing/radix-tree/idr-test.c 	assert(idr_replace(&idr, DUMMY_PTR, 3) == NULL);
idr_replace        98 tools/testing/radix-tree/idr-test.c 	assert(idr_replace(&idr, DUMMY_PTR, 4) == NULL);
idr_replace        99 tools/testing/radix-tree/idr-test.c 	assert(idr_replace(&idr, NULL, 4) == DUMMY_PTR);
idr_replace       100 tools/testing/radix-tree/idr-test.c 	assert(idr_replace(&idr, DUMMY_PTR, 11) == ERR_PTR(-ENOENT));
idr_replace       115 tools/testing/radix-tree/idr-test.c 	assert(idr_replace(&idr, DUMMY_PTR, 3) == ERR_PTR(-ENOENT));
idr_replace       116 tools/testing/radix-tree/idr-test.c 	assert(idr_replace(&idr, DUMMY_PTR, 0) == NULL);
idr_replace       117 tools/testing/radix-tree/idr-test.c 	assert(idr_replace(&idr, NULL, 0) == DUMMY_PTR);
idr_replace       265 tools/testing/radix-tree/idr-test.c 		idr_replace(idr, &name[i], 0);
idr_replace       276 tools/testing/radix-tree/idr-test.c 		idr_replace(idr, &name[i + 1], 0);