Searched refs:DYNAMIC_MINORS (Results 1 – 1 of 1) sorted by relevance
63 #define DYNAMIC_MINORS 128 /* like dynamic majors */ macro70 ret = ida_alloc_max(&misc_minors_ida, DYNAMIC_MINORS - 1, GFP_KERNEL); in misc_minor_alloc()72 ret = DYNAMIC_MINORS - ret - 1; in misc_minor_alloc()82 if (minor < DYNAMIC_MINORS) in misc_minor_free()83 ida_free(&misc_minors_ida, DYNAMIC_MINORS - minor - 1); in misc_minor_free()