Home
last modified time | relevance | path

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

1234

/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()
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 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/drivers/tee/optee/
H A Dsupp.c54 idr_remove(&supp->idr, id); in optee_supp_release()
138 idr_remove(&supp->idr, req->id); in optee_supp_thrd_req()
345 idr_remove(&supp->idr, id); in supp_pop_req()
/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()
H A Dcls_u32.c477 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 Didr.h119 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 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/Documentation/translations/zh_CN/core-api/
H A Didr.rst40 并通过调用idr_remove()释放该ID。
/linux/drivers/net/wireless/ath/ath11k/
H A Ddbring.c99 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/drivers/tee/
H A Dtee_shm.c153 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 Dvgpu.c240 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()
H A Ddmabuf.c147 idr_remove(&vgpu->object_idr, in dmabuf_gem_object_free()
582 idr_remove(&vgpu->object_idr, dmabuf_obj->dmabuf_id); in intel_vgpu_dmabuf_cleanup()
/linux/drivers/pps/
H A Dpps.c403 idr_remove(&pps_idr, pps->id); in pps_register_cdev()
418 idr_remove(&pps_idr, pps->id); in pps_unregister_cdev()
/linux/lib/
H A Didr.c154 void *idr_remove(struct idr *idr, unsigned long id) in idr_remove() function
158 EXPORT_SYMBOL_GPL(idr_remove);
/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/rapidio/
H A Drio_cm.c465 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/sound/soc/qcom/qdsp6/
H A Dtopology.c970 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()
/linux/drivers/memstick/core/
H A Dmemstick.c544 idr_remove(&memstick_host_idr, host->id); in memstick_add_host()
570 idr_remove(&memstick_host_idr, host->id); in memstick_remove_host()
/linux/drivers/usb/host/
H A Dxhci-dbgtty.c538 idr_remove(&dbc_tty_minors, port->minor); in xhci_dbc_tty_register_device()
564 idr_remove(&dbc_tty_minors, port->minor); in xhci_dbc_tty_unregister_device()
/linux/drivers/gpu/drm/
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/ipc/
H A Dutil.c312 idr_remove(&ids->ipcs_idr, idx); in ipc_addid()
501 WARN_ON_ONCE(idr_remove(&ids->ipcs_idr, idx) != ipcp); in ipc_rmid()
/linux/drivers/tty/
H A Drpmsg_tty.c160 idr_remove(&tty_idr, cport->id); in rpmsg_tty_destruct_port()

1234