Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_gmrid_manager.c61 id = ida_alloc_max(&gman->gmr_ida, gman->max_gmr_ids - 1, GFP_KERNEL); in vmw_gmrid_man_get_node()
/OK3568_Linux_fs/kernel/include/linux/
H A Didr.h307 static inline int ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp) in ida_alloc_max() function
/OK3568_Linux_fs/kernel/drivers/android/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/
H A Dnouveau_backlight.c54 const int nb = ida_alloc_max(&bl_ida, 99, GFP_KERNEL); in nouveau_get_backlight_name()
/OK3568_Linux_fs/kernel/drivers/platform/chrome/wilco_ec/
H A Dtelemetry.c367 minor = ida_alloc_max(&telem_ida, TELEM_MAX_DEV-1, GFP_KERNEL); in telem_device_probe()
H A Devent.c455 minor = ida_alloc_max(&event_ida, EVENT_MAX_DEV-1, GFP_KERNEL); in event_device_add()
/OK3568_Linux_fs/kernel/fs/devpts/
H A Dinode.c538 index = ida_alloc_max(&fsi->allocated_ptys, fsi->mount_opts.max - 1, in devpts_new_index()
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Duverbs_main.c1136 devnum = ida_alloc_max(&uverbs_ida, IB_UVERBS_MAX_DEVICES - 1, in ib_uverbs_add_one()
H A Duser_mad.c1285 devnum = ida_alloc_max(&umad_ida, IB_UMAD_MAX_PORTS - 1, GFP_KERNEL); in ib_umad_init_port()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/
H A Dvas-window.c512 int winid = ida_alloc_max(ida, VAS_WINDOWS_PER_CHIP - 1, GFP_KERNEL); in vas_assign_window_id()
/OK3568_Linux_fs/kernel/drivers/media/platform/coda/
H A Dcoda-common.c2599 idx = ida_alloc_max(&dev->ida, max, GFP_KERNEL); in coda_open()