/linux-6.6.21/include/linux/ |
D | idr.h | 257 int ida_alloc_range(struct ida *, unsigned int min, unsigned int max, gfp_t); 275 return ida_alloc_range(ida, 0, ~0, gfp); in ida_alloc() 293 return ida_alloc_range(ida, min, ~0, gfp); in ida_alloc_min() 311 return ida_alloc_range(ida, 0, max, gfp); in ida_alloc_max() 324 ida_alloc_range(ida, start, (end) - 1, gfp)
|
/linux-6.6.21/drivers/infiniband/hw/hns/ |
D | hns_roce_pd.c | 54 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()
|
D | hns_roce_srq.c | 67 id = ida_alloc_range(&srq_ida->ida, srq_ida->min, srq_ida->max, in alloc_srqn()
|
D | hns_roce_mr.c | 59 id = ida_alloc_range(&mtpt_ida->ida, mtpt_ida->min, mtpt_ida->max, in alloc_mr_key() 538 id = ida_alloc_range(&mtpt_ida->ida, mtpt_ida->min, mtpt_ida->max, in hns_roce_alloc_mw()
|
D | hns_roce_cq.c | 69 id = ida_alloc_range(&bank->ida, bank->min, bank->max, GFP_KERNEL); in alloc_cqn()
|
D | hns_roce_qp.c | 211 id = ida_alloc_range(&bank->ida, bank->next, bank->max, GFP_KERNEL); in alloc_qpn_with_bankid() 213 id = ida_alloc_range(&bank->ida, bank->min, bank->max, in alloc_qpn_with_bankid()
|
/linux-6.6.21/arch/powerpc/mm/book3s64/ |
D | mmu_context.c | 31 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.6.21/lib/ |
D | idr.c | 380 int ida_alloc_range(struct ida *ida, unsigned int min, unsigned int max, in ida_alloc_range() function 477 EXPORT_SYMBOL(ida_alloc_range);
|
D | objagg.c | 245 root_id = ida_alloc_range(&objagg->root_ida, min, max, GFP_KERNEL); in objagg_obj_root_id_alloc()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | gid.c | 94 index = ida_alloc_range(&dev->roce.reserved_gids.ida, in mlx5_core_reserved_gid_alloc()
|
/linux-6.6.21/drivers/tty/serial/ |
D | serial_base_bus.c | 161 err = ida_alloc_range(&ctrl_dev->port_ida, min, max, GFP_KERNEL); in serial_base_port_add()
|
/linux-6.6.21/drivers/char/ |
D | misc.c | 74 ret = ida_alloc_range(&misc_minors_ida, MISC_DYNAMIC_MINOR + 1, in misc_minor_alloc()
|
/linux-6.6.21/drivers/fsi/ |
D | fsi-core.c | 922 id = ida_alloc_range(&fsi_minor_ida, id, id, GFP_KERNEL); in __fsi_get_new_minor() 933 id = ida_alloc_range(&fsi_minor_ida, FSI_CHAR_LEGACY_TOP, in __fsi_get_new_minor() 959 id = ida_alloc_range(&fsi_minor_ida, id, id, GFP_KERNEL); in fsi_get_new_minor() 1315 master->idx = ida_alloc_range(&master_ida, master->idx, in fsi_master_register()
|
/linux-6.6.21/drivers/net/netdevsim/ |
D | bus.c | 277 err = ida_alloc_range(&nsim_bus_dev_ids, id, id, GFP_KERNEL); in nsim_bus_dev_new()
|
/linux-6.6.21/drivers/soundwire/ |
D | intel_auxdevice.c | 177 return ida_alloc_range(&intel_peripheral_ida, in intel_get_device_num_ida()
|
/linux-6.6.21/tools/testing/radix-tree/ |
D | idr-test.c | 548 ret = ida_alloc_range(ida, 128, 128, GFP_KERNEL); in ida_leak_fn()
|
/linux-6.6.21/drivers/net/wwan/ |
D | wwan_core.c | 452 minor = ida_alloc_range(&minors, 0, WWAN_MAX_MINORS - 1, GFP_KERNEL); in wwan_create_port()
|
/linux-6.6.21/drivers/thunderbolt/ |
D | xdomain.c | 2134 return ida_alloc_range(&xd->in_hopids, hopid, xd->local_max_hopid, in tb_xdomain_alloc_in_hopid() 2156 return ida_alloc_range(&xd->out_hopids, hopid, xd->remote_max_hopid, in tb_xdomain_alloc_out_hopid()
|
/linux-6.6.21/drivers/iommu/ |
D | virtio-iommu.c | 676 ret = ida_alloc_range(&viommu->domain_ids, viommu->first_domain, in viommu_domain_finalise()
|
/linux-6.6.21/block/ |
D | genhd.c | 311 idx = ida_alloc_range(&ext_devt_ida, 0, NR_EXT_DEVT - 1, GFP_KERNEL); in blk_alloc_ext_minor()
|
/linux-6.6.21/kernel/trace/ |
D | trace_output.c | 707 next = ida_alloc_range(&trace_event_ida, __TRACE_LAST_TYPE, in alloc_trace_event_type()
|
/linux-6.6.21/drivers/nvme/target/ |
D | core.c | 1431 ret = ida_alloc_range(&cntlid_ida, in nvmet_alloc_ctrl()
|
/linux-6.6.21/drivers/block/ |
D | virtio_blk.c | 1324 err = ida_alloc_range(&vd_index_ida, 0, in virtblk_probe()
|
/linux-6.6.21/fs/ |
D | super.c | 1265 dev = ida_alloc_range(&unnamed_dev_ida, 1, (1 << MINORBITS) - 1, in get_anon_bdev()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | main.c | 1839 dev->priv.sw_vhca_id = ida_alloc_range(&sw_vhca_ida, 1, in mlx5_mdev_init()
|