Searched refs:sim_fd (Results 1 - 4 of 4) sorted by relevance

/gem5/src/sim/
H A Dfd_array.cc62 int sim_fd; variable
70 sim_fd = it->second;
72 sim_fd = openInputFile(input);
74 auto ffd = std::make_shared<FileFDEntry>(sim_fd, O_RDONLY, input, false);
82 sim_fd = it->second;
84 sim_fd = openOutputFile(output);
86 ffd = std::make_shared<FileFDEntry>(sim_fd, O_WRONLY | O_CREAT | O_TRUNC,
93 sim_fd = it->second;
95 sim_fd = openOutputFile(errout);
97 ffd = std::make_shared<FileFDEntry>(sim_fd, O_WRONL
120 int sim_fd = ffd->getSimFD(); local
277 int sim_fd = openFile(ffd->getFileName(), ffd->getFlags(), 0664); local
300 int sim_fd = open(filename.c_str(), flags, mode); local
339 int sim_fd = -1; local
[all...]
H A Dfd_entry.hh79 HBFDEntry(int flags, int sim_fd, bool close_on_exec = false) argument
80 : FDEntry(close_on_exec), _flags(flags), _simFD(sim_fd)
97 void setSimFD(int sim_fd) { _simFD = sim_fd; } argument
115 FileFDEntry(int sim_fd, int flags, std::string const& file_name, argument
117 : HBFDEntry(flags, sim_fd, close_on_exec),
158 PipeFDEntry(int sim_fd, int flags, EndType pipe_end_type, argument
160 : HBFDEntry(flags, sim_fd, close_on_exec), _pipeReadSource(-1),
227 SocketFDEntry(int sim_fd, int domain, int type, int protocol, argument
229 : HBFDEntry(0, sim_fd, close_on_exe
[all...]
H A Dsyscall_emul.cc323 int sim_fd = ffdp->getSimFD(); local
325 off_t result = lseek(sim_fd, offs, whence);
345 int sim_fd = ffdp->getSimFD(); local
349 uint64_t result = lseek(sim_fd, offset, whence);
624 int sim_fd = ffdp->getSimFD(); local
626 int result = ftruncate(sim_fd, length);
666 int sim_fd = ffdp->getSimFD(); local
669 int result = ftruncate(sim_fd, length);
671 int result = ftruncate64(sim_fd, length);
720 int sim_fd local
748 int sim_fd = old_hbfdp->getSimFD(); local
803 int sim_fd = hbfdp->getSimFD(); local
846 int sim_fd = hbfdp->getSimFD(); local
1137 int sim_fd = ffdp->getSimFD(); local
1246 int sim_fd = hbfdp->getSimFD(); local
1318 int sim_fd = sfdp->getSimFD(); local
1340 int sim_fd = sfdp->getSimFD(); local
1360 int sim_fd = sfdp->getSimFD(); local
1382 int sim_fd = sfdp->getSimFD(); local
1406 int sim_fd = sfdp->getSimFD(); local
1471 int sim_fd = sfdp->getSimFD(); local
1505 int sim_fd = sfdp->getSimFD(); local
1646 int sim_fd = sfdp->getSimFD(); local
1726 int sim_fd = sfdp->getSimFD(); local
1759 int sim_fd = sfdp->getSimFD(); local
1799 int sim_fd = sfdp->getSimFD(); local
1834 int sim_fd = sfdp->getSimFD(); local
[all...]
H A Dsyscall_emul.hh874 * Any success will set sim_fd to something other than -1 and skip the
877 int sim_fd = -1; local
883 sim_fd = OS::openSpecialFile(abs_path, p, tc);
887 if (sim_fd == -1) {
888 sim_fd = open(redir_path.c_str(), host_flags, mode);
891 if (sim_fd == -1) {
907 auto ffdp = std::make_shared<FileFDEntry>(sim_fd, host_flags, path, 0);
909 DPRINTF_SYSCALL(Verbose, "open%s: sim_fd[%d], target_fd[%d] -> path:%s\n"
911 sim_fd, tgt_fd, used_path.c_str(), path.c_str());
1147 int sim_fd local
1350 int sim_fd = ffdp->getSimFD(); local
1447 int sim_fd = ffdp->getSimFD(); local
1645 int sim_fd = ffdp->getSimFD(); local
1670 int sim_fd = ffdp->getSimFD(); local
1710 int sim_fd = hbfdp->getSimFD(); local
1790 int sim_fd = -1; local
1928 int sim_fd = ffdp->getSimFD(); local
2381 int sim_fd = socket(domain, type, prot); local
2627 int sim_fd = hbfdp->getSimFD(); local
2658 int sim_fd = hbfdp->getSimFD(); local
2768 int sim_fd = sfdp->getSimFD(); local
2830 int sim_fd = eventfd(initval, in_flags); local
[all...]

Completed in 19 milliseconds