Lines Matching refs:tcp
38 if (entering(tcp)) { in SYS_FUNC()
39 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
42 if (syserror(tcp)) in SYS_FUNC()
43 printaddr(tcp->u_arg[1]); in SYS_FUNC()
45 printstrn(tcp, tcp->u_arg[1], tcp->u_rval); in SYS_FUNC()
46 tprintf(", %" PRI_klu, tcp->u_arg[2]); in SYS_FUNC()
53 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
55 printstrn(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC()
56 tprintf(", %" PRI_klu, tcp->u_arg[2]); in SYS_FUNC()
67 print_iovec(struct tcb *tcp, void *elem_buf, size_t elem_size, void *data) in print_iovec() argument
91 printstrn(tcp, iov[0], len); in print_iovec()
99 decode_netlink(tcp, tcp->u_arg[0], iov[0], len); in print_iovec()
116 tprint_iov_upto(struct tcb *const tcp, const kernel_ulong_t len, in tprint_iov_upto() argument
125 print_array(tcp, addr, len, iov, current_wordsize * 2, in tprint_iov_upto()
131 if (entering(tcp)) { in SYS_FUNC()
132 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
135 tprint_iov_upto(tcp, tcp->u_arg[2], tcp->u_arg[1], in SYS_FUNC()
136 syserror(tcp) ? IOV_DECODE_ADDR : in SYS_FUNC()
137 IOV_DECODE_STR, tcp->u_rval); in SYS_FUNC()
138 tprintf(", %" PRI_klu, tcp->u_arg[2]); in SYS_FUNC()
145 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
147 tprint_iov(tcp, tcp->u_arg[2], tcp->u_arg[1], IOV_DECODE_STR); in SYS_FUNC()
148 tprintf(", %" PRI_klu, tcp->u_arg[2]); in SYS_FUNC()
155 if (entering(tcp)) { in SYS_FUNC()
156 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
159 if (syserror(tcp)) in SYS_FUNC()
160 printaddr(tcp->u_arg[1]); in SYS_FUNC()
162 printstrn(tcp, tcp->u_arg[1], tcp->u_rval); in SYS_FUNC()
163 tprintf(", %" PRI_klu ", ", tcp->u_arg[2]); in SYS_FUNC()
164 printllval(tcp, "%lld", 3); in SYS_FUNC()
171 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
173 printstrn(tcp, tcp->u_arg[1], tcp->u_arg[2]); in SYS_FUNC()
174 tprintf(", %" PRI_klu ", ", tcp->u_arg[2]); in SYS_FUNC()
175 printllval(tcp, "%lld", 3); in SYS_FUNC()
181 print_lld_from_low_high_val(struct tcb *tcp, int arg) in print_lld_from_low_high_val() argument
186 tprintf("%" PRI_kld, (tcp->u_arg[arg + 1] << 32) in print_lld_from_low_high_val()
187 | tcp->u_arg[arg]); in print_lld_from_low_high_val()
191 tprintf("%" PRI_kld, tcp->u_arg[arg]); in print_lld_from_low_high_val()
195 ((long long) tcp->u_arg[arg + 1] << 32) in print_lld_from_low_high_val()
196 | ((long long) tcp->u_arg[arg])); in print_lld_from_low_high_val()
203 do_preadv(struct tcb *tcp, const int flags_arg) in do_preadv() argument
205 if (entering(tcp)) { in do_preadv()
206 printfd(tcp, tcp->u_arg[0]); in do_preadv()
210 truncate_kulong_to_current_wordsize(tcp->u_arg[2]); in do_preadv()
212 tprint_iov_upto(tcp, len, tcp->u_arg[1], in do_preadv()
213 syserror(tcp) ? IOV_DECODE_ADDR : in do_preadv()
214 IOV_DECODE_STR, tcp->u_rval); in do_preadv()
216 print_lld_from_low_high_val(tcp, 3); in do_preadv()
219 printflags(rwf_flags, tcp->u_arg[flags_arg], "RWF_???"); in do_preadv()
227 return do_preadv(tcp, -1); in SYS_FUNC()
231 do_pwritev(struct tcb *tcp, const int flags_arg) in do_pwritev() argument
234 truncate_kulong_to_current_wordsize(tcp->u_arg[2]); in do_pwritev()
236 printfd(tcp, tcp->u_arg[0]); in do_pwritev()
238 tprint_iov(tcp, len, tcp->u_arg[1], IOV_DECODE_STR); in do_pwritev()
240 print_lld_from_low_high_val(tcp, 3); in do_pwritev()
243 printflags(rwf_flags, tcp->u_arg[flags_arg], "RWF_???"); in do_pwritev()
251 return do_pwritev(tcp, -1); in SYS_FUNC()
271 return do_preadv(tcp, PREADV2_PWRITEV2_FLAGS_ARG_NO); in SYS_FUNC()
276 return do_pwritev(tcp, PREADV2_PWRITEV2_FLAGS_ARG_NO); in SYS_FUNC()
284 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
287 printfd(tcp, tcp->u_arg[1]); in SYS_FUNC()
290 tprintf("%" PRI_klu ", ", tcp->u_arg[2]); in SYS_FUNC()
292 printflags(splice_flags, tcp->u_arg[3], "SPLICE_F_???"); in SYS_FUNC()
300 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
303 printnum_int64(tcp, tcp->u_arg[1], "%" PRId64); in SYS_FUNC()
306 printfd(tcp, tcp->u_arg[2]); in SYS_FUNC()
309 printnum_int64(tcp, tcp->u_arg[3], "%" PRId64); in SYS_FUNC()
312 tprintf("%" PRI_klu ", ", tcp->u_arg[4]); in SYS_FUNC()
314 printflags(splice_flags, tcp->u_arg[5], "SPLICE_F_???"); in SYS_FUNC()
322 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
325 tprint_iov(tcp, tcp->u_arg[2], tcp->u_arg[1], IOV_DECODE_STR); in SYS_FUNC()
326 tprintf(", %" PRI_klu ", ", tcp->u_arg[2]); in SYS_FUNC()
328 printflags(splice_flags, tcp->u_arg[3], "SPLICE_F_???"); in SYS_FUNC()