Home
last modified time | relevance | path

Searched refs:S_IFCHR (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/filesystem/vfs/
H A Dsyscall.rs50 const S_IFCHR = 0o020000; constant
1298 FileType::CharDevice => kstat.mode.insert(ModeType::S_IFCHR), in do_fstat()
1302 FileType::KvmDevice => kstat.mode.insert(ModeType::S_IFCHR), in do_fstat()
1303 FileType::FramebufferDevice => kstat.mode.insert(ModeType::S_IFCHR), in do_fstat()
1469 FileType::CharDevice => tmp.stx_mode.insert(ModeType::S_IFCHR), in do_statx()
1473 FileType::KvmDevice => tmp.stx_mode.insert(ModeType::S_IFCHR), in do_statx()
1474 FileType::FramebufferDevice => tmp.stx_mode.insert(ModeType::S_IFCHR), in do_statx()
/DragonOS/kernel/src/filesystem/devpts/
H A Dmod.rs243 metadata.mode.insert(ModeType::S_IFCHR); in create_with_data()
/DragonOS/kernel/src/filesystem/ramfs/
H A Dmod.rs609 } else if mode.contains(ModeType::S_IFCHR) { in mknod()
/DragonOS/kernel/src/filesystem/fat/
H A Dfs.rs1826 } else if mode.contains(ModeType::S_IFCHR) { in mknod()