reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
  171   return internal_syscall(SYSCALL(mmap), (uptr)addr, length, prot, flags, fd,
  184   return internal_syscall(SYSCALL(munmap), (uptr)addr, length);
  188   return internal_syscall(SYSCALL(mprotect), (uptr)addr, length, prot);
  193   return internal_syscall(SYSCALL(close), fd);
  200   return internal_syscall(SYSCALL(open), (uptr)filename, flags);
  209   return internal_syscall(SYSCALL(open), (uptr)filename, flags, mode);
  216                (sptr)internal_syscall(SYSCALL(read), fd, (uptr)buf, count));
  223                (sptr)internal_syscall(SYSCALL(write), fd, (uptr)buf, count));
  229   HANDLE_EINTR(res, (sptr)internal_syscall(SYSCALL(ftruncate), fd,
  315   return internal_syscall(SYSCALL(stat), (uptr)path, (uptr)buf);
  340   return internal_syscall(SYSCALL(lstat), (uptr)path, (uptr)buf);
  360   return internal_syscall(SYSCALL(fstat), fd, (uptr)buf);
  378   return internal_syscall(SYSCALL(dup), oldfd);
  385   return internal_syscall(SYSCALL(dup2), oldfd, newfd);
  397   return internal_syscall(SYSCALL(readlink), (uptr)path, (uptr)buf, bufsize);
  405   return internal_syscall(SYSCALL(unlink), (uptr)path);
  417   return internal_syscall(SYSCALL(rename), (uptr)oldpath, (uptr)newpath);
  422   return internal_syscall(SYSCALL(sched_yield));
  429   internal_syscall(SYSCALL(exit_group), exitcode);
  438   int res = internal_syscall(SYSCALL(nanosleep), &ts, &ts);
  445   return internal_syscall(SYSCALL(execve), (uptr)filename, (uptr)argv,
  476   return internal_syscall(SYSCALL(gettid));
  482   return internal_syscall(SYSCALL(tgkill), pid, tid, sig);
  503   internal_syscall(SYSCALL(gettimeofday), &tv, 0);
  508   return internal_syscall(SYSCALL(clock_gettime), clk_id, tp);
  658     internal_syscall(SYSCALL(futex), (uptr)m, FUTEX_WAIT_PRIVATE, MtxSleeping,
  674     internal_syscall(SYSCALL(futex), (uptr)m, FUTEX_WAKE_PRIVATE, 1, 0, 0, 0);
  721   return internal_syscall(SYSCALL(ptrace), request, pid, (uptr)addr,
  726   return internal_syscall(SYSCALL(wait4), pid, (uptr)status, options,
  731   return internal_syscall(SYSCALL(getpid));
  735   return internal_syscall(SYSCALL(getppid));
  744   return internal_syscall(SYSCALL(getdents), fd, (uptr)dirp, count);
  749   return internal_syscall(SYSCALL(lseek), fd, offset, whence);
  754   return internal_syscall(SYSCALL(prctl), option, arg2, arg3, arg4, arg5);
  759   return internal_syscall(SYSCALL(sigaltstack), (uptr)ss, (uptr)oss);
  766   return internal_syscall(SYSCALL(fork));
  824   uptr result = internal_syscall(SYSCALL(rt_sigaction), (uptr)signum,
  850   return internal_syscall(SYSCALL(rt_sigprocmask), (uptr)how,
 1244                        : "a"(SYSCALL(clone)), "i"(SYSCALL(exit)),
 1244                        : "a"(SYSCALL(clone)), "i"(SYSCALL(exit)),
 2126     uptr res = internal_syscall(SYSCALL(getrandom), buffer, length,