idr_find 1589 arch/x86/kvm/hyperv.c eventfd = idr_find(&vcpu->kvm->arch.hyperv.conn_to_evt, param); idr_find 290 block/bsg.c bcd = idr_find(&bsg_minor_idr, iminor(inode)); idr_find 885 block/genhd.c part = idr_find(&ext_devt_idr, blk_mangle_minor(MINOR(devt))); idr_find 1153 drivers/atm/nicstar.c card->rcbuf = idr_find(&card->idr, idr_find 1013 drivers/block/drbd/drbd_int.h return (struct drbd_device *)idr_find(&drbd_devices, minor); idr_find 1024 drivers/block/drbd/drbd_int.h return idr_find(&connection->peer_devices, volume_number); idr_find 3698 drivers/block/drbd/drbd_nl.c device = idr_find(idr_to_search, minor); idr_find 2145 drivers/block/loop.c lo = idr_find(&loop_index_idr, i); idr_find 1843 drivers/block/nbd.c nbd = idr_find(&nbd_index_idr, new_index); idr_find 1846 drivers/block/nbd.c nbd = idr_find(&nbd_index_idr, index); idr_find 1854 drivers/block/nbd.c nbd = idr_find(&nbd_index_idr, index); idr_find 2014 drivers/block/nbd.c nbd = idr_find(&nbd_index_idr, index); idr_find 2055 drivers/block/nbd.c nbd = idr_find(&nbd_index_idr, index); idr_find 2277 drivers/block/nbd.c nbd = idr_find(&nbd_index_idr, index); idr_find 2045 drivers/block/zram/zram_drv.c zram = idr_find(&zram_index_idr, dev_id); idr_find 512 drivers/firewire/core-cdev.c resource = idr_find(&client->resource_idr, handle); idr_find 756 drivers/firewire/core-device.c device = idr_find(&fw_device_idr, MINOR(devt)); idr_find 52 drivers/firmware/arm_scmi/bus.c scmi_prot_init_fn_t fn = idr_find(&scmi_protocols, protocol_id); idr_find 438 drivers/firmware/arm_scmi/driver.c cinfo = idr_find(&info->tx_idr, xfer->hdr.protocol_id); idr_find 739 drivers/firmware/arm_scmi/driver.c cinfo = idr_find(idr, SCMI_PROTOCOL_BASE); idr_find 173 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c *result = idr_find(&fpriv->bo_list_handles, id); idr_find 325 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c ctx = idr_find(&mgr->ctx_handles, id); idr_find 361 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c ctx = idr_find(&mgr->ctx_handles, id); idr_find 450 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c ctx = idr_find(&mgr->ctx_handles, id); idr_find 3104 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c vm = idr_find(&adev->vm_manager.pasid_idr, pasid); idr_find 130 drivers/gpu/drm/amd/amdkfd/kfd_events.c return idr_find(&p->event_idr, id); idr_find 165 drivers/gpu/drm/amd/amdkfd/kfd_events.c return idr_find(&p->event_idr, id); idr_find 175 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev = idr_find(&p->event_idr, id); idr_find 891 drivers/gpu/drm/amd/amdkfd/kfd_process.c return idr_find(&pdd->alloc_idr, handle); idr_find 93 drivers/gpu/drm/drm_auth.c file = idr_find(&file_priv->master->magic_map, auth->magic); idr_find 191 drivers/gpu/drm/drm_context.c map = idr_find(&dev->ctx_idr, request->ctx_id); idr_find 65 drivers/gpu/drm/drm_dp_aux_dev.c aux_dev = idr_find(&aux_idr, index); idr_find 247 drivers/gpu/drm/drm_drv.c minor = idr_find(&drm_minors_idr, minor_id); idr_find 666 drivers/gpu/drm/drm_gem.c obj = idr_find(&filp->object_idr, handle[i]); idr_find 892 drivers/gpu/drm/drm_gem.c obj = idr_find(&dev->object_name_idr, (int) args->name); idr_find 53 drivers/gpu/drm/drm_lease.c return idr_find(&drm_lease_owner(master)->lessee_idr, lessee_id); idr_find 71 drivers/gpu/drm/drm_lease.c return idr_find(&master->leases, id) != NULL; idr_find 217 drivers/gpu/drm/drm_lease.c if (!idr_find(&dev->mode_config.object_idr, object)) idr_find 143 drivers/gpu/drm/drm_mode_object.c obj = idr_find(&dev->mode_config.object_idr, id); idr_find 168 drivers/gpu/drm/drm_syncobj.c syncobj = idr_find(&file_private->syncobj_idr, handle); idr_find 87 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c obj = idr_find(&file->object_idr, bo->handle); idr_find 1146 drivers/gpu/drm/etnaviv/etnaviv_gpu.c fence = idr_find(&gpu->fence_idr, id); idr_find 1063 drivers/gpu/drm/i915/gem/i915_gem_context.c vm = idr_find(&file_priv->vm_idr, args->value); idr_find 66 drivers/gpu/drm/i915/gem/i915_gem_object.h return idr_find(&file->object_idr, handle); idr_find 2362 drivers/gpu/drm/i915/i915_drv.h return idr_find(&file_priv->context_idr, id); idr_find 407 drivers/gpu/drm/i915/i915_perf.c *out_config = idr_find(&dev_priv->perf.metrics_idr, metrics_set); idr_find 3486 drivers/gpu/drm/i915/i915_perf.c oa_config = idr_find(&dev_priv->perf.metrics_idr, *arg); idr_find 120 drivers/gpu/drm/msm/msm_gem_submit.c obj = idr_find(&file->object_idr, submit->bos[i].handle); idr_find 634 drivers/gpu/drm/qxl/qxl_cmd.c objptr = idr_find(&qdev->surf_id_idr, surfid); idr_find 394 drivers/gpu/drm/qxl/qxl_release.c release = idr_find(&qdev->release_idr, id); idr_find 173 drivers/gpu/drm/sis/sis_mm.c obj = idr_find(&dev_priv->object_idr, mem->free); idr_find 650 drivers/gpu/drm/tegra/drm.c context = idr_find(&fpriv->contexts, args->context); idr_find 675 drivers/gpu/drm/tegra/drm.c context = idr_find(&fpriv->contexts, args->context); idr_find 704 drivers/gpu/drm/tegra/drm.c context = idr_find(&fpriv->contexts, args->context); idr_find 729 drivers/gpu/drm/tegra/drm.c context = idr_find(&fpriv->contexts, args->context); idr_find 332 drivers/gpu/drm/v3d/v3d_gem.c struct drm_gem_object *bo = idr_find(&file_priv->object_idr, idr_find 682 drivers/gpu/drm/v3d/v3d_gem.c bo = idr_find(&file_priv->object_idr, idr_find 771 drivers/gpu/drm/vc4/vc4_gem.c struct drm_gem_object *bo = idr_find(&file_priv->object_idr, idr_find 70 drivers/gpu/drm/vc4/vc4_perfmon.c perfmon = idr_find(&vc4file->perfmon.idr, id); idr_find 191 drivers/gpu/drm/vc4/vc4_perfmon.c perfmon = idr_find(&vc4file->perfmon.idr, req->id); idr_find 192 drivers/gpu/drm/via/via_mm.c obj = idr_find(&dev_priv->object_idr, mem->index); idr_find 290 drivers/gpu/drm/vmwgfx/ttm_object.c base = idr_find(&tdev->idr, key); idr_find 1269 drivers/hwtracing/coresight/coresight-tmc-etr.c etr_buf = idr_find(&drvdata->idr, pid); idr_find 1557 drivers/i2c/i2c-core-base.c found = idr_find(&i2c_adapter_idr, adap->nr); idr_find 2337 drivers/i2c/i2c-core-base.c adapter = idr_find(&i2c_adapter_idr, nr); idr_find 99 drivers/interconnect/core.c return idr_find(&icc_idr, id); idr_find 60 drivers/iommu/intel-pasid.c p = idr_find(&pasid_idr, pasid); idr_find 2321 drivers/md/dm.c md = idr_find(&_minor_idr, minor); idr_find 188 drivers/misc/cxl/main.c if ((adapter = idr_find(&cxl_adapter_idr, num))) idr_find 1198 drivers/misc/cxl/native.c ctx = idr_find(&afu->contexts_idr, ph); idr_find 1496 drivers/misc/fastrpc.c ctx = idr_find(&cctx->ctx_idr, ctxid); idr_find 195 drivers/misc/habanalabs/command_buffer.c cb = idr_find(&mgr->cb_handles, handle); idr_find 345 drivers/misc/habanalabs/command_buffer.c cb = idr_find(&mgr->cb_handles, handle); idr_find 89 drivers/misc/habanalabs/habanalabs_drv.c hdev = idr_find(&hl_devs_idr, iminor(inode)); idr_find 180 drivers/misc/habanalabs/habanalabs_drv.c hdev = idr_find(&hl_devs_idr, iminor(inode)); idr_find 311 drivers/misc/habanalabs/memory.c phys_pg_pack = idr_find(&vm->phys_pg_pack_handles, handle); idr_find 796 drivers/misc/habanalabs/memory.c phys_pg_pack = idr_find(&vm->phys_pg_pack_handles, handle); idr_find 863 drivers/misc/habanalabs/memory.c phys_pg_pack = idr_find(&vm->phys_pg_pack_handles, handle); idr_find 87 drivers/misc/mic/scif/scif_ports.c port = idr_find(&scif_ports, id); idr_find 106 drivers/misc/mic/scif/scif_ports.c port = idr_find(&scif_ports, id); idr_find 38 drivers/misc/ocxl/afu_irq.c irq = idr_find(&ctx->irq_idr, irq_id); idr_find 174 drivers/misc/ocxl/afu_irq.c irq = idr_find(&ctx->irq_idr, irq_id); idr_find 203 drivers/misc/ocxl/afu_irq.c irq = idr_find(&ctx->irq_idr, irq_id); idr_find 26 drivers/misc/ocxl/file.c info = idr_find(&minors_idr, MINOR(devno)); idr_find 732 drivers/mtd/mtdcore.c if (idr_find(&mtd_idr, mtd->index) != mtd) { idr_find 964 drivers/mtd/mtdcore.c ret = idr_find(&mtd_idr, num); idr_find 1680 drivers/net/dsa/mv88e6xxx/chip.c policy = idr_find(&chip->policies, fs->location); idr_find 213 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c flow = idr_find(&mdev->fpga->tls->rx_idr, ntohl(handle)); idr_find 101 drivers/net/ethernet/netronome/nfp/flower/main.c netdev = idr_find(&priv->internal_ports.port_ids, port_id); idr_find 3311 drivers/net/ppp/ppp_generic.c return idr_find(p, n); idr_find 469 drivers/net/tap.c tap = idr_find(&tap_major->minor_idr, minor); idr_find 65 drivers/net/wireless/ath/ath10k/txrx.c msdu = idr_find(&htt->pending_tx, tx_done->msdu_id); idr_find 2356 drivers/net/wireless/ath/ath10k/wmi.c pkt_addr = idr_find(&wmi->mgmt_pending_tx, param->desc_id); idr_find 1203 drivers/of/overlay.c ovcs = idr_find(&ovcs_idr, *ovcs_id); idr_find 288 drivers/rapidio/rio_cm.c ch = idr_find(&ch_idr, nr); idr_find 464 drivers/rapidio/rio_cm.c ch = idr_find(&ch_idr, ntohs(hh->dst_ch)); idr_find 1695 drivers/rapidio/rio_cm.c ch = idr_find(&ch_idr, ch_num); idr_find 57 drivers/remoteproc/remoteproc_virtio.c rvring = idr_find(&rproc->notifyids, notifyid); idr_find 80 drivers/reset/reset-ti-sci.c control = idr_find(&data->idr, id); idr_find 161 drivers/reset/reset-ti-sci.c control = idr_find(&data->idr, id); idr_find 384 drivers/rpmsg/qcom_glink_native.c channel = idr_find(&glink->rcids, cid); idr_find 699 drivers/rpmsg/qcom_glink_native.c channel = idr_find(&glink->rcids, cid); idr_find 707 drivers/rpmsg/qcom_glink_native.c intent = idr_find(&channel->riids, iid); idr_find 742 drivers/rpmsg/qcom_glink_native.c channel = idr_find(&glink->rcids, cid); idr_find 818 drivers/rpmsg/qcom_glink_native.c channel = idr_find(&glink->rcids, rcid); idr_find 853 drivers/rpmsg/qcom_glink_native.c intent = idr_find(&channel->liids, liid); idr_find 927 drivers/rpmsg/qcom_glink_native.c channel = idr_find(&glink->rcids, cid); idr_find 966 drivers/rpmsg/qcom_glink_native.c channel = idr_find(&glink->lcids, lcid); idr_find 1465 drivers/rpmsg/qcom_glink_native.c channel = idr_find(&glink->rcids, rcid); idr_find 1497 drivers/rpmsg/qcom_glink_native.c channel = idr_find(&glink->lcids, lcid); idr_find 729 drivers/rpmsg/virtio_rpmsg_bus.c ept = idr_find(&vrp->endpoints, msg->dst); idr_find 595 drivers/scsi/ch.c ch = idr_find(&ch_index_idr, minor); idr_find 2272 drivers/scsi/sg.c return idr_find(&sg_index_idr, dev); idr_find 247 drivers/scsi/st.c STp = idr_find(&st_index_idr, dev); idr_find 31 drivers/slimbus/messaging.c txn = idr_find(&ctrl->tid_idr, tid); idr_find 81 drivers/slimbus/sched.c if (idr_find(&ctrl->tid_idr, i)) { idr_find 145 drivers/soc/qcom/apr.c svc = idr_find(&apr->svcs_idr, svc_id); idr_find 490 drivers/soc/qcom/qmi_interface.c txn = idr_find(&qmi->txns, hdr->txn_id); idr_find 2588 drivers/spi/spi.c found = idr_find(&spi_master_idr, id); idr_find 356 drivers/staging/greybus/uart.c gb_tty = idr_find(&tty_minors, minor); idr_find 949 drivers/staging/pi433/pi433_if.c device = idr_find(&pi433_idr, iminor(inode)); idr_find 698 drivers/staging/unisys/visorhba/visorhba_main.c idr_find(idrtable, cmdrsp->scsitaskmgmt.notify_handle); idr_find 700 drivers/staging/unisys/visorhba/visorhba_main.c idr_find(idrtable, cmdrsp->scsitaskmgmt.notifyresult_handle); idr_find 213 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c return idr_find(&instance->context_map, handle); idr_find 315 drivers/tee/optee/supp.c req = idr_find(&supp->idr, id); idr_find 478 drivers/tee/tee_shm.c shm = idr_find(&teedev->idr, id); idr_find 445 drivers/tty/serial/mps2-uart.c struct mps2_uart_port *mps_port = idr_find(&ports_idr, co->index); idr_find 462 drivers/tty/serial/mps2-uart.c mps_port = idr_find(&ports_idr, co->index); idr_find 466 drivers/uio/uio.c idev = idr_find(&uio_idr, iminor(inode)); idr_find 69 drivers/usb/class/cdc-acm.c acm = idr_find(&acm_minors, minor); idr_find 2097 drivers/usb/host/r8a66597-hcd.c bus = idr_find(&usb_bus_idr, hcd->self.busnum); idr_find 67 drivers/usb/serial/usb-serial.c port = idr_find(&serial_minors, minor); idr_find 505 drivers/vfio/vfio.c group = idr_find(&vfio.group_idr, minor); idr_find 1223 fs/dlm/lock.c lkb = idr_find(&ls->ls_lkbidr, lkid); idr_find 350 fs/dlm/recover.c r = idr_find(&ls->ls_recover_idr, (int)id); idr_find 720 fs/kernfs/dir.c kn = idr_find(&root->ino_idr, ino); idr_find 780 fs/nfs/nfs4client.c clp = idr_find(&nn->cb_ident_idr, cb_ident); idr_find 2237 fs/nfsd/nfs4state.c ret = idr_find(&cl->cl_stateids, t->si_opaque.so_id); idr_find 386 fs/notify/inotify/inotify_user.c i_mark = idr_find(idr, wd); idr_find 338 fs/ocfs2/cluster/tcp.c nsw = idr_find(&nn->nn_status_idr, id); idr_find 119 include/linux/idr.h void *idr_find(const struct idr *, unsigned long id); idr_find 107 ipc/namespace.c perm = idr_find(&ids->ipcs_idr, next_id); idr_find 875 ipc/shm.c ipc = idr_find(&shm_ids(ns).ipcs_idr, next_id); idr_find 475 ipc/util.c } while (!idr_find(&ids->ipcs_idr, idx)); idr_find 598 ipc/util.c out = idr_find(&ids->ipcs_idr, idx); idr_find 762 ipc/util.c ipc = idr_find(&ids->ipcs_idr, id); idr_find 772 ipc/util.c ipc = idr_find(&ids->ipcs_idr, pos); idr_find 3496 kernel/bpf/btf.c btf = idr_find(&btf_idr, id); idr_find 2171 kernel/bpf/syscall.c prog = idr_find(&prog_idr, id); idr_find 2209 kernel/bpf/syscall.c map = idr_find(&map_idr, id); idr_find 6242 kernel/cgroup/cgroup.c return idr_find(&ss->css_idr, id); idr_find 10273 kernel/events/core.c pmu = idr_find(&pmu_idr, event->attr.type); idr_find 565 kernel/irq/timings.c s = idr_find(&irqt_stats, irq); idr_find 593 kernel/irq/timings.c s = idr_find(&irqt_stats, irq); idr_find 611 kernel/irq/timings.c s = idr_find(&irqt_stats, irq); idr_find 781 kernel/irq/timings.c s = idr_find(&irqt_stats, irq); idr_find 263 kernel/pid.c return idr_find(&ns->idr, nr); idr_find 726 kernel/workqueue.c return idr_find(&worker_pool_idr, pool_id); idr_find 176 lib/idr.c EXPORT_SYMBOL_GPL(idr_find); idr_find 5020 mm/memcontrol.c return idr_find(&mem_cgroup_idr, id); idr_find 619 mm/vmscan.c shrinker = idr_find(&shrinker_idr, i); idr_find 338 net/9p/client.c req = idr_find(&c->reqs, tag); idr_find 307 net/core/net_namespace.c peer = idr_find(&net->netns_ids, id); idr_find 3789 net/mac80211/cfg.c func = idr_find(&sdata->u.nan.function_inst_ids, inst_id); idr_find 3819 net/mac80211/cfg.c func = idr_find(&sdata->u.nan.function_inst_ids, match->inst_id); idr_find 95 net/netlink/genetlink.c return idr_find(&genl_fam_idr, id); idr_find 487 net/qrtr/qrtr.c ipc = idr_find(&qrtr_ports, port); idr_find 118 net/rxrpc/conn_object.c conn = idr_find(&rxrpc_client_conn_ids, idr_find 352 net/sched/act_api.c p = idr_find(&idrinfo->action_idr, index); idr_find 373 net/sched/act_api.c p = idr_find(&idrinfo->action_idr, index); idr_find 494 net/sched/act_api.c p = idr_find(&idrinfo->action_idr, *index); idr_find 927 net/sched/cls_api.c return idr_find(&tn->idr, block_index); idr_find 513 net/sched/cls_flower.c f = idr_find(&head->handle_idr, handle); idr_find 255 net/sctp/socket.c asoc = (struct sctp_association *)idr_find(&sctp_assocs_id, (int)id); idr_find 219 net/tipc/topsrv.c con = idr_find(&s->conn_idr, conid); idr_find 683 net/tipc/topsrv.c con = idr_find(&srv->conn_idr, id); idr_find 64 security/apparmor/secid.c label = idr_find(&aa_secids, secid); idr_find 27 tools/testing/radix-tree/idr-test.c struct item *item = idr_find(idr, id); idr_find 267 tools/testing/radix-tree/idr-test.c BUG_ON(idr_find(idr, 0) != &name[i]);