/Linux-v6.6/drivers/gpu/drm/i915/selftests/ |
D | mock_region.c | 113 int instance = ida_alloc_max(&i915->selftest.mock_region_instances, in mock_region_create()
|
/Linux-v6.6/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_gmrid_manager.c | 66 id = ida_alloc_max(&gman->gmr_ida, gman->max_gmr_ids - 1, GFP_KERNEL); in vmw_gmrid_man_get_node()
|
/Linux-v6.6/drivers/peci/ |
D | core.c | 59 ret = ida_alloc_max(&peci_controller_ida, U8_MAX, GFP_KERNEL); in peci_controller_alloc()
|
/Linux-v6.6/drivers/char/ |
D | misc.c | 70 ret = ida_alloc_max(&misc_minors_ida, DYNAMIC_MINORS - 1, GFP_KERNEL); in misc_minor_alloc()
|
/Linux-v6.6/include/linux/ |
D | idr.h | 307 static inline int ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp) in ida_alloc_max() function
|
/Linux-v6.6/block/ |
D | bsg.c | 203 ret = ida_alloc_max(&bsg_minor_ida, BSG_MAX_DEVS - 1, GFP_KERNEL); in bsg_register_queue()
|
/Linux-v6.6/sound/soc/intel/avs/ |
D | utils.c | 207 ret = ida_alloc_max(adev->mod_idas[idx], max_id, GFP_KERNEL); in avs_module_id_alloc()
|
D | dsp.c | 306 id = ida_alloc_max(&adev->ppl_ida, fw_cfg->max_ppl_count - 1, GFP_KERNEL); in avs_dsp_create_pipeline()
|
/Linux-v6.6/drivers/android/ |
D | binderfs.c | 132 minor = ida_alloc_max(&binderfs_minors, in binderfs_binder_device_create() 423 minor = ida_alloc_max(&binderfs_minors, in binderfs_binder_ctl_create()
|
/Linux-v6.6/drivers/platform/chrome/wilco_ec/ |
D | telemetry.c | 366 minor = ida_alloc_max(&telem_ida, TELEM_MAX_DEV-1, GFP_KERNEL); in telem_device_probe()
|
D | event.c | 454 minor = ida_alloc_max(&event_ida, EVENT_MAX_DEV-1, GFP_KERNEL); in event_device_add()
|
/Linux-v6.6/drivers/net/phy/ |
D | fixed_phy.c | 247 phy_addr = ida_alloc_max(&phy_fixed_ida, PHY_MAX_ADDR - 1, GFP_KERNEL); in __fixed_phy_register()
|
/Linux-v6.6/drivers/gnss/ |
D | core.c | 235 id = ida_alloc_max(&gnss_minors, GNSS_MINORS - 1, GFP_KERNEL); in gnss_allocate_device()
|
/Linux-v6.6/drivers/gpu/drm/nouveau/ |
D | nouveau_backlight.c | 51 const int nb = ida_alloc_max(&bl_ida, 99, GFP_KERNEL); in nouveau_get_backlight_name()
|
/Linux-v6.6/drivers/ptp/ |
D | ptp_clock.c | 221 index = ida_alloc_max(&ptp_clocks_map, MINORMASK, GFP_KERNEL); in ptp_clock_register()
|
/Linux-v6.6/fs/devpts/ |
D | inode.c | 520 index = ida_alloc_max(&fsi->allocated_ptys, fsi->mount_opts.max - 1, in devpts_new_index()
|
/Linux-v6.6/drivers/dax/ |
D | super.c | 451 minor = ida_alloc_max(&dax_minor_ida, MINORMASK, GFP_KERNEL); in alloc_dax()
|
/Linux-v6.6/sound/soc/sof/ |
D | ipc4-topology.c | 1004 swidget->instance_id = ida_alloc_max(&fw_module->m_ida, max_instances, GFP_KERNEL); in sof_ipc4_widget_assign_instance_id() 1698 group_id = ida_alloc_max(&alh_group_ida, ALH_MULTI_GTW_COUNT - 1, in sof_ipc4_prepare_copier_module() 2223 swidget->instance_id = ida_alloc_max(&pipeline_ida, ipc4_data->max_num_pipelines, in sof_ipc4_widget_setup() 2461 return ida_alloc_max(queue_ida, num_pins, GFP_KERNEL); in sof_ipc4_get_queue_id()
|
/Linux-v6.6/drivers/media/rc/ |
D | lirc_dev.c | 718 minor = ida_alloc_max(&lirc_ida, RC_DEV_MAX - 1, GFP_KERNEL); in lirc_register()
|
/Linux-v6.6/drivers/vfio/ |
D | group.c | 548 minor = ida_alloc_max(&vfio.group_ida, MINORMASK, GFP_KERNEL); in vfio_group_alloc()
|
D | vfio_main.c | 239 ret = ida_alloc_max(&vfio.device_ida, MINORMASK, GFP_KERNEL); in vfio_init_device()
|
/Linux-v6.6/drivers/cxl/core/ |
D | memdev.c | 611 rc = ida_alloc_max(&cxl_memdev_ida, CXL_MEM_MAX_DEVS - 1, GFP_KERNEL); in cxl_memdev_alloc()
|
/Linux-v6.6/arch/powerpc/platforms/powernv/ |
D | vas-window.c | 513 int winid = ida_alloc_max(ida, VAS_WINDOWS_PER_CHIP - 1, GFP_KERNEL); in vas_assign_window_id()
|
/Linux-v6.6/drivers/infiniband/core/ |
D | uverbs_main.c | 1145 devnum = ida_alloc_max(&uverbs_ida, IB_UVERBS_MAX_DEVICES - 1, in ib_uverbs_add_one()
|
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/flower/ |
D | tunnel_conf.c | 1039 ida_idx = ida_alloc_max(&priv->tun.mac_off_ids, in nfp_tunnel_add_shared_mac()
|