Lines Matching defs:usize
76 pub fn new(dev_t: DeviceNumber, minorct: usize, name: &'static str) -> Self { in new()
98 pub fn base_minor(&self) -> usize { in base_minor()
106 pub fn minorct(&self) -> usize { in minorct()
119 fn major_to_index(major: usize) -> usize { in major_to_index()
164 count: usize, in register_chardev_region()
177 baseminor: usize, in alloc_chardev_region()
178 count: usize, in alloc_chardev_region()
191 minorct: usize, in __register_chardev_region()
245 minorct: usize, in __unregister_chardev_region()
270 pub fn cdev_add(cdev: Arc<dyn CharDevice>, dev_t: DeviceNumber, range: usize) { in cdev_add()
282 pub fn cdev_del(dev_t: DeviceNumber, range: usize) { in cdev_del()