Lines Matching refs:minorct
63 minorct: usize, // 次设备号数量 field
76 pub fn new(dev_t: DeviceNumber, minorct: usize, name: &'static str) -> Self { in new()
79 minorct, in new()
106 pub fn minorct(&self) -> usize { in minorct() method
107 self.minorct in minorct()
191 minorct: usize, in __register_chardev_region()
204 if minorct > MINOR_MASK + 1 - baseminor { in __register_chardev_region()
206 name, baseminor, baseminor + minorct - 1, 0, MINOR_MASK); in __register_chardev_region()
208 let chardev = CharDeviceStruct::new(mkdev(major, baseminor), minorct, name); in __register_chardev_region()
223 if item.device_number().minor() + item.minorct() <= baseminor { in __register_chardev_region()
226 if item.base_minor() >= baseminor + minorct { in __register_chardev_region()
245 minorct: usize, in __unregister_chardev_region()
254 if item.device_number() == device_number && item.minorct() == minorct { in __unregister_chardev_region()