Lines Matching refs:tcp
37 printargv(struct tcb *tcp, long addr) in printargv() argument
49 for (sep = ""; !abbrev(tcp) || n < max_strlen / 2; sep = ", ", ++n) { in printargv()
50 if (umoven_or_printaddr(tcp, addr, wordsize, cp.data)) in printargv()
57 printstr(tcp, cp.p64, -1); in printargv()
65 printargc(const char *fmt, struct tcb *tcp, long addr) in printargc() argument
70 for (count = 0; !umoven(tcp, addr, current_wordsize, &cp) && cp; count++) { in printargc()
77 decode_execve(struct tcb *tcp, const unsigned int index) in decode_execve() argument
79 printpath(tcp, tcp->u_arg[index + 0]); in decode_execve()
82 if (!tcp->u_arg[index + 1] || !verbose(tcp)) in decode_execve()
83 printaddr(tcp->u_arg[index + 1]); in decode_execve()
86 printargv(tcp, tcp->u_arg[index + 1]); in decode_execve()
91 if (!tcp->u_arg[index + 2] || !verbose(tcp)) in decode_execve()
92 printaddr(tcp->u_arg[index + 2]); in decode_execve()
93 else if (abbrev(tcp)) in decode_execve()
94 printargc("[/* %d var%s */]", tcp, tcp->u_arg[index + 2]); in decode_execve()
97 printargv(tcp, tcp->u_arg[index + 2]); in decode_execve()
104 decode_execve(tcp, 0); in SYS_FUNC()
111 print_dirfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
112 decode_execve(tcp, 1); in SYS_FUNC()
114 printflags(at_flags, tcp->u_arg[4], "AT_???"); in SYS_FUNC()
122 printpath(tcp, tcp->u_arg[0]); in SYS_FUNC()
124 if (!tcp->u_arg[1] || !verbose(tcp)) in SYS_FUNC()
125 printaddr(tcp->u_arg[1]); in SYS_FUNC()
128 printargv(tcp, tcp->u_arg[1]); in SYS_FUNC()