Searched defs:tcp (Results 76 - 100 of 298) sorted by relevance

1234567891011>>

/external/strace/linux/crisv10/
H A Dget_syscall_args.c3 get_syscall_args(struct tcb *tcp) argument
11 for (i = 0; i < tcp->s_ent->nargs; ++i)
12 if (upeek(tcp->pid, crisregs[i], &tcp->u_arg[i]) < 0)
H A Dset_error.c2 arch_set_error(struct tcb *tcp) argument
4 cris_r10 = -tcp->u_error;
5 return upoke(tcp->pid, 4 * PT_R10, cris_r10);
9 arch_set_success(struct tcb *tcp) argument
11 cris_r10 = tcp->u_rval;
12 return upoke(tcp->pid, 4 * PT_R10, cris_r10);
H A Dset_scno.c2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) argument
4 return upoke(tcp->pid, 4 * PT_R9, scno);
/external/strace/linux/hppa/
H A Dget_error.c2 get_error(struct tcb *tcp, const bool check_errno) argument
5 tcp->u_rval = -1;
6 tcp->u_error = -hppa_r28;
8 tcp->u_rval = hppa_r28;
H A Dget_syscall_args.c3 get_syscall_args(struct tcb *tcp) argument
7 for (i = 0; i < tcp->s_ent->nargs; ++i)
8 if (upeek(tcp->pid, PT_GR26-4*i, &tcp->u_arg[i]) < 0)
H A Dset_error.c2 arch_set_error(struct tcb *tcp) argument
4 hppa_r28 = -tcp->u_error;
5 return upoke(tcp->pid, PT_GR28, hppa_r28);
9 arch_set_success(struct tcb *tcp) argument
11 hppa_r28 = tcp->u_rval;
12 return upoke(tcp->pid, PT_GR28, hppa_r28);
H A Dset_scno.c2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) argument
4 return upoke(tcp->pid, PT_GR20, scno);
/external/strace/linux/i386/
H A Dget_error.c2 get_error(struct tcb *tcp, const bool check_errno) argument
5 tcp->u_rval = -1;
6 tcp->u_error = -i386_regs.eax;
8 tcp->u_rval = i386_regs.eax;
H A Dset_error.c2 arch_set_error(struct tcb *tcp) argument
4 i386_regs.eax = -tcp->u_error;
6 return upoke(tcp->pid, 4 * EAX, i386_regs.eax);
8 return set_regs(tcp->pid);
13 arch_set_success(struct tcb *tcp) argument
15 i386_regs.eax = tcp->u_rval;
17 return upoke(tcp->pid, 4 * EAX, i386_regs.eax);
19 return set_regs(tcp->pid);
H A Dset_scno.c2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) argument
5 return upoke(tcp->pid, 4 * ORIG_EAX, scno);
8 return set_regs(tcp->pid);
/external/strace/linux/ia64/
H A Darch_sigreturn.c2 arch_sigreturn(struct tcb *tcp) argument
10 print_sigset_addr_len(tcp, addr, NSIG_BYTES);
H A Dget_error.c2 get_error(struct tcb *tcp, const bool check_errno) argument
7 tcp->u_rval = -1;
8 tcp->u_error = -err;
10 tcp->u_rval = err;
14 tcp->u_rval = -1;
15 tcp->u_error = ia64_regs.gr[8];
17 tcp->u_rval = ia64_regs.gr[8];
H A Dset_error.c2 arch_set_error(struct tcb *tcp) argument
5 ia64_regs.gr[8] = -tcp->u_error;
7 ia64_regs.gr[8] = tcp->u_error;
10 return set_regs(tcp->pid);
14 arch_set_success(struct tcb *tcp) argument
16 ia64_regs.gr[8] = tcp->u_rval;
20 return set_regs(tcp->pid);
H A Dset_scno.c2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) argument
9 return set_regs(tcp->pid);
/external/strace/linux/m68k/
H A Darch_sigreturn.c2 arch_sigreturn(struct tcb *tcp) argument
7 if (umove(tcp, *m68k_usp_ptr + 2 * sizeof(int), &addr) < 0)
12 if (umove(tcp, addr, &mask[0]) < 0)
17 if (umoven(tcp, addr, sizeof(mask) - sizeof(long), &mask[1]) < 0)
H A Dget_error.c2 get_error(struct tcb *tcp, const bool check_errno) argument
5 tcp->u_rval = -1;
6 tcp->u_error = -m68k_regs.d0;
8 tcp->u_rval = m68k_regs.d0;
H A Dset_error.c2 arch_set_error(struct tcb *tcp) argument
4 m68k_regs.d0 = -tcp->u_error;
5 return set_regs(tcp->pid);
9 arch_set_success(struct tcb *tcp) argument
11 m68k_regs.d0 = tcp->u_rval;
12 return set_regs(tcp->pid);
H A Dset_scno.c2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) argument
5 return set_regs(tcp->pid);
/external/strace/linux/metag/
H A Dget_error.c2 get_error(struct tcb *tcp, const bool check_errno) argument
6 tcp->u_rval = -1;
7 tcp->u_error = -metag_regs.dx[0][0];
9 tcp->u_rval = metag_regs.dx[0][0];
H A Dget_syscall_args.c3 get_syscall_args(struct tcb *tcp) argument
9 tcp->u_arg[i] = (&metag_regs.dx[3][1])[-i];
H A Dset_error.c2 arch_set_error(struct tcb *tcp) argument
4 metag_regs.dx[0][0] = -tcp->u_error;
5 return set_regs(tcp->pid);
9 arch_set_success(struct tcb *tcp) argument
11 metag_regs.dx[0][0] = tcp->u_rval;
12 return set_regs(tcp->pid);
H A Dset_scno.c2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) argument
5 return set_regs(tcp->pid);
/external/strace/linux/microblaze/
H A Darch_sigreturn.c2 arch_sigreturn(struct tcb *tcp) argument
9 if (upeek(tcp->pid, 1 * 4, &addr) < 0)
14 print_sigset_addr_len(tcp, addr, NSIG_BYTES);
H A Dget_error.c2 get_error(struct tcb *tcp, const bool check_errno) argument
5 tcp->u_rval = -1;
6 tcp->u_error = -microblaze_r3;
8 tcp->u_rval = microblaze_r3;
H A Dget_syscall_args.c3 get_syscall_args(struct tcb *tcp) argument
7 for (i = 0; i < tcp->s_ent->nargs; ++i)
8 if (upeek(tcp->pid, (5 + i) * 4, &tcp->u_arg[i]) < 0)

Completed in 135 milliseconds

1234567891011>>