Home
last modified time | relevance | path

Searched refs:ida_alloc_range (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.1.9/include/linux/ !
Didr.h255 int ida_alloc_range(struct ida *, unsigned int min, unsigned int max, gfp_t);
273 return ida_alloc_range(ida, 0, ~0, gfp); in ida_alloc()
291 return ida_alloc_range(ida, min, ~0, gfp); in ida_alloc_min()
309 return ida_alloc_range(ida, 0, max, gfp); in ida_alloc_max()
322 ida_alloc_range(ida, start, (end) - 1, gfp)
/linux-6.1.9/drivers/infiniband/hw/hns/ !
Dhns_roce_pd.c54 id = ida_alloc_range(&pd_ida->ida, pd_ida->min, pd_ida->max, in hns_roce_alloc_pd()
91 id = ida_alloc_range(&uar_ida->ida, uar_ida->min, uar_ida->max, in hns_roce_uar_alloc()
126 id = ida_alloc_range(&xrcd_ida->ida, xrcd_ida->min, xrcd_ida->max, in hns_roce_xrcd_alloc()
Dhns_roce_mr.c58 id = ida_alloc_range(&mtpt_ida->ida, mtpt_ida->min, mtpt_ida->max, in alloc_mr_key()
537 id = ida_alloc_range(&mtpt_ida->ida, mtpt_ida->min, mtpt_ida->max, in hns_roce_alloc_mw()
Dhns_roce_srq.c67 id = ida_alloc_range(&srq_ida->ida, srq_ida->min, srq_ida->max, in alloc_srqn()
Dhns_roce_cq.c69 id = ida_alloc_range(&bank->ida, bank->min, bank->max, GFP_KERNEL); in alloc_cqn()
Dhns_roce_qp.c196 id = ida_alloc_range(&bank->ida, bank->next, bank->max, GFP_KERNEL); in alloc_qpn_with_bankid()
198 id = ida_alloc_range(&bank->ida, bank->min, bank->max, in alloc_qpn_with_bankid()
/linux-6.1.9/arch/powerpc/mm/book3s64/ !
Dmmu_context.c31 return ida_alloc_range(&mmu_context_ida, min_id, max_id, GFP_KERNEL); in alloc_context_id()
37 int result = ida_alloc_range(&mmu_context_ida, id, id, GFP_KERNEL); in hash__reserve_context_id()
/linux-6.1.9/lib/ !
Didr.c380 int ida_alloc_range(struct ida *ida, unsigned int min, unsigned int max, in ida_alloc_range() function
477 EXPORT_SYMBOL(ida_alloc_range);
Dobjagg.c245 root_id = ida_alloc_range(&objagg->root_ida, min, max, GFP_KERNEL); in objagg_obj_root_id_alloc()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/ !
Dgid.c94 index = ida_alloc_range(&dev->roce.reserved_gids.ida, in mlx5_core_reserved_gid_alloc()
/linux-6.1.9/drivers/net/netdevsim/ !
Dbus.c277 err = ida_alloc_range(&nsim_bus_dev_ids, id, id, GFP_KERNEL); in nsim_bus_dev_new()
/linux-6.1.9/drivers/cxl/core/ !
Dmemdev.c245 rc = ida_alloc_range(&cxl_memdev_ida, 0, CXL_MEM_MAX_DEVS, GFP_KERNEL); in cxl_memdev_alloc()
/linux-6.1.9/tools/testing/radix-tree/ !
Didr-test.c548 ret = ida_alloc_range(ida, 128, 128, GFP_KERNEL); in ida_leak_fn()
/linux-6.1.9/drivers/net/wwan/ !
Dwwan_core.c443 minor = ida_alloc_range(&minors, 0, WWAN_MAX_MINORS - 1, GFP_KERNEL); in wwan_create_port()
/linux-6.1.9/drivers/thunderbolt/ !
Dxdomain.c2061 return ida_alloc_range(&xd->in_hopids, hopid, xd->local_max_hopid, in tb_xdomain_alloc_in_hopid()
2083 return ida_alloc_range(&xd->out_hopids, hopid, xd->remote_max_hopid, in tb_xdomain_alloc_out_hopid()
/linux-6.1.9/drivers/iommu/ !
Dvirtio-iommu.c676 ret = ida_alloc_range(&viommu->domain_ids, viommu->first_domain, in viommu_domain_finalise()
/linux-6.1.9/block/ !
Dgenhd.c315 idx = ida_alloc_range(&ext_devt_ida, 0, NR_EXT_DEVT - 1, GFP_KERNEL); in blk_alloc_ext_minor()
/linux-6.1.9/drivers/soundwire/ !
Dbus.c677 bit = ida_alloc_range(&sdw_peripheral_ida, in sdw_get_device_num()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ !
Dmacsec_fs.c431 err = ida_alloc_range(&tx_fs->tx_halloc, 1, in macsec_fs_tx_setup_fte()
/linux-6.1.9/fs/ !
Dsuper.c1059 dev = ida_alloc_range(&unnamed_dev_ida, 1, (1 << MINORBITS) - 1, in get_anon_bdev()
/linux-6.1.9/drivers/nvme/target/ !
Dcore.c1428 ret = ida_alloc_range(&cntlid_ida, in nvmet_alloc_ctrl()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ !
Dmain.c1638 dev->priv.sw_vhca_id = ida_alloc_range(&sw_vhca_ida, 1, in mlx5_mdev_init()
/linux-6.1.9/drivers/iommu/intel/ !
Ddmar.c1044 iommu->seq_id = ida_alloc_range(&dmar_seq_ids, 0, in alloc_iommu()
/linux-6.1.9/arch/powerpc/kvm/ !
Dpowerpc.c2507 lpid = ida_alloc_range(&lpid_inuse, 1, nr_lpids - 1, GFP_KERNEL); in kvmppc_alloc_lpid()
/linux-6.1.9/drivers/infiniband/core/ !
Ddevice.c474 rc = ida_alloc_range(&inuse, i, i, GFP_KERNEL); in alloc_name()

12