Lines Matching refs:tcp
35 printfd(tcp, tcp->u_arg[0]);
42 printfd(tcp, tcp->u_arg[0]);
48 do_dup2(struct tcb *tcp, int flags_arg)
50 printfd(tcp, tcp->u_arg[0]);
52 printfd(tcp, tcp->u_arg[1]);
55 printflags(open_mode_flags, tcp->u_arg[flags_arg], "O_???");
63 return do_dup2(tcp, -1);
68 return do_dup2(tcp, 2);
79 decode_select(struct tcb *tcp, long *args,
106 if (entering(tcp)) {
109 if (verbose(tcp) && fdsize > 0)
118 if (umoven_or_printaddr(tcp, arg, fdsize, fds))
126 printfd(tcp, j);
133 print_tv_ts(tcp, args[4]);
140 if (syserror(tcp))
143 ready_fds = tcp->u_rval;
145 tcp->auxstr = "Timeout";
157 if (!arg || !fds || umoven(tcp, arg, fdsize, fds) < 0)
187 const char *str = sprint_tv_ts(tcp, args[4]);
193 tcp->auxstr = outstr;
211 if (umove(tcp, tcp->u_arg[0], &oldselect_args) < 0) {
212 printaddr(tcp->u_arg[0]);
220 return decode_select(tcp, long_args, print_timeval, sprint_timeval);
227 return decode_select(tcp, tcp->u_arg, print_timeval32, sprint_timeval32);
233 return decode_select(tcp, tcp->u_arg, print_timeval, sprint_timeval);
239 umove_kulong_array_or_printaddr(struct tcb *tcp, const long addr,
248 int r = umove_or_printaddr(tcp, addr, &ptr32);
257 return umoven_or_printaddr(tcp, addr, n * sizeof(*ptr), ptr);
262 int rc = decode_select(tcp, tcp->u_arg, print_timespec, sprint_timespec);
263 if (entering(tcp)) {
267 if (!umove_kulong_array_or_printaddr(tcp, tcp->u_arg[5],
271 print_sigset_addr_len(tcp, (unsigned long) data[0],