Lines Matching refs:FileDescriptorVec
5 filesystem::vfs::file::FileDescriptorVec,
378 if let Some(fds) = FileDescriptorVec::from_pcb(current_pcb()) { in dup()
381 if FileDescriptorVec::validate_fd(oldfd) { in dup()
413 if let Some(fds) = FileDescriptorVec::from_pcb(current_pcb()) { in dup2()
415 if FileDescriptorVec::validate_fd(oldfd) && FileDescriptorVec::validate_fd(newfd) { in dup2()
462 if arg < 0 || arg as usize >= FileDescriptorVec::PROCESS_MAX_FD { in fcntl()
466 for i in arg..FileDescriptorVec::PROCESS_MAX_FD { in fcntl()
467 if let Some(fds) = FileDescriptorVec::from_pcb(current_pcb()) { in fcntl()
478 if let Some(fds) = FileDescriptorVec::from_pcb(current_pcb()) { in fcntl()
479 if FileDescriptorVec::validate_fd(fd) { in fcntl()
492 if let Some(fds) = FileDescriptorVec::from_pcb(current_pcb()) { in fcntl()
493 if FileDescriptorVec::validate_fd(fd) { in fcntl()
511 if let Some(fds) = FileDescriptorVec::from_pcb(current_pcb()) { in fcntl()
512 if FileDescriptorVec::validate_fd(fd) { in fcntl()
523 if let Some(fds) = FileDescriptorVec::from_pcb(current_pcb()) { in fcntl()
524 if FileDescriptorVec::validate_fd(fd) { in fcntl()
563 if let Some(fds) = FileDescriptorVec::from_pcb(current_pcb()) { in ftruncate()
564 if FileDescriptorVec::validate_fd(fd) { in ftruncate()