Home
last modified time | relevance | path

Searched refs:accmode (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.7/kernel/src/driver/tty/
Dtty_device.rs124 let accmode = mode.accmode(); in open() localVariable
125 if accmode == FileMode::O_RDONLY.accmode() { in open()
127 } else if accmode == FileMode::O_WRONLY.accmode() { in open()
/DragonOS-0.1.7/kernel/src/filesystem/vfs/
Dfile.rs82 pub fn accmode(&self) -> u32 { in accmode() method