Home
last modified time | relevance | path

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

/linux/drivers/char/
A Dmisc.c63 #define DYNAMIC_MINORS 128 /* like dynamic majors */ macro
64 static DECLARE_BITMAP(misc_minors, DYNAMIC_MINORS);
184 int i = find_first_zero_bit(misc_minors, DYNAMIC_MINORS); in misc_register()
186 if (i >= DYNAMIC_MINORS) { in misc_register()
190 misc->minor = DYNAMIC_MINORS - i - 1; in misc_register()
210 int i = DYNAMIC_MINORS - misc->minor - 1; in misc_register()
212 if (i < DYNAMIC_MINORS && i >= 0) in misc_register()
241 int i = DYNAMIC_MINORS - misc->minor - 1; in misc_deregister()
249 if (i < DYNAMIC_MINORS && i >= 0) in misc_deregister()

Completed in 3 milliseconds