Lines Matching refs:tcp
71 print_addr(tcp, addr, ifr) in print_addr() argument
72 struct tcb *tcp; in print_addr()
81 printstr(tcp, addr, sizeof(ifr->ifr_addr.sa_data));
85 sock_ioctl(struct tcb *tcp, long code, long arg) in sock_ioctl() argument
92 if (entering(tcp)) { in sock_ioctl()
94 if (umove(tcp, tcp->u_arg[2], &ifc) >= 0 in sock_ioctl()
131 printnum(tcp, arg, ", %#d"); in sock_ioctl()
159 if (umove(tcp, tcp->u_arg[2], &ifr) < 0) in sock_ioctl()
160 tprintf(", %#lx", tcp->u_arg[2]); in sock_ioctl()
161 else if (syserror(tcp)) { in sock_ioctl()
195 print_addr(tcp, ((long) tcp->u_arg[2] in sock_ioctl()
248 if (umove(tcp, tcp->u_arg[2], &ifc) < 0) { in sock_ioctl()
253 if (syserror(tcp)) { in sock_ioctl()
262 if (umoven(tcp, (unsigned long) ifc.ifc_buf, in sock_ioctl()
273 if (verbose(tcp)) { in sock_ioctl()
278 print_addr(tcp, ((long) tcp->u_arg[2] in sock_ioctl()