Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_gmrid_manager.c61 id = ida_alloc_max(&gman->gmr_ida, gman->max_gmr_ids - 1, GFP_KERNEL); in vmw_gmrid_man_get_node()
/Linux-v5.10/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.10/drivers/android/
Dbinderfs.c124 minor = ida_alloc_max(&binderfs_minors, in binderfs_binder_device_create()
425 minor = ida_alloc_max(&binderfs_minors, in binderfs_binder_ctl_create()
/Linux-v5.10/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.10/fs/devpts/
Dinode.c538 index = ida_alloc_max(&fsi->allocated_ptys, fsi->mount_opts.max - 1, in devpts_new_index()
/Linux-v5.10/drivers/infiniband/core/
Duverbs_main.c1136 devnum = ida_alloc_max(&uverbs_ida, IB_UVERBS_MAX_DEVICES - 1, in ib_uverbs_add_one()
Duser_mad.c1271 devnum = ida_alloc_max(&umad_ida, IB_UMAD_MAX_PORTS - 1, GFP_KERNEL); in ib_umad_init_port()
/Linux-v5.10/arch/powerpc/platforms/powernv/
Dvas-window.c512 int winid = ida_alloc_max(ida, VAS_WINDOWS_PER_CHIP - 1, GFP_KERNEL); in vas_assign_window_id()
/Linux-v5.10/drivers/media/platform/coda/
Dcoda-common.c2585 idx = ida_alloc_max(&dev->ida, max, GFP_KERNEL); in coda_open()