Searched refs:major_to_index (Results 1 – 2 of 2) sorted by relevance
48 fn major_to_index(major: Major) -> usize { in major_to_index() method70 if let Some(chardevss) = chardevs.get(Self::major_to_index(Major::new(index))) { in find_dynamic_major()148 if let Some(items) = CHARDEVS.lock().get_mut(Self::major_to_index(major)) { in __register_chardev_region()185 .get_mut(Self::major_to_index(device_number.major())) in __unregister_chardev_region()
504 fn major_to_index(major: Major) -> usize { in major_to_index() method526 if let Some(blockdevss) = blockdevs.get(Self::major_to_index(Major::new(index))) { in find_dynamic_major()604 if let Some(items) = BLOCKDEVS.lock().get_mut(Self::major_to_index(major)) { in __register_blockdev_region()641 .get_mut(Self::major_to_index(device_number.major())) in __unregister_blockdev_region()