| /linux/include/linux/ |
| H A D | idr.h | 274 int ida_alloc_range(struct ida *, unsigned int min, unsigned int max, gfp_t); 293 return ida_alloc_range(ida, 0, ~0, gfp); in ida_alloc() 311 return ida_alloc_range(ida, min, ~0, gfp); in ida_alloc_min() 329 return ida_alloc_range(ida, 0, max, gfp); in ida_alloc_max()
|
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_pd.c | 53 id = ida_alloc_range(&pd_ida->ida, pd_ida->min, pd_ida->max, in hns_roce_alloc_pd() 90 id = ida_alloc_range(&uar_ida->ida, uar_ida->min, uar_ida->max, in hns_roce_uar_alloc() 125 id = ida_alloc_range(&xrcd_ida->ida, xrcd_ida->min, xrcd_ida->max, in hns_roce_xrcd_alloc()
|
| H A D | hns_roce_srq.c | 67 id = ida_alloc_range(&srq_ida->ida, srq_ida->min, srq_ida->max, in alloc_srqn()
|
| H A D | hns_roce_cq.c | 121 id = ida_alloc_range(&bank->ida, bank->min, bank->max, GFP_KERNEL); in alloc_cqn()
|
| H A D | hns_roce_qp.c | 233 id = ida_alloc_range(&bank->ida, bank->next, bank->max, GFP_KERNEL); in alloc_qpn_with_bankid() 235 id = ida_alloc_range(&bank->ida, bank->min, bank->max, in alloc_qpn_with_bankid()
|
| /linux/fs/smb/server/mgmt/ |
| H A D | ksmbd_ida.c | 11 return ida_alloc_range(ida, 1, 0xFFFFFFFE, KSMBD_DEFAULT_GFP); in ksmbd_acquire_smb2_tid()
|
| /linux/arch/powerpc/mm/book3s64/ |
| H A 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/drivers/greybus/ |
| H A D | hd.c | 53 ret = ida_alloc_range(id_map, cport_id, cport_id, GFP_KERNEL); in gb_hd_cport_reserve() 92 return ida_alloc_range(id_map, ida_start, ida_end, GFP_KERNEL); in gb_hd_cport_allocate()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | gid.c | 94 index = ida_alloc_range(&dev->roce.reserved_gids.ida, in mlx5_core_reserved_gid_alloc()
|
| /linux/lib/ |
| H A D | idr.c | 382 int ida_alloc_range(struct ida *ida, unsigned int min, unsigned int max, in ida_alloc_range() function 479 EXPORT_SYMBOL(ida_alloc_range);
|
| H A D | objagg.c | 248 root_id = ida_alloc_range(&objagg->root_ida, min, max, GFP_KERNEL); in objagg_obj_root_id_alloc()
|
| /linux/drivers/fsi/ |
| H A 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()
|
| H A D | fsi-occ.c | 655 occ->idx = ida_alloc_range(&occ_ida, reg, reg, in occ_probe()
|
| /linux/drivers/staging/greybus/ |
| H A D | fw-management.c | 159 ret = ida_alloc_range(&fw_mgmt->id_map, 1, 255, GFP_KERNEL); in fw_mgmt_load_and_validate_operation() 302 ret = ida_alloc_range(&fw_mgmt->id_map, 1, 255, GFP_KERNEL); in fw_mgmt_backend_fw_update_operation()
|
| H A D | fw-download.c | 173 ret = ida_alloc_range(&fw_download->id_map, 1, 255, GFP_KERNEL); in find_firmware()
|
| /linux/drivers/tty/serial/ |
| H A D | serial_base_bus.c | 169 err = ida_alloc_range(&ctrl_dev->port_ida, min, max, GFP_KERNEL); in serial_base_port_add()
|
| /linux/tools/testing/radix-tree/ |
| H A D | idr-test.c | 530 assert(ida_alloc_range(&ida, 5, 30, GFP_KERNEL) < 0); in ida_alloc_free_test() 568 ret = ida_alloc_range(ida, 128, 128, GFP_KERNEL); in ida_leak_fn()
|
| /linux/drivers/vfio/ |
| H A D | iommufd.c | 199 rc = ida_alloc_range(&vdev->pasids, pasid, pasid, GFP_KERNEL); in vfio_iommufd_physical_pasid_attach_ioas()
|
| /linux/drivers/pci/ |
| H A D | ide.c | 42 ret = ida_alloc_range(&pdev->ide_stream_ida, idx, idx, GFP_KERNEL); in reserve_stream_index() 50 ret = ida_alloc_range(&hb->ide_stream_ids_ida, id, id, GFP_KERNEL); in reserve_stream_id()
|
| /linux/drivers/rtc/ |
| H A D | class.c | 262 id = ida_alloc_range(&rtc_ida, of_id, of_id, GFP_KERNEL); in rtc_device_get_id()
|
| /linux/drivers/net/netdevsim/ |
| H A D | bus.c | 450 err = ida_alloc_range(&nsim_bus_dev_ids, id, id, GFP_KERNEL); in nsim_bus_dev_new()
|
| /linux/drivers/net/ipvlan/ |
| H A D | ipvlan_main.c | 612 err = ida_alloc_range(&port->ida, port->dev_id_start, 0xFFFD, in ipvlan_link_new() 615 err = ida_alloc_range(&port->ida, 0x1, port->dev_id_start - 1, in ipvlan_link_new()
|
| /linux/drivers/net/ethernet/netronome/nfp/flower/ |
| H A D | lag_conf.c | 114 id = ida_alloc_range(&lag->ida_handle, NFP_FL_LAG_GROUP_MIN, in nfp_fl_lag_group_create()
|
| /linux/drivers/soundwire/ |
| H A D | intel_auxdevice.c | 263 return ida_alloc_range(&intel_peripheral_ida, in intel_get_device_num_ida()
|
| /linux/drivers/cdx/ |
| H A D | cdx.c | 932 ret = ida_alloc_range(&cdx_controller_ida, 0, MAX_CDX_CONTROLLERS - 1, GFP_KERNEL); in cdx_register_controller()
|