Searched refs:CharDevice (Results 1 – 15 of 15) sorted by relevance
/DragonOS/kernel/src/driver/base/char/ |
H A D | mod.rs | 18 pub trait CharDevice: Device { interface 205 cdev: Arc<dyn CharDevice>, in cdev_add() argument
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | mod.rs | 16 block::block_device::BlockDevice, char::CharDevice, device::device_number::DeviceNumber, 51 CharDevice, enumerator 70 CharDevice(Arc<dyn CharDevice>), enumerator 108 FileType::CharDevice => DT_CHR, in get_file_type_num()
|
H A D | file.rs | 390 FileType::Pipe | FileType::CharDevice => { in lseek()
|
H A D | syscall.rs | 1322 FileType::CharDevice => kstat.mode.insert(ModeType::S_IFCHR), in do_fstat() 1493 FileType::CharDevice => tmp.stx_mode.insert(ModeType::S_IFCHR), in do_statx()
|
/DragonOS/kernel/src/filesystem/devfs/ |
H A D | null_dev.rs | 48 file_type: FileType::CharDevice, // 文件夹,block设备,char设备 in new()
|
H A D | zero_dev.rs | 48 file_type: FileType::CharDevice, // 文件夹,block设备,char设备 in new()
|
H A D | mod.rs | 130 FileType::CharDevice => { in register_device() 202 FileType::CharDevice => { in unregister_device()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_device.rs | 12 char::CharDevice, 76 metadata: Metadata::new(FileType::CharDevice, ModeType::from_bits_truncate(0o755)), in new() 569 impl CharDevice for TtyDevice {
|
/DragonOS/kernel/src/filesystem/overlayfs/ |
H A D | mod.rs | 229 .create(name, FileType::CharDevice, whiteout_mode)?; in create_whiteout() 239 self.file_type == FileType::CharDevice && (*flags & WHITEOUT_FLAG) != 0 in is_whiteout()
|
/DragonOS/kernel/src/driver/keyboard/ |
H A D | ps2_keyboard.rs | 89 file_type: FileType::CharDevice, // 文件夹,block设备,char设备 in new()
|
/DragonOS/kernel/src/filesystem/devpts/ |
H A D | mod.rs | 223 if file_type != FileType::CharDevice { in create_with_data()
|
/DragonOS/kernel/src/driver/tty/pty/ |
H A D | unix98pty.rs | 279 FileType::CharDevice, in ptmx_open()
|
/DragonOS/kernel/src/driver/input/ps2_mouse/ |
H A D | ps_mouse_device.rs | 201 file_type: FileType::CharDevice, // 文件夹,block设备,char设备 in new()
|
/DragonOS/kernel/src/filesystem/ramfs/ |
H A D | mod.rs | 621 nod.0.lock().metadata.file_type = FileType::CharDevice; in mknod()
|
/DragonOS/kernel/src/filesystem/fat/ |
H A D | fs.rs | 1829 nod.0.lock().metadata.file_type = FileType::CharDevice; in mknod()
|