Searched refs:DYNAMIC_MINORS (Results 1 – 1 of 1) sorted by relevance
62 #define DYNAMIC_MINORS 64 /* like dynamic majors */ macro63 static DECLARE_BITMAP(misc_minors, DYNAMIC_MINORS);201 int i = find_first_zero_bit(misc_minors, DYNAMIC_MINORS); in misc_register()202 if (i >= DYNAMIC_MINORS) { in misc_register()206 misc->minor = DYNAMIC_MINORS - i - 1; in misc_register()215 int i = DYNAMIC_MINORS - misc->minor - 1; in misc_register()216 if (i < DYNAMIC_MINORS && i >= 0) in misc_register()244 int i = DYNAMIC_MINORS - misc->minor - 1; in misc_deregister()252 if (i < DYNAMIC_MINORS && i >= 0) in misc_deregister()