Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/gpu/drm/i915/selftests/
Dmock_region.c113 int instance = ida_alloc_max(&i915->selftest.mock_region_instances, in mock_region_create()
/linux-6.12.1/drivers/peci/
Dcore.c59 ret = ida_alloc_max(&peci_controller_ida, U8_MAX, GFP_KERNEL); in peci_controller_alloc()
/linux-6.12.1/drivers/gpu/drm/vmwgfx/
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.12.1/drivers/char/
Dmisc.c70 ret = ida_alloc_max(&misc_minors_ida, DYNAMIC_MINORS - 1, GFP_KERNEL); in misc_minor_alloc()
/linux-6.12.1/include/linux/
Didr.h309 static inline int ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp) in ida_alloc_max() function
/linux-6.12.1/drivers/rpmsg/
Drpmsg_ctrl.c159 ret = ida_alloc_max(&rpmsg_minor_ida, RPMSG_DEV_MAX - 1, GFP_KERNEL); in rpmsg_ctrldev_probe()
Drpmsg_char.c444 ret = ida_alloc_max(&rpmsg_minor_ida, RPMSG_DEV_MAX - 1, GFP_KERNEL); in rpmsg_chrdev_eptdev_add()
/linux-6.12.1/block/
Dbsg.c203 ret = ida_alloc_max(&bsg_minor_ida, BSG_MAX_DEVS - 1, GFP_KERNEL); in bsg_register_queue()
/linux-6.12.1/drivers/android/
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.12.1/sound/soc/intel/avs/
Dutils.c207 ret = ida_alloc_max(adev->mod_idas[idx], max_id, GFP_KERNEL); in avs_module_id_alloc()
Ddsp.c306 id = ida_alloc_max(&adev->ppl_ida, fw_cfg->max_ppl_count - 1, GFP_KERNEL); in avs_dsp_create_pipeline()
/linux-6.12.1/drivers/watchdog/
Dwatchdog_core.c268 id = ida_alloc_max(&watchdog_ida, MAX_DOGS - 1, GFP_KERNEL); in __watchdog_register_device()
/linux-6.12.1/drivers/gnss/
Dcore.c234 id = ida_alloc_max(&gnss_minors, GNSS_MINORS - 1, GFP_KERNEL); in gnss_allocate_device()
/linux-6.12.1/drivers/platform/chrome/wilco_ec/
Dtelemetry.c366 minor = ida_alloc_max(&telem_ida, TELEM_MAX_DEV-1, GFP_KERNEL); in telem_device_probe()
Devent.c453 minor = ida_alloc_max(&event_ida, EVENT_MAX_DEV-1, GFP_KERNEL); in event_device_add()
/linux-6.12.1/drivers/net/phy/
Dfixed_phy.c247 phy_addr = ida_alloc_max(&phy_fixed_ida, PHY_MAX_ADDR - 1, GFP_KERNEL); in __fixed_phy_register()
/linux-6.12.1/drivers/staging/fieldbus/
Ddev_core.c270 fb->id = ida_alloc_max(&fieldbus_ida, MAX_FIELDBUSES - 1, GFP_KERNEL); in __fieldbus_dev_register()
/linux-6.12.1/drivers/gpu/drm/nouveau/
Dnouveau_backlight.c51 const int nb = ida_alloc_max(&bl_ida, 99, GFP_KERNEL); in nouveau_get_backlight_name()
/linux-6.12.1/drivers/staging/greybus/
Dauthentication.c327 minor = ida_alloc_max(&cap_minors_map, NUM_MINORS - 1, GFP_KERNEL); in gb_cap_connection_init()
Dfw-management.c616 minor = ida_alloc_max(&fw_mgmt_minors_map, NUM_MINORS - 1, GFP_KERNEL); in gb_fw_mgmt_connection_init()
/linux-6.12.1/drivers/slimbus/
Dcore.c439 ret = ida_alloc_max(&ctrl->laddr_ida, in slim_device_alloc_laddr()
/linux-6.12.1/drivers/dax/
Dsuper.c466 minor = ida_alloc_max(&dax_minor_ida, MINORMASK, GFP_KERNEL); in alloc_dax()
/linux-6.12.1/fs/devpts/
Dinode.c519 index = ida_alloc_max(&fsi->allocated_ptys, fsi->mount_opts.max - 1, in devpts_new_index()
/linux-6.12.1/drivers/hwmon/
Dcoretemp.c507 tdata->index = ida_alloc_max(&pdata->ida, pdata->nr_cores - 1, GFP_KERNEL); in init_temp_data()
/linux-6.12.1/drivers/media/dvb-frontends/
Ddvb-pll.c799 nr = ida_alloc_max(&pll_ida, DVB_PLL_MAX - 1, GFP_KERNEL); in dvb_pll_attach()

123