Home
last modified time | relevance | path

Searched refs:idr_remove (Results 1 – 25 of 136) sorted by relevance

123456

/linux/tools/testing/radix-tree/
H A Didr-test.c29 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()
85 idr_remove(&idr, 0); in idr_null_test()
101 idr_remove(&idr, 5); in idr_null_test()
103 idr_remove(&idr, 5); in idr_null_test()
106 idr_remove(&idr, i); in idr_null_test()
109 idr_remove(&idr, 8); in idr_null_test()
111 idr_remove(&idr, 9); in idr_null_test()
206 BUG_ON(idr_remove(idr, id) != DUMMY_PTR); in idr_u32_test1()
[all …]
/linux/drivers/dca/
H A Ddca-sysfs.c57 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 Dmemory_mgr.c67 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 Dcontext.c21 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 Dspectrum_pgt.c53 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 Dcls_basic.c117 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()
/linux/drivers/misc/ocxl/
H A Dafu_irq.c146 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/net/wireless/ath/ath12k/
H A Ddbring.c65 idr_remove(&ring->bufs_idr, buf_id); in ath12k_dbring_bufs_replenish()
310 idr_remove(&ring->bufs_idr, buf_id); in ath12k_dbring_buffer_release_event()
349 idr_remove(&ring->bufs_idr, buf_id); in ath12k_dbring_buf_cleanup()
/linux/drivers/net/wireless/ath/ath11k/
H A Ddbring.c96 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_bufs_replenish()
348 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_buffer_release_event()
391 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_buf_cleanup()
/linux/drivers/tee/
H A Dtee_shm.c146 idr_remove(&teedev->idr, id); in tee_shm_alloc_user_buf()
390 idr_remove(&teedev->idr, id); in tee_shm_register_user_buf()
575 idr_remove(&teedev->idr, shm->id); in tee_shm_put()
/linux/Documentation/translations/zh_CN/core-api/
H A Didr.rst40 并通过调用idr_remove()释放该ID。
/linux/drivers/tee/optee/
H A Dsupp.c48 idr_remove(&supp->idr, id); in optee_supp_release()
303 idr_remove(&supp->idr, id); in supp_pop_req()
/linux/drivers/misc/
H A Dtifm_core.c209 idr_remove(&tifm_adapter_idr, fm->id); in tifm_add_adapter()
228 idr_remove(&tifm_adapter_idr, fm->id); in tifm_remove_adapter()
/linux/drivers/power/supply/
H A Dds2782_battery.c
/linux/lib/
H A Didr.c152 void *idr_remove(struct idr *idr, unsigned long id) in idr_remove() function
156 EXPORT_SYMBOL_GPL(idr_remove);
/linux/drivers/pps/
H A Dpps.c394 idr_remove(&pps_idr, pps->id); in pps_register_cdev()
409 idr_remove(&pps_idr, pps->id); in pps_unregister_cdev()
/linux/drivers/rapidio/
H A Drio_cm.c471 idr_remove(&ch_idr, ch->id); in riocm_close_handler()
1184 idr_remove(&ch_idr, new_ch->id); in riocm_ch_accept()
1512 idr_remove(&ch_idr, ch->id); in riocm_cdev_release()
1706 idr_remove(&ch_idr, ch->id); in cm_chan_close()
2047 idr_remove(&ch_idr, ch->id); in riocm_remove_dev()
2208 idr_remove(&ch_idr, ch->id); in riocm_remove_mport()
2258 idr_remove(&ch_idr, ch->id); in rio_cm_shutdown()
/linux/drivers/gpu/drm/vmwgfx/
H A Dttm_object.c219 idr_remove(&tdev->idr, base->handle); in ttm_base_object_init()
231 idr_remove(&tdev->idr, base->handle); in ttm_release_base()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_mes.c340 idr_remove(&adev->mes.queue_id_idr, queue->queue_id); in amdgpu_mes_destroy_process()
352 idr_remove(&adev->mes.gang_id_idr, gang->gang_id); in amdgpu_mes_destroy_process()
355 idr_remove(&adev->mes.pasid_idr, pasid); in amdgpu_mes_destroy_process()
474 idr_remove(&adev->mes.gang_id_idr, gang->gang_id); in amdgpu_mes_remove_gang()
712 idr_remove(&adev->mes.queue_id_idr, queue->queue_id); in amdgpu_mes_add_hw_queue()
747 idr_remove(&adev->mes.queue_id_idr, queue_id); in amdgpu_mes_remove_hw_queue()
/linux/include/linux/
H A Didr.h118 void *idr_remove(struct idr *, unsigned long id);
/linux/sound/soc/qcom/qdsp6/
H A Dtopology.c946 idr_remove(&apm->modules_idr, mod->instance_id); in audioreach_widget_unload()
955 idr_remove(&apm->containers_idr, cont->container_id); in audioreach_widget_unload()
963 idr_remove(&apm->sub_graphs_idr, sg->sub_graph_id); in audioreach_widget_unload()
969 idr_remove(&apm->graph_info_idr, info->id); in audioreach_widget_unload()
/linux/drivers/usb/host/
H A Dxhci-dbgtty.c523 idr_remove(&dbc_tty_minors, port->minor);
543 idr_remove(&dbc_tty_minors, port->minor); in xhci_dbc_tty_probe()
/linux/drivers/gpu/drm/
H A Ddrm_gem.c231 idr_remove(&dev->object_name_idr, obj->name); in drm_gem_object_handle_free()
320 idr_remove(&filp->object_idr, handle); in drm_gem_handle_delete()
430 idr_remove(&file_priv->object_idr, handle); in drm_gem_handle_create_tail()
H A Ddrm_lease.c283 idr_remove(&(drm_lease_owner(master)->lessee_idr), master->lessee_id); in drm_lease_destroy()
318 idr_remove(&master->leases, object); in _drm_lease_revoke()
/linux/fs/smb/client/
H A Dcifs_swn.c365 idr_remove(&cifs_swnreg_idr, reg->id); in cifs_get_swn_reg()
381 idr_remove(&cifs_swnreg_idr, swnreg->id); in cifs_swn_reg_release()

123456