Lines Matching refs:name
64 name: &'static str, //字符设备名 field
76 pub fn new(dev_t: DeviceNumber, minorct: usize, name: &'static str) -> Self { in new()
80 name, in new()
165 name: &'static str, in register_chardev_region()
167 Self::__register_chardev_region(from, count, name) in register_chardev_region()
179 name: &'static str, in alloc_chardev_region()
181 Self::__register_chardev_region(mkdev(0, baseminor), count, name) in alloc_chardev_region()
192 name: &'static str, in __register_chardev_region()
199 name, 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()