Home
last modified time | relevance | path

Searched refs:idr_alloc (Results 1 – 25 of 27) sorted by relevance

12

/linux-4.19.296/drivers/misc/mic/scif/
Dscif_ports.c52 id = idr_alloc(&scif_ports, port, start, end, GFP_ATOMIC); in __scif_get_port()
/linux-4.19.296/drivers/dca/
Ddca-sysfs.c61 ret = idr_alloc(&dca_idr, dca, 0, 0, GFP_NOWAIT); in dca_sysfs_add_provider()
/linux-4.19.296/lib/
Didr.c82 int idr_alloc(struct idr *idr, void *ptr, int start, int end, gfp_t gfp) in idr_alloc() function
96 EXPORT_SYMBOL_GPL(idr_alloc);
/linux-4.19.296/drivers/reset/
Dreset-ti-sci.c209 return idr_alloc(&data->idr, control, 0, 0, GFP_KERNEL); in ti_sci_reset_of_xlate()
/linux-4.19.296/include/linux/
Didr.h114 int idr_alloc(struct idr *, void *ptr, int start, int end, gfp_t);
/linux-4.19.296/drivers/misc/ocxl/
Dafu_irq.c89 irq->id = idr_alloc(&ctx->irq_idr, irq, 0, MAX_IRQ_PER_CONTEXT, in ocxl_afu_irq_alloc()
Dcontext.c19 pasid = idr_alloc(&afu->contexts_idr, ctx, afu->pasid_base, in ocxl_context_init()
Dfile.c44 minor = idr_alloc(&minors_idr, afu, 0, OCXL_NUM_MINORS, GFP_KERNEL); in allocate_afu_minor()
/linux-4.19.296/drivers/misc/cxl/
Dcontext.c98 i = idr_alloc(&ctx->afu->contexts_idr, ctx, 0, in cxl_context_init()
Dmain.c204 i = idr_alloc(&cxl_adapter_idr, adapter, 0, 0, GFP_NOWAIT); in cxl_alloc_adapter_nr()
/linux-4.19.296/drivers/char/tpm/
Dtpm-chip.c219 rc = idr_alloc(&dev_nums_idr, NULL, 0, TPM_NUM_DEVICES, GFP_KERNEL); in tpm_chip_alloc()
/linux-4.19.296/drivers/misc/
Dtifm_core.c203 rc = idr_alloc(&tifm_adapter_idr, fm, 0, 0, GFP_NOWAIT); in tifm_add_adapter()
/linux-4.19.296/drivers/pci/endpoint/
Dpci-ep-cfs.c404 index = idr_alloc(&functions_idr, epf_group, 0, 0, GFP_KERNEL); in pci_epf_make()
/linux-4.19.296/block/
Dbsg.c482 ret = idr_alloc(&bsg_minor_idr, bcd, 0, BSG_MAX_DEVS, GFP_KERNEL); in bsg_register_queue()
Dgenhd.c492 idx = idr_alloc(&ext_devt_idr, part, 0, NR_EXT_DEVT, GFP_NOWAIT); in blk_alloc_devt()
/linux-4.19.296/drivers/memstick/core/
Dmemstick.c523 rc = idr_alloc(&memstick_host_idr, host, 0, 0, GFP_NOWAIT); in memstick_add_host()
Dmspro_block.c1198 disk_id = idr_alloc(&mspro_block_disk_idr, card, 0, 256, GFP_KERNEL); in mspro_block_init_disk()
/linux-4.19.296/drivers/of/
Doverlay.c675 id = idr_alloc(&ovcs_idr, ovcs, 1, 0, GFP_KERNEL); in init_overlay_changeset()
/linux-4.19.296/fs/dlm/
Drecover.c320 rv = idr_alloc(&ls->ls_recover_idr, r, 1, 0, GFP_NOWAIT); in recover_idr_add()
/linux-4.19.296/drivers/misc/mei/
Dmain.c888 ret = idr_alloc(&mei_idr, dev, 0, MEI_MAX_DEVS, GFP_KERNEL); in mei_minor_get()
/linux-4.19.296/drivers/misc/c2port/
Dcore.c911 ret = idr_alloc(&c2port_idr, c2dev, 0, 0, GFP_NOWAIT); in c2port_device_register()
/linux-4.19.296/drivers/i2c/
Di2c-core-base.c1335 id = idr_alloc(&i2c_adapter_idr, adap, adap->nr, adap->nr + 1, GFP_KERNEL); in __i2c_add_numbered_adapter()
1371 id = idr_alloc(&i2c_adapter_idr, adapter, in i2c_add_adapter()
/linux-4.19.296/fs/nfs/
Dnfs4client.c36 ret = idr_alloc(&nn->cb_ident_idr, clp, 1, 0, GFP_NOWAIT); in nfs_get_cb_ident_idr()
/linux-4.19.296/drivers/misc/cardreader/
Drtsx_pcr.c1464 ret = idr_alloc(&rtsx_pci_idr, pcr, 0, 0, GFP_NOWAIT); in rtsx_pci_probe()
/linux-4.19.296/fs/ocfs2/cluster/
Dtcp.c311 ret = idr_alloc(&nn->nn_status_idr, nsw, 0, 0, GFP_ATOMIC); in o2net_prep_nsw()

12