Home
last modified time | relevance | path

Searched refs:user_syscall_nr (Results 1 – 2 of 2) sorted by relevance

/tools/testing/selftests/powerpc/ptrace/
A Dptrace-syscall.c28 #define user_syscall_nr gpr[0] macro
103 if (regs.user_syscall_nr != SYS_gettid || in test_ptrace_syscall_restart()
108 (unsigned long)regs.user_syscall_nr, in test_ptrace_syscall_restart()
137 if (regs.user_syscall_nr != SYS_gettid || in test_ptrace_syscall_restart()
142 (unsigned long)regs.user_syscall_nr, in test_ptrace_syscall_restart()
161 regs.user_syscall_nr = SYS_getpid; in test_ptrace_syscall_restart()
185 if (regs.user_syscall_nr != SYS_getpid in test_ptrace_syscall_restart()
191 (unsigned long)regs.user_syscall_nr, in test_ptrace_syscall_restart()
/tools/testing/selftests/x86/
A Dptrace_syscall.c22 # define user_syscall_nr orig_rax macro
32 # define user_syscall_nr orig_eax macro
191 if (regs.user_syscall_nr != SYS_gettid || in test_ptrace_syscall_restart()
195 …wrong (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", (unsigned long)regs.user_syscall_nr, (unsigned lo… in test_ptrace_syscall_restart()
210 regs.user_ax = regs.user_syscall_nr; in test_ptrace_syscall_restart()
222 if (regs.user_syscall_nr != SYS_gettid || in test_ptrace_syscall_restart()
254 if (regs.user_syscall_nr != SYS_getpid || in test_ptrace_syscall_restart()
314 if (regs.user_syscall_nr != SYS_pause || in test_restart_under_ptrace()
318 …wrong (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", (unsigned long)regs.user_syscall_nr, (unsigned lo… in test_restart_under_ptrace()
336 if (regs.user_syscall_nr != SYS_pause || in test_restart_under_ptrace()
[all …]

Completed in 4 milliseconds