| /linux/tools/testing/radix-tree/ |
| H A D | idr-test.c | 29 idr_remove(idr, id); in item_idr_remove() 40 idr_remove(&idr, 0x3ffd); in idr_alloc_test() 41 idr_remove(&idr, 0); in idr_alloc_test() 105 idr_remove(&idr, 0); in idr_null_test() 121 idr_remove(&idr, 5); in idr_null_test() 123 idr_remove(&idr, 5); in idr_null_test() 126 idr_remove(&idr, i); in idr_null_test() 129 idr_remove(&idr, 8); in idr_null_test() 131 idr_remove(&idr, 9); in idr_null_test() 226 BUG_ON(idr_remove(idr, id) != DUMMY_PTR); in idr_u32_test1() [all …]
|
| /linux/drivers/dca/ |
| H A D | dca-sysfs.c | 57 idr_remove(&dca_idr, dca->id); in dca_sysfs_add_provider() 70 idr_remove(&dca_idr, dca->id); in dca_sysfs_remove_provider()
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | memory_mgr.c | 67 idr_remove(&buf->mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_release() 86 idr_remove(&buf->mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_remove_idr_locked() 185 idr_remove(&mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_alloc()
|
| H A D | context.c | 21 idr_remove(&mgr->handles, handle->id); in encaps_handle_do_release() 192 idr_remove(&ctx_mgr->handles, ctx->handle); in hl_ctx_create()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_pgt.c | 53 WARN_ON(idr_remove(&mlxsw_sp->pgt->pgt_idr, mid_base)); in mlxsw_sp_pgt_mid_free() 79 idr_remove(&mlxsw_sp->pgt->pgt_idr, mid_base + i); in mlxsw_sp_pgt_mid_alloc_range() 93 WARN_ON_ONCE(idr_remove(pgt_idr, mid_base + i)); in mlxsw_sp_pgt_mid_free_range()
|
| /linux/net/sched/ |
| H A D | cls_basic.c | 117 idr_remove(&head->handle_idr, f->handle); in basic_destroy() 135 idr_remove(&head->handle_idr, f->handle); in basic_delete() 225 idr_remove(&head->handle_idr, fnew->handle); in basic_change()
|
| H A D | cls_u32.c | 477 idr_remove(&ht->handle_idr, key->handle); in u32_delete_key() 599 idr_remove(&ht->handle_idr, n->handle); in u32_clear_hnode() 624 idr_remove(&tp_c->handle_idr, handle2id(ht->handle)); in u32_destroy_hnode() 1006 idr_remove(&tp_c->handle_idr, handle2id(handle)); in u32_change() 1201 idr_remove(&ht->handle_idr, handle);
|
| /linux/include/linux/ |
| H A D | idr.h | 119 void *idr_remove(struct idr *, unsigned long id); 137 if (_T.id >= 0) idr_remove(_T.idr, _T.id),
|
| /linux/drivers/misc/ocxl/ |
| H A D | afu_irq.c | 146 idr_remove(&ctx->irq_idr, irq->id); in ocxl_afu_irq_alloc() 179 idr_remove(&ctx->irq_idr, irq->id); in ocxl_afu_irq_free()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_gem.c | 314 idr_remove(&dev->object_name_idr, obj->name); in drm_gem_object_handle_free() 417 idr_remove(&filp->object_idr, handle); in drm_gem_handle_delete() 532 idr_remove(&file_priv->object_idr, handle); in drm_gem_handle_create_tail() 1062 idr_remove(&file_priv->object_idr, args->new_handle); in drm_gem_change_handle_ioctl() 1078 idr_remove(&file_priv->object_idr, handle); in drm_gem_change_handle_ioctl() 1091 idr_remove(&file_priv->object_idr, args->handle); in drm_gem_change_handle_ioctl()
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | dbring.c | 99 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_bufs_replenish() 371 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_buffer_release_event() 418 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_buf_cleanup()
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | idr.rst | 40 并通过调用idr_remove()释放该ID。
|
| /linux/drivers/tee/optee/ |
| H A D | supp.c | 48 idr_remove(&supp->idr, id); in optee_supp_release() 303 idr_remove(&supp->idr, id); in supp_pop_req()
|
| /linux/drivers/misc/ |
| H A D | tifm_core.c | 209 idr_remove(&tifm_adapter_idr, fm->id); in tifm_add_adapter() 228 idr_remove(&tifm_adapter_idr, fm->id); in tifm_remove_adapter()
|
| /linux/lib/ |
| H A D | codetag.c | 212 idr_remove(&cttype->mod_idr, mod_id); in codetag_module_init() 367 idr_remove(&cttype->mod_idr, mod_id); in codetag_unload_module()
|
| H A D | idr.c | 154 void *idr_remove(struct idr *idr, unsigned long id) in idr_remove() function 158 EXPORT_SYMBOL_GPL(idr_remove);
|
| /linux/drivers/tee/ |
| H A D | tee_shm.c | 153 idr_remove(&teedev->idr, id); in tee_shm_alloc_user_buf() 519 idr_remove(&teedev->idr, id); in tee_shm_register_user_buf() 711 idr_remove(&teedev->idr, shm->id); in tee_shm_put()
|
| /linux/drivers/gpu/drm/i915/gvt/ |
| H A D | vgpu.c | 240 idr_remove(&gvt->vgpu_idr, vgpu->id); in intel_gvt_destroy_vgpu() 403 idr_remove(&gvt->vgpu_idr, vgpu->id); in intel_gvt_create_vgpu()
|
| /linux/drivers/pps/ |
| H A D | pps.c | 403 idr_remove(&pps_idr, pps->id); in pps_register_cdev() 418 idr_remove(&pps_idr, pps->id); in pps_unregister_cdev()
|
| /linux/drivers/rapidio/ |
| H A D | rio_cm.c | 465 idr_remove(&ch_idr, ch->id); in riocm_close_handler() 1181 idr_remove(&ch_idr, new_ch->id); in riocm_ch_accept() 1509 idr_remove(&ch_idr, ch->id); in riocm_cdev_release() 1703 idr_remove(&ch_idr, ch->id); in cm_chan_close() 2044 idr_remove(&ch_idr, ch->id); in riocm_remove_dev() 2205 idr_remove(&ch_idr, ch->id); in riocm_remove_mport() 2255 idr_remove(&ch_idr, ch->id); in rio_cm_shutdown()
|
| /linux/fs/fuse/ |
| H A D | backing.c | 61 fb = idr_remove(&fc->backing_files_map, id); in fuse_backing_id_remove()
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | ttm_object.c | 219 idr_remove(&tdev->idr, base->handle); in ttm_base_object_init() 231 idr_remove(&tdev->idr, base->handle); in ttm_release_base()
|
| /linux/fs/smb/server/ |
| H A D | vfs_cache.c | 420 idr_remove(global_ft.idr, fp->persistent_id); in __ksmbd_remove_durable_fd() 450 idr_remove(ft->idr, fp->volatile_id); in __ksmbd_remove_fd() 918 idr_remove(ft->idr, id); in __close_file_table_ids() 964 idr_remove(ft->idr, id); in __close_file_table_ids()
|
| /linux/drivers/mtd/ubi/ |
| H A D | block.c | 438 idr_remove(&ubiblock_minor_idr, gd->first_minor); in ubiblock_create() 461 idr_remove(&ubiblock_minor_idr, id); in ubiblock_cleanup()
|
| /linux/sound/soc/qcom/qdsp6/ |
| H A D | topology.c | 970 idr_remove(&apm->modules_idr, mod->instance_id); in audioreach_widget_unload() 980 idr_remove(&apm->containers_idr, cont->container_id); in audioreach_widget_unload() 988 idr_remove(&apm->sub_graphs_idr, sg->sub_graph_id); in audioreach_widget_unload() 994 idr_remove(&apm->graph_info_idr, info->id); in audioreach_widget_unload()
|