Home
last modified time | relevance | path

Searched refs:FcntlCommand (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/filesystem/vfs/
H A Dfcntl.rs9 pub enum FcntlCommand { enum
H A Dsyscall.rs25 fcntl::{AtFlags, FcntlCommand, FD_CLOEXEC},
1133 pub fn fcntl(fd: i32, cmd: FcntlCommand, arg: i32) -> Result<usize, SystemError> { in fcntl() argument
1136 FcntlCommand::DupFd | FcntlCommand::DupFdCloexec => { in fcntl()
1145 if cmd == FcntlCommand::DupFd { in fcntl()
1159 FcntlCommand::GetFd => { in fcntl()
1176 FcntlCommand::SetFd => { in fcntl()
1195 FcntlCommand::GetFlags => { in fcntl()
1208 FcntlCommand::SetFlags => { in fcntl()
/DragonOS/kernel/src/syscall/
H A Dmod.rs30 fcntl::{AtFlags, FcntlCommand},
644 let cmd: Option<FcntlCommand> = in handle()
645 <FcntlCommand as FromPrimitive>::from_u32(args[1] as u32); in handle()