Searched refs:ida_alloc_max (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_gmrid_manager.c | 58 id = ida_alloc_max(&gman->gmr_ida, gman->max_gmr_ids - 1, GFP_KERNEL); in vmw_gmrid_man_get_node()
|
/Linux-v4.19/include/linux/ |
D | idr.h | 288 static inline int ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp) in ida_alloc_max() function
|
/Linux-v4.19/drivers/scsi/osd/ |
D | osd_uld.c | 426 minor = ida_alloc_max(&osd_minor_ida, SCSI_OSD_MAX_MINOR, GFP_KERNEL); in osd_probe()
|
/Linux-v4.19/fs/devpts/ |
D | inode.c | 540 index = ida_alloc_max(&fsi->allocated_ptys, fsi->mount_opts.max - 1, in devpts_new_index()
|
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | vas-window.c | 525 int winid = ida_alloc_max(ida, VAS_WINDOWS_PER_CHIP - 1, GFP_KERNEL); in vas_assign_window_id()
|