Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dsyscall.rs381 if FileDescriptorVec::validate_fd(oldfd) { in dup()
415 if FileDescriptorVec::validate_fd(oldfd) && FileDescriptorVec::validate_fd(newfd) { in dup2()
479 if FileDescriptorVec::validate_fd(fd) { in fcntl()
493 if FileDescriptorVec::validate_fd(fd) { in fcntl()
512 if FileDescriptorVec::validate_fd(fd) { in fcntl()
524 if FileDescriptorVec::validate_fd(fd) { in fcntl()
564 if FileDescriptorVec::validate_fd(fd) { in ftruncate()
Dfile.rs434 pub fn validate_fd(fd: i32) -> bool { in validate_fd() method
/DragonOS-0.1.8/kernel/src/process/
Dprocess.rs236 if !FileDescriptorVec::validate_fd(fd) { in get_file_mut_by_fd()
250 if !FileDescriptorVec::validate_fd(fd) { in get_file_ref_by_fd()
262 if !FileDescriptorVec::validate_fd(fd) { in drop_fd()