Searched refs:stx_mode (Results 1 – 2 of 2) sorted by relevance
/DragonOS/user/apps/test_statx/src/ |
H A D | main.rs | 14 pub stx_mode: u16, field
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | syscall.rs | 172 stx_mode: ModeType, field 218 stx_mode: ModeType { bits: 0 }, in new() 1433 tmp.stx_mode = metadata.mode; in do_statx() 1490 FileType::File => tmp.stx_mode.insert(ModeType::S_IFREG), in do_statx() 1491 FileType::Dir => tmp.stx_mode.insert(ModeType::S_IFDIR), in do_statx() 1492 FileType::BlockDevice => tmp.stx_mode.insert(ModeType::S_IFBLK), in do_statx() 1493 FileType::CharDevice => tmp.stx_mode.insert(ModeType::S_IFCHR), in do_statx() 1494 FileType::SymLink => tmp.stx_mode.insert(ModeType::S_IFLNK), in do_statx() 1495 FileType::Socket => tmp.stx_mode.insert(ModeType::S_IFSOCK), in do_statx() 1496 FileType::Pipe => tmp.stx_mode.insert(ModeType::S_IFIFO), in do_statx() [all …]
|