Home
last modified time | relevance | path

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

12345678

/Linux-v6.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-v6.1/drivers/dca/
Ddca-sysfs.c55 idr_remove(&dca_idr, dca->id); in dca_sysfs_add_provider()
68 idr_remove(&dca_idr, dca->id); in dca_sysfs_remove_provider()
/Linux-v6.1/drivers/misc/habanalabs/common/
Dmemory_mgr.c68 idr_remove(&buf->mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_release()
87 idr_remove(&buf->mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_remove_idr_locked()
186 idr_remove(&mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_alloc()
Dcontext.c19 idr_remove(&mgr->handles, handle->id); in hl_encaps_handle_do_release()
39 idr_remove(&mgr->handles, handle->id); in hl_encaps_handle_do_release_sob()
181 idr_remove(&ctx_mgr->handles, ctx->handle); in hl_ctx_create()
Dhabanalabs_drv.c450 idr_remove(&hl_devs_idr, main_id); in create_hdev()
480 idr_remove(&hl_devs_idr, hdev->id); in destroy_hdev()
481 idr_remove(&hl_devs_idr, hdev->id_control); in destroy_hdev()
/Linux-v6.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()
88 idr_remove(&mlxsw_sp->pgt->pgt_idr, mid_base + i); in mlxsw_sp_pgt_mid_alloc_range()
103 WARN_ON_ONCE(idr_remove(pgt_idr, mid_base + i)); in mlxsw_sp_pgt_mid_free_range()
/Linux-v6.1/net/sched/
Dcls_basic.c115 idr_remove(&head->handle_idr, f->handle); in basic_destroy()
133 idr_remove(&head->handle_idr, f->handle); in basic_delete()
223 idr_remove(&head->handle_idr, fnew->handle); in basic_change()
/Linux-v6.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-v6.1/drivers/power/supply/
Dbq27xxx_battery_i2c.c202 idr_remove(&battery_id, num); in bq27xxx_battery_i2c_probe()
215 idr_remove(&battery_id, di->id); in bq27xxx_battery_i2c_remove()
Dds2782_battery.c326 idr_remove(&battery_id, id); in ds278x_battery_remove()
443 idr_remove(&battery_id, num); in ds278x_battery_probe()
/Linux-v6.1/drivers/net/wireless/ath/ath11k/
Ddbring.c95 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_bufs_replenish()
347 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_buffer_release_event()
390 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_buf_cleanup()
/Linux-v6.1/drivers/tee/
Dtee_shm.c173 idr_remove(&teedev->idr, id); in tee_shm_alloc_user_buf()
342 idr_remove(&teedev->idr, id); in tee_shm_register_user_buf()
521 idr_remove(&teedev->idr, shm->id); in tee_shm_put()
/Linux-v6.1/Documentation/translations/zh_CN/core-api/
Didr.rst40 并通过调用idr_remove()释放该ID。
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mes.c333 idr_remove(&adev->mes.pasid_idr, pasid); in amdgpu_mes_create_process()
371 idr_remove(&adev->mes.queue_id_idr, queue->queue_id); in amdgpu_mes_destroy_process()
383 idr_remove(&adev->mes.gang_id_idr, gang->gang_id); in amdgpu_mes_destroy_process()
387 idr_remove(&adev->mes.pasid_idr, pasid); in amdgpu_mes_destroy_process()
507 idr_remove(&adev->mes.gang_id_idr, gang->gang_id); in amdgpu_mes_remove_gang()
742 idr_remove(&adev->mes.queue_id_idr, queue->queue_id); in amdgpu_mes_add_hw_queue()
777 idr_remove(&adev->mes.queue_id_idr, queue_id); in amdgpu_mes_remove_hw_queue()
/Linux-v6.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-v6.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-v6.1/drivers/rpmsg/
Dqcom_glink_native.c467 idr_remove(&glink->lcids, channel->lcid); in qcom_glink_send_open_req()
550 idr_remove(&channel->liids, intent->id); in qcom_glink_rx_done()
743 idr_remove(&channel->riids, intent->id); in qcom_glink_handle_rx_done()
1112 idr_remove(&glink->lcids, channel->lcid); in qcom_glink_create_local()
1520 idr_remove(&glink->rcids, channel->rcid); in qcom_glink_rx_open()
1558 idr_remove(&glink->rcids, channel->rcid); in qcom_glink_rx_close()
1581 idr_remove(&glink->lcids, channel->lcid); in qcom_glink_rx_close_ack()
/Linux-v6.1/drivers/pps/
Dpps.c340 idr_remove(&pps_idr, pps->id); in pps_device_destruct()
400 idr_remove(&pps_idr, pps->id); in pps_register_cdev()
/Linux-v6.1/drivers/gpu/drm/i915/gvt/
Dvgpu.c238 idr_remove(&gvt->vgpu_idr, vgpu->id); in intel_gvt_destroy_vgpu()
402 idr_remove(&gvt->vgpu_idr, vgpu->id); in intel_gvt_create_vgpu()
/Linux-v6.1/lib/
Didr.c152 void *idr_remove(struct idr *idr, unsigned long id) in idr_remove() function
156 EXPORT_SYMBOL_GPL(idr_remove);
/Linux-v6.1/sound/soc/qcom/qdsp6/
Dtopology.c827 idr_remove(&apm->modules_idr, mod->instance_id); in audioreach_widget_unload()
836 idr_remove(&apm->containers_idr, cont->container_id); in audioreach_widget_unload()
844 idr_remove(&apm->sub_graphs_idr, sg->sub_graph_id); in audioreach_widget_unload()
850 idr_remove(&apm->graph_info_idr, info->id); in audioreach_widget_unload()
/Linux-v6.1/drivers/gpio/
Dgpio-aggregator.c169 idr_remove(&gpio_aggregator_idr, id); in new_device_store()
204 aggr = idr_remove(&gpio_aggregator_idr, id); in delete_device_store()
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/
Dtx.c169 skb = idr_remove(&wcid->pktid, pktid); in mt76_tx_status_skb_get()
189 idr_remove(&wcid->pktid, cb->pktid); in mt76_tx_status_skb_get()
766 txwi = idr_remove(&dev->token, token); in mt76_token_release()
/Linux-v6.1/drivers/gpu/drm/
Ddrm_gem.c188 idr_remove(&dev->object_name_idr, obj->name); in drm_gem_object_handle_free()
277 idr_remove(&filp->object_idr, handle); in drm_gem_handle_delete()
394 idr_remove(&file_priv->object_idr, handle); in drm_gem_handle_create_tail()
/Linux-v6.1/drivers/rapidio/
Drio_cm.c469 idr_remove(&ch_idr, ch->id); in riocm_close_handler()
1182 idr_remove(&ch_idr, new_ch->id); in riocm_ch_accept()
1510 idr_remove(&ch_idr, ch->id); in riocm_cdev_release()
1704 idr_remove(&ch_idr, ch->id); in cm_chan_close()
2045 idr_remove(&ch_idr, ch->id); in riocm_remove_dev()
2210 idr_remove(&ch_idr, ch->id); in riocm_remove_mport()
2260 idr_remove(&ch_idr, ch->id); in rio_cm_shutdown()

12345678