Lines Matching refs:device_number
5 device_number::{DeviceNumber, Major},
529 if item.device_number().major() == Major::new(index) { in find_dynamic_major()
581 device_number: DeviceNumber, in __register_blockdev_region()
585 let mut major = device_number.major(); in __register_blockdev_region()
586 let baseminor = device_number.minor(); in __register_blockdev_region()
608 match item.device_number().major().cmp(&major) { in __register_blockdev_region()
614 if item.device_number().minor() + item.minorct() <= baseminor { in __register_blockdev_region()
636 device_number: DeviceNumber, in __unregister_blockdev_region()
641 .get_mut(Self::major_to_index(device_number.major())) in __unregister_blockdev_region()
644 if item.device_number() == device_number && item.minorct() == minorct { in __unregister_blockdev_region()
661 if id_table.device_number().data() == 0 { in bdev_add()