Searched defs:tcp (Results 151 - 175 of 298) sorted by relevance

1234567891011>>

/external/strace/linux/xtensa/
H A Dset_scno.c2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) argument
4 return upoke(tcp->pid, SYSCALL_NR, scno);
/external/strace/
H A Dprint_sigevent.c39 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 Dprint_struct_stat.c40 print_struct_stat(struct tcb *tcp, const struct strace_stat *const st) argument
43 if (!abbrev(tcp)) {
67 if (!abbrev(tcp)) {
H A Dreadlink.c37 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 Drenameat.c4 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 Dsignalfd.c37 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 Dfs_x_ioctl.c33 fs_x_ioctl(struct tcb *const tcp, const unsigned int code, argument
43 if (!umove_or_printaddr(tcp, arg, &fstrim))
H A Dprint_sg_req_info.c47 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 Dprint_timex.c44 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 Dsigaltstack.c44 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 Dstat.c32 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 Dstat64.c32 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 Dalpha.c33 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 Dfetch_seccomp_fprog.c37 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 Dfetch_struct_msghdr.c46 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 Dhdio.c39 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 Dipc_msgctl.c54 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 Dipc_shmctl.c54 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 Dldt.c41 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 Darch_sigreturn.c2 arch_sigreturn(struct tcb *tcp) argument
15 if (umove(tcp, addr, &sc) < 0) {
/external/strace/linux/sparc64/
H A Darch_sigreturn.c13 arch_sigreturn(struct tcb *tcp) argument
16 sparc32_arch_sigreturn(tcp);
18 sparc64_arch_sigreturn(tcp);
/external/strace/linux/aarch64/
H A Dset_scno.c10 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 Darch_sigreturn.c2 arch_sigreturn(struct tcb *tcp) argument
10 tcp->currpers == 0 ?
17 print_sigset_addr_len(tcp, addr, NSIG_BYTES);
H A Dset_scno.c10 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 Dget_syscall_args.c3 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...]

Completed in 1617 milliseconds

1234567891011>>