/external/strace/linux/xtensa/ |
H A D | set_scno.c | 2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) argument 4 return upoke(tcp->pid, SYSCALL_NR, scno);
|
/external/strace/ |
H A D | print_sigevent.c | 39 struct tcb *const tcp, const kernel_ulong_t addr) 43 if (umove_or_printaddr(tcp, addr, &sev)) 38 MPERS_PRINTER_DECL(void, print_sigevent, struct tcb *const tcp, const kernel_ulong_t addr) argument
|
H A D | print_struct_stat.c | 40 print_struct_stat(struct tcb *tcp, const struct strace_stat *const st) argument 43 if (!abbrev(tcp)) { 67 if (!abbrev(tcp)) {
|
H A D | readlink.c | 37 decode_readlink(struct tcb *tcp, int offset) argument 39 if (entering(tcp)) { 40 printpath(tcp, tcp->u_arg[offset]); 43 if (syserror(tcp)) 44 printaddr(tcp->u_arg[offset + 1]); 53 printstrn(tcp, tcp->u_arg[offset + 1], tcp->u_rval); 54 tprintf(", %" PRI_klu, tcp [all...] |
H A D | renameat.c | 4 decode_renameat(struct tcb *tcp) argument 6 print_dirfd(tcp, tcp->u_arg[0]); 7 printpath(tcp, tcp->u_arg[1]); 9 print_dirfd(tcp, tcp->u_arg[2]); 10 printpath(tcp, tcp->u_arg[3]); 15 decode_renameat(tcp); [all...] |
H A D | signalfd.c | 37 do_signalfd(struct tcb *tcp, int flags_arg) argument 40 printfd(tcp, tcp->u_arg[0]); 42 print_sigset_addr_len(tcp, tcp->u_arg[1], tcp->u_arg[2]); 43 tprintf(", %" PRI_klu, tcp->u_arg[2]); 46 printflags(sfd_flags, tcp->u_arg[flags_arg], "SFD_???"); 54 return do_signalfd(tcp, -1); 59 return do_signalfd(tcp, [all...] |
H A D | fs_x_ioctl.c | 33 fs_x_ioctl(struct tcb *const tcp, const unsigned int code, argument 43 if (!umove_or_printaddr(tcp, arg, &fstrim))
|
H A D | print_sg_req_info.c | 47 struct tcb *const tcp, const kernel_ulong_t arg) 51 if (entering(tcp)) 55 if (!umove_or_printaddr(tcp, arg, &info)) { 46 MPERS_PRINTER_DECL(int, decode_sg_req_info, struct tcb *const tcp, const kernel_ulong_t arg) argument
|
H A D | print_timex.c | 44 struct tcb *const tcp, const kernel_ulong_t addr) 48 if (umove_or_printaddr(tcp, addr, &tx)) 43 MPERS_PRINTER_DECL(int, print_timex, struct tcb *const tcp, const kernel_ulong_t addr) argument
|
H A D | sigaltstack.c | 44 print_stack_t(struct tcb *const tcp, const kernel_ulong_t addr) argument 48 if (umove_or_printaddr(tcp, addr, &ss)) 60 if (entering(tcp)) { 61 print_stack_t(tcp, tcp->u_arg[0]); 64 print_stack_t(tcp, tcp->u_arg[1]);
|
H A D | stat.c | 32 decode_struct_stat(struct tcb *const tcp, const kernel_ulong_t addr) argument 36 if (fetch_struct_stat(tcp, addr, &st)) 37 print_struct_stat(tcp, &st); 42 if (entering(tcp)) { 43 printpath(tcp, tcp->u_arg[0]); 46 decode_struct_stat(tcp, tcp->u_arg[1]); 53 if (entering(tcp)) { 54 printfd(tcp, tc [all...] |
H A D | stat64.c | 32 decode_struct_stat64(struct tcb *const tcp, const kernel_ulong_t addr) argument 36 if (fetch_struct_stat64(tcp, addr, &st)) 37 print_struct_stat(tcp, &st); 42 if (entering(tcp)) { 43 printpath(tcp, tcp->u_arg[0]); 46 decode_struct_stat64(tcp, tcp->u_arg[1]); 53 if (entering(tcp)) { 54 printfd(tcp, tc [all...] |
H A D | alpha.c | 33 decode_getxxid(struct tcb *tcp, const char *what) argument 35 if (entering(tcp)) 38 long rval = getrval2(tcp); 44 tcp->auxstr = outstr; 50 return decode_getxxid(tcp, "ppid"); 55 return decode_getxxid(tcp, "euid"); 60 return decode_getxxid(tcp, "egid"); 65 printpath(tcp, tcp->u_arg[0]); 67 printaddr(tcp [all...] |
H A D | fetch_seccomp_fprog.c | 37 MPERS_PRINTER_DECL(bool, fetch_seccomp_fprog, struct tcb *const tcp, argument 44 return !umove_or_printaddr(tcp, addr, pfp); 46 if (umove_or_printaddr(tcp, addr, &mfp))
|
H A D | fetch_struct_msghdr.c | 46 struct tcb *const tcp, const kernel_ulong_t addr, 53 return umove(tcp, addr, p_native) ? 0 : sizeof(*p_native); 55 if (umove(tcp, addr, &v_compat)) 45 MPERS_PRINTER_DECL(int, fetch_struct_msghdr, struct tcb *const tcp, const kernel_ulong_t addr, void *const p) argument
|
H A D | hdio.c | 39 MPERS_PRINTER_DECL(int, hdio_ioctl, struct tcb *const tcp, argument 44 if (entering(tcp)) 50 if (!umove_or_printaddr(tcp, arg, &geo))
|
H A D | ipc_msgctl.c | 54 print_msqid_ds(struct tcb *const tcp, const kernel_ulong_t addr, int cmd) argument 63 if (umove_or_printaddr(tcp, addr, &msqid_ds)) 99 if (entering(tcp)) { 100 tprintf("%d, ", (int) tcp->u_arg[0]); 101 PRINTCTL(msgctl_flags, tcp->u_arg[1], "MSG_???"); 104 const kernel_ulong_t addr = tcp->u_arg[indirect_ipccall(tcp) ? 3 : 2]; 105 print_msqid_ds(tcp, addr, tcp->u_arg[1]);
|
H A D | ipc_shmctl.c | 54 print_shmid_ds(struct tcb *const tcp, const kernel_ulong_t addr, int cmd) argument 63 if (umove_or_printaddr(tcp, addr, &shmid_ds)) 99 if (entering(tcp)) { 100 tprintf("%d, ", (int) tcp->u_arg[0]); 101 PRINTCTL(shmctl_flags, tcp->u_arg[1], "SHM_???"); 104 const kernel_ulong_t addr = tcp->u_arg[indirect_ipccall(tcp) ? 3 : 2]; 105 print_shmid_ds(tcp, addr, tcp->u_arg[1]);
|
H A D | ldt.c | 41 print_user_desc(struct tcb *const tcp, const kernel_ulong_t addr) argument 45 if (umove_or_printaddr(tcp, addr, &desc)) 70 tprintf("%" PRI_kld ", ", tcp->u_arg[0]); 71 if (tcp->u_arg[2] != sizeof(struct user_desc)) 72 printaddr(tcp->u_arg[1]); 74 print_user_desc(tcp, tcp->u_arg[1]); 75 tprintf(", %" PRI_klu, tcp->u_arg[2]); 82 if (entering(tcp)) { 83 print_user_desc(tcp, tc [all...] |
/external/strace/linux/powerpc/ |
H A D | arch_sigreturn.c | 2 arch_sigreturn(struct tcb *tcp) argument 15 if (umove(tcp, addr, &sc) < 0) {
|
/external/strace/linux/sparc64/ |
H A D | arch_sigreturn.c | 13 arch_sigreturn(struct tcb *tcp) argument 16 sparc32_arch_sigreturn(tcp); 18 sparc64_arch_sigreturn(tcp);
|
/external/strace/linux/aarch64/ |
H A D | set_scno.c | 10 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) argument 17 int rc = ptrace(PTRACE_SETREGSET, tcp->pid, NT_ARM_SYSTEM_CALL, &io); 20 tcp->pid, n);
|
/external/strace/linux/arm/ |
H A D | arch_sigreturn.c | 2 arch_sigreturn(struct tcb *tcp) argument 10 tcp->currpers == 0 ? 17 print_sigset_addr_len(tcp, addr, NSIG_BYTES);
|
H A D | set_scno.c | 10 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) argument 13 int rc = ptrace(PTRACE_SET_SYSCALL, tcp->pid, NULL, (unsigned long) n); 16 tcp->pid, n);
|
/external/strace/linux/ia64/ |
H A D | get_syscall_args.c | 3 get_syscall_args(struct tcb *tcp) argument 13 for (i = 0; i < tcp->s_ent->nargs; ++i) { 14 if (umove(tcp, 16 &tcp->u_arg[i]) < 0) 21 tcp->u_arg[0] = 0xffffffff & ia64_regs.gr[11]; /* EBX */ 22 tcp->u_arg[1] = 0xffffffff & ia64_regs.gr[ 9]; /* ECX */ 23 tcp->u_arg[2] = 0xffffffff & ia64_regs.gr[10]; /* EDX */ 24 tcp->u_arg[3] = 0xffffffff & ia64_regs.gr[14]; /* ESI */ 25 tcp->u_arg[4] = 0xffffffff & ia64_regs.gr[15]; /* EDI */ 26 tcp [all...] |