Searched refs:major_to_index (Results 1 – 1 of 1) sorted by relevance
119 fn major_to_index(major: usize) -> usize { in major_to_index() method139 if let Some(chardevss) = chardevs.0.get(Self::major_to_index(index)) { in find_dynamic_major()213 if let Some(items) = CHARDEVS.0.lock().0.get_mut(Self::major_to_index(major)) { in __register_chardev_region()251 .get_mut(Self::major_to_index(device_number.major())) in __unregister_chardev_region()