Searched refs:ida_alloc_max (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.15/drivers/gpu/drm/i915/selftests/ |
D | mock_region.c | 109 int instance = ida_alloc_max(&i915->selftest.mock_region_instances, in mock_region_create()
|
/Linux-v5.15/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_gmrid_manager.c | 66 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/ |
D | idr.h | 307 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/ |
D | binderfs.c | 132 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/ |
D | telemetry.c | 367 minor = ida_alloc_max(&telem_ida, TELEM_MAX_DEV-1, GFP_KERNEL); in telem_device_probe()
|
D | event.c | 455 minor = ida_alloc_max(&event_ida, EVENT_MAX_DEV-1, GFP_KERNEL); in event_device_add()
|
/Linux-v5.15/fs/devpts/ |
D | inode.c | 538 index = ida_alloc_max(&fsi->allocated_ptys, fsi->mount_opts.max - 1, in devpts_new_index()
|
/Linux-v5.15/drivers/infiniband/core/ |
D | uverbs_main.c | 1136 devnum = ida_alloc_max(&uverbs_ida, IB_UVERBS_MAX_DEVICES - 1, in ib_uverbs_add_one()
|
D | user_mad.c | 1281 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/ |
D | vas-window.c | 513 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/ |
D | fs_core.c | 644 index = ida_alloc_max(&fg->fte_allocator, fg->max_ftes - 1, GFP_KERNEL); in insert_fte()
|
/Linux-v5.15/drivers/media/platform/coda/ |
D | coda-common.c | 2603 idx = ida_alloc_max(&dev->ida, max, GFP_KERNEL); in coda_open()
|