Home
last modified time | relevance | path

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

12345

/Linux-v5.4/drivers/misc/mic/scif/
Dscif_ports.c87 port = idr_find(&scif_ports, id); in scif_get_port()
106 port = idr_find(&scif_ports, id); in scif_put_port()
/Linux-v5.4/drivers/misc/ocxl/
Dafu_irq.c38 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()
203 irq = idr_find(&ctx->irq_idr, irq_id); in ocxl_afu_irq_get_addr()
/Linux-v5.4/kernel/irq/
Dtimings.c565 s = idr_find(&irqt_stats, irq); in irq_timings_next_event()
593 s = idr_find(&irqt_stats, irq); in irq_timings_free()
611 s = idr_find(&irqt_stats, irq); in irq_timings_alloc()
781 s = idr_find(&irqt_stats, irq); in irq_timings_test_irqs()
/Linux-v5.4/drivers/reset/
Dreset-ti-sci.c80 control = idr_find(&data->idr, id); in ti_sci_reset_set()
161 control = idr_find(&data->idr, id); in ti_sci_reset_status()
/Linux-v5.4/drivers/rpmsg/
Dqcom_glink_native.c363 channel = idr_find(&glink->rcids, cid); in qcom_glink_handle_intent_req_ack()
678 channel = idr_find(&glink->rcids, cid); in qcom_glink_handle_rx_done()
686 intent = idr_find(&channel->riids, iid); in qcom_glink_handle_rx_done()
721 channel = idr_find(&glink->rcids, cid); in qcom_glink_handle_intent_req()
797 channel = idr_find(&glink->rcids, rcid); in qcom_glink_rx_data()
832 intent = idr_find(&channel->liids, liid); in qcom_glink_rx_data()
906 channel = idr_find(&glink->rcids, cid); in qcom_glink_handle_intent()
945 channel = idr_find(&glink->lcids, lcid); in qcom_glink_rx_open_ack()
1447 channel = idr_find(&glink->rcids, rcid); in qcom_glink_rx_close()
1479 channel = idr_find(&glink->lcids, lcid); in qcom_glink_rx_close_ack()
/Linux-v5.4/drivers/gpu/drm/vc4/
Dvc4_perfmon.c70 perfmon = idr_find(&vc4file->perfmon.idr, id); in vc4_perfmon_find()
191 perfmon = idr_find(&vc4file->perfmon.idr, req->id); in vc4_perfmon_get_values_ioctl()
/Linux-v5.4/ipc/
Dutil.c475 } while (!idr_find(&ids->ipcs_idr, idx)); in ipc_rmid()
598 out = idr_find(&ids->ipcs_idr, idx); in ipc_obtain_object_idr()
762 ipc = idr_find(&ids->ipcs_idr, id); in sysvipc_find_ipc()
771 ipc = idr_find(&ids->ipcs_idr, pos); in sysvipc_find_ipc()
Dnamespace.c107 perm = idr_find(&ids->ipcs_idr, next_id); in free_ipcs()
/Linux-v5.4/drivers/slimbus/
Dsched.c81 if (idr_find(&ctrl->tid_idr, i)) { in slim_ctrl_clk_pause()
Dmessaging.c31 txn = idr_find(&ctrl->tid_idr, tid); in slim_msg_response()
/Linux-v5.4/security/apparmor/
Dsecid.c64 label = idr_find(&aa_secids, secid); in aa_secid_to_label()
/Linux-v5.4/drivers/misc/habanalabs/
Dhabanalabs_drv.c89 hdev = idr_find(&hl_devs_idr, iminor(inode)); in hl_device_open()
180 hdev = idr_find(&hl_devs_idr, iminor(inode)); in hl_device_open_ctrl()
Dcommand_buffer.c195 cb = idr_find(&mgr->cb_handles, handle); in hl_cb_destroy()
345 cb = idr_find(&mgr->cb_handles, handle); in hl_cb_get()
/Linux-v5.4/drivers/gpu/drm/
Ddrm_lease.c53 return idr_find(&drm_lease_owner(master)->lessee_idr, lessee_id); in _drm_find_lessee()
71 return idr_find(&master->leases, id) != NULL; in _drm_lease_held_master()
217 if (!idr_find(&dev->mode_config.object_idr, object)) in drm_lease_create()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ctx.c325 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_query()
361 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_query2()
450 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_get()
/Linux-v5.4/lib/
Didr.c172 void *idr_find(const struct idr *idr, unsigned long id) in idr_find() function
176 EXPORT_SYMBOL_GPL(idr_find);
/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_events.c130 return idr_find(&p->event_idr, id); in lookup_event_by_id()
165 return idr_find(&p->event_idr, id); in lookup_signaled_event_by_partial_id()
175 ev = idr_find(&p->event_idr, id); in lookup_signaled_event_by_partial_id()
/Linux-v5.4/include/linux/
Didr.h119 void *idr_find(const struct idr *, unsigned long id);
/Linux-v5.4/drivers/firmware/arm_scmi/
Dbus.c52 scmi_prot_init_fn_t fn = idr_find(&scmi_protocols, protocol_id); in scmi_protocol_init()
/Linux-v5.4/drivers/gpu/drm/via/
Dvia_mm.c192 obj = idr_find(&dev_priv->object_idr, mem->index); in via_mem_free()
/Linux-v5.4/drivers/gpu/drm/tegra/
Ddrm.c650 context = idr_find(&fpriv->contexts, args->context); in tegra_close_channel()
675 context = idr_find(&fpriv->contexts, args->context); in tegra_get_syncpt()
704 context = idr_find(&fpriv->contexts, args->context); in tegra_submit()
729 context = idr_find(&fpriv->contexts, args->context); in tegra_get_syncpt_base()
/Linux-v5.4/tools/testing/radix-tree/
Didr-test.c27 struct item *item = idr_find(idr, id); in item_idr_remove()
267 BUG_ON(idr_find(idr, 0) != &name[i]); in idr_align_test()
/Linux-v5.4/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-v5.4/net/tipc/
Dtopsrv.c219 con = idr_find(&s->conn_idr, conid); in tipc_conn_lookup()
682 con = idr_find(&srv->conn_idr, id); in tipc_topsrv_stop()
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dtxrx.c65 msdu = idr_find(&htt->pending_tx, tx_done->msdu_id); in ath10k_txrx_tx_unref()

12345