Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/selftests/
A Dmock_region.c107 int instance = ida_alloc_max(&i915->selftest.mock_region_instances, in mock_region_create()
/linux/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/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/drivers/android/
A Dbinderfs.c132 minor = ida_alloc_max(&binderfs_minors, in binderfs_binder_device_create()
435 minor = ida_alloc_max(&binderfs_minors, in binderfs_binder_ctl_create()
/linux/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/fs/devpts/
A Dinode.c538 index = ida_alloc_max(&fsi->allocated_ptys, fsi->mount_opts.max - 1, in devpts_new_index()
/linux/drivers/infiniband/core/
A Duverbs_main.c1136 devnum = ida_alloc_max(&uverbs_ida, IB_UVERBS_MAX_DEVICES - 1, in ib_uverbs_add_one()
A Duser_mad.c1281 devnum = ida_alloc_max(&umad_ida, IB_UMAD_MAX_PORTS - 1, GFP_KERNEL); in ib_umad_init_port()
/linux/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/drivers/vfio/
A Dvfio.c368 minor = ida_alloc_max(&vfio.group_ida, MINORMASK, GFP_KERNEL); in vfio_group_alloc()
/linux/drivers/media/platform/coda/
A Dcoda-common.c2603 idx = ida_alloc_max(&dev->ida, max, GFP_KERNEL); in coda_open()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Dfs_core.c676 index = ida_alloc_max(&fg->fte_allocator, fg->max_ftes - 1, GFP_KERNEL); in insert_fte()

Completed in 33 milliseconds