Home
last modified time | relevance | path

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

12345678

/linux-6.12.1/tools/testing/radix-tree/
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-6.12.1/drivers/dca/
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-6.12.1/drivers/accel/habanalabs/common/
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()
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-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
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-6.12.1/net/sched/
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()
Dcls_u32.c478 idr_remove(&ht->handle_idr, key->handle); in u32_delete_key()
600 idr_remove(&ht->handle_idr, n->handle); in u32_clear_hnode()
625 idr_remove(&tp_c->handle_idr, handle2id(ht->handle)); in u32_destroy_hnode()
1002 idr_remove(&tp_c->handle_idr, handle2id(handle)); in u32_change()
1195 idr_remove(&ht->handle_idr, handle); in u32_change()
/linux-6.12.1/drivers/misc/ocxl/
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-6.12.1/drivers/net/wireless/ath/ath12k/
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-6.12.1/drivers/net/wireless/ath/ath11k/
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-6.12.1/Documentation/translations/zh_CN/core-api/
Didr.rst40 并通过调用idr_remove()释放该ID。
/linux-6.12.1/drivers/tee/
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-6.12.1/drivers/tee/optee/
Dsupp.c48 idr_remove(&supp->idr, id); in optee_supp_release()
322 idr_remove(&supp->idr, id); in supp_pop_req()
/linux-6.12.1/drivers/misc/
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-6.12.1/drivers/power/supply/
Dds2782_battery.c326 idr_remove(&battery_id, id); in ds278x_battery_remove()
443 idr_remove(&battery_id, num); in ds278x_battery_probe()
/linux-6.12.1/lib/
Didr.c152 void *idr_remove(struct idr *idr, unsigned long id) in idr_remove() function
156 EXPORT_SYMBOL_GPL(idr_remove);
/linux-6.12.1/drivers/gpu/drm/i915/gvt/
Dvgpu.c238 idr_remove(&gvt->vgpu_idr, vgpu->id); in intel_gvt_destroy_vgpu()
401 idr_remove(&gvt->vgpu_idr, vgpu->id); in intel_gvt_create_vgpu()
/linux-6.12.1/drivers/pps/
Dpps.c339 idr_remove(&pps_idr, pps->id); in pps_device_destruct()
399 idr_remove(&pps_idr, pps->id); in pps_register_cdev()
/linux-6.12.1/drivers/rpmsg/
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-6.12.1/drivers/net/wireless/mediatek/mt76/
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-6.12.1/drivers/rapidio/
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-6.12.1/drivers/gpu/drm/amd/amdgpu/
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-6.12.1/drivers/gpu/drm/vmwgfx/
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-6.12.1/drivers/mtd/ubi/
Dblock.c438 idr_remove(&ubiblock_minor_idr, gd->first_minor); in ubiblock_create()
461 idr_remove(&ubiblock_minor_idr, id); in ubiblock_cleanup()
/linux-6.12.1/include/linux/
Didr.h118 void *idr_remove(struct idr *, unsigned long id);

12345678