Home
last modified time | relevance | path

Searched refs:ida_alloc_max (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.3-rc2/drivers/gpu/drm/i915/selftests/
A Dmock_region.c113 int instance = ida_alloc_max(&i915->selftest.mock_region_instances, in mock_region_create()
/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_gmrid_manager.c66 id = ida_alloc_max(&gman->gmr_ida, gman->max_gmr_ids - 1, GFP_KERNEL); in vmw_gmrid_man_get_node()
/linux-6.3-rc2/drivers/peci/
A Dcore.c59 ret = ida_alloc_max(&peci_controller_ida, U8_MAX, GFP_KERNEL); in peci_controller_alloc()
/linux-6.3-rc2/include/linux/
A Didr.h307 static inline int ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp) in ida_alloc_max() function
/linux-6.3-rc2/drivers/char/
A Dmisc.c70 ret = ida_alloc_max(&misc_minors_ida, DYNAMIC_MINORS - 1, GFP_KERNEL); in misc_minor_alloc()
/linux-6.3-rc2/block/
A Dbsg.c201 ret = ida_alloc_max(&bsg_minor_ida, BSG_MAX_DEVS - 1, GFP_KERNEL); in bsg_register_queue()
/linux-6.3-rc2/sound/soc/intel/avs/
A Dutils.c207 ret = ida_alloc_max(adev->mod_idas[idx], max_id, GFP_KERNEL); in avs_module_id_alloc()
A Ddsp.c306 id = ida_alloc_max(&adev->ppl_ida, fw_cfg->max_ppl_count - 1, GFP_KERNEL); in avs_dsp_create_pipeline()
/linux-6.3-rc2/drivers/android/
A Dbinderfs.c133 minor = ida_alloc_max(&binderfs_minors, in binderfs_binder_device_create()
424 minor = ida_alloc_max(&binderfs_minors, in binderfs_binder_ctl_create()
/linux-6.3-rc2/drivers/platform/chrome/wilco_ec/
A Dtelemetry.c367 minor = ida_alloc_max(&telem_ida, TELEM_MAX_DEV-1, GFP_KERNEL); in telem_device_probe()
A Devent.c455 minor = ida_alloc_max(&event_ida, EVENT_MAX_DEV-1, GFP_KERNEL); in event_device_add()
/linux-6.3-rc2/drivers/cxl/core/
A Dmemdev.c245 rc = ida_alloc_max(&cxl_memdev_ida, CXL_MEM_MAX_DEVS - 1, GFP_KERNEL); in cxl_memdev_alloc()
/linux-6.3-rc2/drivers/gnss/
A Dcore.c235 id = ida_alloc_max(&gnss_minors, GNSS_MINORS - 1, GFP_KERNEL); in gnss_allocate_device()
/linux-6.3-rc2/drivers/net/phy/
A Dfixed_phy.c247 phy_addr = ida_alloc_max(&phy_fixed_ida, PHY_MAX_ADDR - 1, GFP_KERNEL); in __fixed_phy_register()
/linux-6.3-rc2/drivers/dax/
A Dsuper.c448 minor = ida_alloc_max(&dax_minor_ida, MINORMASK, GFP_KERNEL); in alloc_dax()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/
A Dnouveau_backlight.c50 const int nb = ida_alloc_max(&bl_ida, 99, GFP_KERNEL); in nouveau_get_backlight_name()
/linux-6.3-rc2/drivers/ptp/
A Dptp_clock.c217 index = ida_alloc_max(&ptp_clocks_map, MINORMASK, GFP_KERNEL); in ptp_clock_register()
/linux-6.3-rc2/sound/soc/sof/
A Dipc4-topology.c869 swidget->instance_id = ida_alloc_max(&fw_module->m_ida, max_instances, GFP_KERNEL); in sof_ipc4_widget_assign_instance_id()
1302 group_id = ida_alloc_max(&alh_group_ida, ALH_MULTI_GTW_COUNT - 1, in sof_ipc4_prepare_copier_module()
1516 swidget->instance_id = ida_alloc_max(&pipeline_ida, ipc4_data->max_num_pipelines, in sof_ipc4_widget_setup()
1718 return ida_alloc_max(queue_ida, num_pins, GFP_KERNEL); in sof_ipc4_get_queue_id()
/linux-6.3-rc2/fs/devpts/
A Dinode.c538 index = ida_alloc_max(&fsi->allocated_ptys, fsi->mount_opts.max - 1, in devpts_new_index()
/linux-6.3-rc2/drivers/vfio/
A Dgroup.c470 minor = ida_alloc_max(&vfio.group_ida, MINORMASK, GFP_KERNEL); in vfio_group_alloc()
A Dvfio_main.c224 ret = ida_alloc_max(&vfio.device_ida, MINORMASK, GFP_KERNEL); in vfio_init_device()
/linux-6.3-rc2/drivers/media/rc/
A Dlirc_dev.c718 minor = ida_alloc_max(&lirc_ida, RC_DEV_MAX - 1, GFP_KERNEL); in lirc_register()
/linux-6.3-rc2/drivers/infiniband/core/
A Duverbs_main.c1136 devnum = ida_alloc_max(&uverbs_ida, IB_UVERBS_MAX_DEVICES - 1, in ib_uverbs_add_one()
/linux-6.3-rc2/arch/powerpc/platforms/powernv/
A Dvas-window.c513 int winid = ida_alloc_max(ida, VAS_WINDOWS_PER_CHIP - 1, GFP_KERNEL); in vas_assign_window_id()
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/flower/
A Dtunnel_conf.c1039 ida_idx = ida_alloc_max(&priv->tun.mac_off_ids, in nfp_tunnel_add_shared_mac()

Completed in 61 milliseconds

12