Home
last modified time | relevance | path

Searched refs:idr_find (Results 1 – 25 of 147) sorted by relevance

123456

/linux-6.1.9/drivers/misc/ocxl/
Dafu_irq.c39 irq = idr_find(&ctx->irq_idr, irq_id); in ocxl_irq_set_handler()
174 irq = idr_find(&ctx->irq_idr, irq_id); in ocxl_afu_irq_free()
204 irq = idr_find(&ctx->irq_idr, irq_id); in ocxl_afu_irq_get_addr()
/linux-6.1.9/kernel/irq/
Dtimings.c570 s = idr_find(&irqt_stats, irq); in irq_timings_next_event()
598 s = idr_find(&irqt_stats, irq); in irq_timings_free()
616 s = idr_find(&irqt_stats, irq); in irq_timings_alloc()
786 s = idr_find(&irqt_stats, irq); in irq_timings_test_irqs()
/linux-6.1.9/drivers/reset/
Dreset-ti-sci.c72 control = idr_find(&data->idr, id); in ti_sci_reset_set()
153 control = idr_find(&data->idr, id); in ti_sci_reset_status()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_pgt.c166 pgt_entry = idr_find(&pgt->pgt_idr, mid); in mlxsw_sp_pgt_entry_get()
177 pgt_entry = idr_find(&pgt->pgt_idr, mid); in mlxsw_sp_pgt_entry_put()
295 pgt_entry = idr_find(&mlxsw_sp->pgt->pgt_idr, mid); in mlxsw_sp_pgt_entry_port_del()
/linux-6.1.9/drivers/gpu/drm/v3d/
Dv3d_perfmon.c88 perfmon = idr_find(&v3d_priv->perfmon.idr, id); in v3d_perfmon_find()
198 perfmon = idr_find(&v3d_priv->perfmon.idr, req->id); in v3d_perfmon_get_values_ioctl()
/linux-6.1.9/drivers/rpmsg/
Dqcom_glink_native.c409 channel = idr_find(&glink->rcids, cid); in qcom_glink_handle_intent_req_ack()
724 channel = idr_find(&glink->rcids, cid); in qcom_glink_handle_rx_done()
732 intent = idr_find(&channel->riids, iid); in qcom_glink_handle_rx_done()
767 channel = idr_find(&glink->rcids, cid); in qcom_glink_handle_intent_req()
843 channel = idr_find(&glink->rcids, rcid); in qcom_glink_rx_data()
878 intent = idr_find(&channel->liids, liid); in qcom_glink_rx_data()
953 channel = idr_find(&glink->rcids, cid); in qcom_glink_handle_intent()
992 channel = idr_find(&glink->lcids, lcid); in qcom_glink_rx_open_ack()
1538 channel = idr_find(&glink->rcids, rcid); in qcom_glink_rx_close()
1575 channel = idr_find(&glink->lcids, lcid); in qcom_glink_rx_close_ack()
/linux-6.1.9/drivers/gpu/drm/vc4/
Dvc4_perfmon.c97 perfmon = idr_find(&vc4file->perfmon.idr, id); in vc4_perfmon_find()
240 perfmon = idr_find(&vc4file->perfmon.idr, req->id); in vc4_perfmon_get_values_ioctl()
/linux-6.1.9/drivers/misc/habanalabs/common/
Dmemory_mgr.c25 buf = idr_find(&mmg->handles, lower_32_bits(handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_get()
119 buf = idr_find(&mmg->handles, lower_32_bits(handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_put_handle()
Dhabanalabs_drv.c133 hdev = idr_find(&hl_devs_idr, iminor(inode)); in hl_device_open()
246 hdev = idr_find(&hl_devs_idr, iminor(inode)); in hl_device_open_ctrl()
/linux-6.1.9/drivers/firmware/arm_scmi/
Ddriver.c893 cinfo = idr_find(&info->tx_idr, pi->proto->id); in do_xfer()
1580 pi = idr_find(&info->protocols, protocol_id); in scmi_get_protocol_instance()
1628 pi = idr_find(&info->protocols, protocol_id); in scmi_protocol_release()
1958 base_cinfo = idr_find(&sinfo->tx_idr, SCMI_PROTOCOL_BASE); in scmi_channels_max_msg_configure()
1964 base_cinfo = idr_find(&sinfo->rx_idr, SCMI_PROTOCOL_BASE); in scmi_channels_max_msg_configure()
1982 if (!ret && idr_find(&sinfo->rx_idr, SCMI_PROTOCOL_BASE)) in scmi_xfer_info_init()
2000 cinfo = idr_find(idr, prot_id); in scmi_chan_setup()
2005 cinfo = idr_find(idr, SCMI_PROTOCOL_BASE); in scmi_chan_setup()
2154 phead = idr_find(&scmi_requested_devices, prot_id); in scmi_create_protocol_devices()
2273 child = idr_find(&info->active_protocols, in scmi_protocol_device_request()
[all …]
Dbus.c83 proto = idr_find(&scmi_protocols, protocol_id); in scmi_protocol_get()
98 proto = idr_find(&scmi_protocols, protocol_id); in scmi_protocol_put()
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Didr.rst39 您可以调用idr_alloc()来分配一个未使用的ID。通过调用idr_find()查询与该ID相关的指针,
/linux-6.1.9/drivers/slimbus/
Dsched.c81 if (idr_find(&ctrl->tid_idr, i)) { in slim_ctrl_clk_pause()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_lease.c85 return idr_find(&drm_lease_owner(master)->lessee_idr, lessee_id); in _drm_find_lessee()
92 return idr_find(&master->leases, id) != NULL; in _drm_lease_held_master()
228 if (!idr_find(&dev->mode_config.object_idr, object)) in drm_lease_create()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ctx.c523 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_query()
561 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_query2()
622 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_stable_pstate()
703 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_get()
Damdgpu_mes.c360 process = idr_find(&adev->mes.pasid_idr, pasid); in amdgpu_mes_destroy_process()
444 process = idr_find(&adev->mes.pasid_idr, pasid); in amdgpu_mes_add_gang()
494 gang = idr_find(&adev->mes.gang_id_idr, gang_id); in amdgpu_mes_remove_gang()
661 gang = idr_find(&adev->mes.gang_id_idr, gang_id); in amdgpu_mes_add_hw_queue()
769 queue = idr_find(&adev->mes.queue_id_idr, queue_id); in amdgpu_mes_remove_hw_queue()
995 gang = idr_find(&adev->mes.gang_id_idr, gang_id); in amdgpu_mes_add_ring()
/linux-6.1.9/sound/soc/qcom/qdsp6/
Dq6apm.c45 graph = idr_find(&apm->graph_idr, graph_id); in q6apm_get_audioreach_graph()
53 info = idr_find(&apm->graph_info_idr, graph_id); in q6apm_get_audioreach_graph()
188 sg = idr_find(&apm->sub_graphs_idr, sgid); in q6apm_graph_get_last_module()
206 sg = idr_find(&apm->sub_graphs_idr, sgid); in q6apm_graph_get_first_module()
Dtopology.c31 info = idr_find(&apm->graph_info_idr, graph_id); in audioreach_tplg_alloc_graph_info()
81 sg = idr_find(&apm->sub_graphs_idr, sub_graph_id); in audioreach_tplg_alloc_sub_graph()
123 cont = idr_find(&apm->containers_idr, container_id); in audioreach_tplg_alloc_container()
166 mod = idr_find(&apm->modules_idr, module_id); in audioreach_tplg_alloc_module()
/linux-6.1.9/lib/
Didr.c172 void *idr_find(const struct idr *idr, unsigned long id) in idr_find() function
176 EXPORT_SYMBOL_GPL(idr_find);
/linux-6.1.9/ipc/
Dnamespace.c120 perm = idr_find(&ids->ipcs_idr, next_id); in free_ipcs()
/linux-6.1.9/include/linux/
Didr.h119 void *idr_find(const struct idr *, unsigned long id);
/linux-6.1.9/drivers/gpu/drm/tegra/
Ddrm.c503 context = idr_find(&fpriv->legacy_contexts, args->context); in tegra_close_channel()
528 context = idr_find(&fpriv->legacy_contexts, args->context); in tegra_get_syncpt()
557 context = idr_find(&fpriv->legacy_contexts, args->context); in tegra_submit()
582 context = idr_find(&fpriv->legacy_contexts, args->context); in tegra_get_syncpt_base()
/linux-6.1.9/drivers/tty/serial/
Dmps2-uart.c445 struct mps2_uart_port *mps_port = idr_find(&ports_idr, co->index); in mps2_uart_console_write()
462 mps_port = idr_find(&ports_idr, co->index); in mps2_uart_console_setup()
/linux-6.1.9/drivers/tty/
Drpmsg_tty.c52 struct rpmsg_tty_port *cport = idr_find(&tty_idr, tty->index); in rpmsg_tty_install()
/linux-6.1.9/fs/ksmbd/
Dvfs_cache.c352 fp = idr_find(ft->idr, id); in __ksmbd_lookup_fd()
389 fp = idr_find(ft->idr, id); in ksmbd_close_fd()

123456