/linux/drivers/gpu/drm/i915/selftests/ |
H A D | mock_region.c | 113 int instance = ida_alloc_max(&i915->selftest.mock_region_instances, in mock_region_create()
|
/linux/drivers/peci/ |
H A D | core.c | 59 ret = ida_alloc_max(&peci_controller_ida, U8_MAX, GFP_KERNEL); in peci_controller_alloc()
|
/linux/include/linux/ |
H A D | idr.h | 309 static inline int ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp) in ida_alloc_max() function
|
/linux/drivers/char/ |
H A D | misc.c | 70 ret = ida_alloc_max(&misc_minors_ida, DYNAMIC_MINORS - 1, GFP_KERNEL); in misc_minor_alloc()
|
/linux/block/ |
H A D | bsg.c | 203 ret = ida_alloc_max(&bsg_minor_ida, BSG_MAX_DEVS - 1, GFP_KERNEL); in bsg_register_queue()
|
/linux/sound/soc/intel/avs/ |
H A D | utils.c | 207 ret = ida_alloc_max(adev->mod_idas[idx], max_id, GFP_KERNEL); in avs_module_id_alloc()
|
H A 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/drivers/watchdog/ |
H A D | watchdog_core.c | 268 id = ida_alloc_max(&watchdog_ida, MAX_DOGS - 1, GFP_KERNEL); in __watchdog_register_device()
|
/linux/drivers/staging/fieldbus/ |
H A D | dev_core.c | 270 fb->id = ida_alloc_max(&fieldbus_ida, MAX_FIELDBUSES - 1, GFP_KERNEL); in __fieldbus_dev_register()
|
/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_backlight.c | 51 const int nb = ida_alloc_max(&bl_ida, 99, GFP_KERNEL); in nouveau_get_backlight_name()
|
/linux/drivers/net/phy/ |
H A D | fixed_phy.c | 247 phy_addr = ida_alloc_max(&phy_fixed_ida, PHY_MAX_ADDR - 1, GFP_KERNEL); in __fixed_phy_register()
|
/linux/drivers/staging/greybus/ |
H A D | authentication.c | 327 minor = ida_alloc_max(&cap_minors_map, NUM_MINORS - 1, GFP_KERNEL); in gb_cap_connection_init()
|
/linux/drivers/slimbus/ |
H A D | core.c | 439 ret = ida_alloc_max(&ctrl->laddr_ida, in slim_device_alloc_laddr()
|
/linux/fs/devpts/ |
H A D | inode.c | 519 index = ida_alloc_max(&fsi->allocated_ptys, fsi->mount_opts.max - 1, in devpts_new_index()
|
/linux/drivers/dax/ |
H A D | super.c | 466 minor = ida_alloc_max(&dax_minor_ida, MINORMASK, GFP_KERNEL); in alloc_dax()
|
/linux/drivers/rpmsg/ |
H A D | rpmsg_char.c | 444 ret = ida_alloc_max(&rpmsg_minor_ida, RPMSG_DEV_MAX - 1, GFP_KERNEL); in rpmsg_chrdev_eptdev_add()
|
/linux/drivers/media/dvb-frontends/ |
H A D | dvb-pll.c | 799 nr = ida_alloc_max(&pll_ida, DVB_PLL_MAX - 1, GFP_KERNEL); in dvb_pll_attach()
|
/linux/drivers/hwmon/ |
H A D | coretemp.c | 507 tdata->index = ida_alloc_max(&pdata->ida, pdata->nr_cores - 1, GFP_KERNEL); in init_temp_data()
|
/linux/sound/soc/sof/ |
H A D | ipc4-topology.c | 1119 swidget->instance_id = ida_alloc_max(&fw_module->m_ida, max_instances, GFP_KERNEL); in sof_ipc4_widget_assign_instance_id() 2020 group_id = ida_alloc_max(&alh_group_ida, ALH_MULTI_GTW_COUNT - 1, in sof_ipc4_prepare_copier_module() 2603 swidget->instance_id = ida_alloc_max(&pipeline_ida, ipc4_data->max_num_pipelines, in sof_ipc4_widget_setup() 2848 return ida_alloc_max(queue_ida, num_pins, GFP_KERNEL); in sof_ipc4_get_queue_id()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_tcam.c | 64 id = ida_alloc_max(&tcam->used_regions, tcam->max_regions - 1, in mlxsw_sp_acl_tcam_region_id_get() 85 id = ida_alloc_max(&tcam->used_groups, tcam->max_groups - 1, in mlxsw_sp_acl_tcam_group_id_get()
|
/linux/fs/proc/ |
H A D | generic.c | 205 i = ida_alloc_max(&proc_inum_ida, UINT_MAX - PROC_DYNAMIC_FIRST, in proc_alloc_inum()
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | vas-window.c | 513 int winid = ida_alloc_max(ida, VAS_WINDOWS_PER_CHIP - 1, GFP_KERNEL); in vas_assign_window_id()
|
/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | tunnel_conf.c | 1102 ida_idx = ida_alloc_max(&priv->tun.mac_off_ids, in nfp_tunnel_add_shared_mac()
|
/linux/drivers/thunderbolt/ |
H A D | nhi.c | 468 ret = ida_alloc_max(&nhi->msix_ida, MSIX_MAX_VECS - 1, GFP_KERNEL); in ring_request_msix()
|
/linux/drivers/media/rc/ |
H A D | rc-main.c | 1901 minor = ida_alloc_max(&rc_ida, RC_DEV_MAX - 1, GFP_KERNEL); in rc_register_device()
|