Home
last modified time | relevance | path

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

12345678

/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()
H A Dcls_u32.c468 idr_remove(&ht->handle_idr, key->handle); in u32_delete_key()
590 idr_remove(&ht->handle_idr, n->handle); in u32_clear_hnode()
615 idr_remove(&tp_c->handle_idr, ht->handle); in u32_destroy_hnode()
992 idr_remove(&tp_c->handle_idr, handle); in u32_change()
1185 idr_remove(&ht->handle_idr, handle); in u32_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()
322 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.c326 idr_remove(&battery_id, id); in ds278x_battery_remove()
443 idr_remove(&battery_id, num); in ds278x_battery_probe()
/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/rpmsg/
H A Dqcom_glink_native.c517 idr_remove(&glink->lcids, channel->lcid); in qcom_glink_send_open_req()
609 idr_remove(&channel->liids, intent->id); in qcom_glink_rx_done()
819 idr_remove(&channel->riids, intent->id); in qcom_glink_handle_rx_done()
1274 idr_remove(&glink->lcids, channel->lcid); in qcom_glink_create_local()
1686 idr_remove(&glink->rcids, channel->rcid); in qcom_glink_rx_open()
1727 idr_remove(&glink->rcids, channel->rcid); in qcom_glink_rx_close()
1753 idr_remove(&glink->lcids, channel->lcid); in qcom_glink_rx_close_ack()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dtx.c178 skb = idr_remove(&wcid->pktid, pktid); in mt76_tx_status_skb_get()
198 idr_remove(&wcid->pktid, cb->pktid); in mt76_tx_status_skb_get()
888 txwi = idr_remove(&dev->token, token); in mt76_token_release()
916 t = idr_remove(&dev->rx_token, token); in mt76_rx_token_release()
/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/amd/amdgpu/
H A Damdgpu_mes.c355 idr_remove(&adev->mes.queue_id_idr, queue->queue_id); in amdgpu_mes_destroy_process()
367 idr_remove(&adev->mes.gang_id_idr, gang->gang_id); in amdgpu_mes_destroy_process()
370 idr_remove(&adev->mes.pasid_idr, pasid); in amdgpu_mes_destroy_process()
489 idr_remove(&adev->mes.gang_id_idr, gang->gang_id); in amdgpu_mes_remove_gang()
727 idr_remove(&adev->mes.queue_id_idr, queue->queue_id); in amdgpu_mes_add_hw_queue()
762 idr_remove(&adev->mes.queue_id_idr, queue_id); in amdgpu_mes_remove_hw_queue()
/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/mtd/ubi/
H A Dblock.c438 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 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/include/linux/
H A Didr.h118 void *idr_remove(struct idr *, unsigned long id);
/linux/drivers/usb/host/
H A Dxhci-dbgtty.c491 idr_remove(&dbc_tty_minors, port->minor); in xhci_dbc_tty_register_device()
511 idr_remove(&dbc_tty_minors, port->minor); in xhci_dbc_tty_unregister_device()

12345678