Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/i915/selftests/
Dmock_region.c109 int instance = ida_alloc_max(&i915->selftest.mock_region_instances, in mock_region_create()
/Linux-v5.15/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-v5.15/include/linux/
Didr.h307 static inline int ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp) in ida_alloc_max() function
/Linux-v5.15/drivers/android/
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-v5.15/drivers/platform/chrome/wilco_ec/
Dtelemetry.c367 minor = ida_alloc_max(&telem_ida, TELEM_MAX_DEV-1, GFP_KERNEL); in telem_device_probe()
Devent.c455 minor = ida_alloc_max(&event_ida, EVENT_MAX_DEV-1, GFP_KERNEL); in event_device_add()
/Linux-v5.15/fs/devpts/
Dinode.c538 index = ida_alloc_max(&fsi->allocated_ptys, fsi->mount_opts.max - 1, in devpts_new_index()
/Linux-v5.15/drivers/infiniband/core/
Duverbs_main.c1136 devnum = ida_alloc_max(&uverbs_ida, IB_UVERBS_MAX_DEVICES - 1, in ib_uverbs_add_one()
Duser_mad.c1281 devnum = ida_alloc_max(&umad_ida, IB_UMAD_MAX_PORTS - 1, GFP_KERNEL); in ib_umad_init_port()
/Linux-v5.15/arch/powerpc/platforms/powernv/
Dvas-window.c513 int winid = ida_alloc_max(ida, VAS_WINDOWS_PER_CHIP - 1, GFP_KERNEL); in vas_assign_window_id()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_core.c644 index = ida_alloc_max(&fg->fte_allocator, fg->max_ftes - 1, GFP_KERNEL); in insert_fte()
/Linux-v5.15/drivers/media/platform/coda/
Dcoda-common.c2603 idx = ida_alloc_max(&dev->ida, max, GFP_KERNEL); in coda_open()