Lines Matching refs:tcp

36 print_timezone(struct tcb *tcp, const long addr)  in print_timezone()  argument
40 if (umove_or_printaddr(tcp, addr, &tz)) in print_timezone()
49 if (exiting(tcp)) { in SYS_FUNC()
50 print_timeval(tcp, tcp->u_arg[0]); in SYS_FUNC()
52 print_timezone(tcp, tcp->u_arg[1]); in SYS_FUNC()
60 if (exiting(tcp)) { in SYS_FUNC()
61 print_timeval32(tcp, tcp->u_arg[0]); in SYS_FUNC()
63 print_timezone(tcp, tcp->u_arg[1]); in SYS_FUNC()
71 print_timeval(tcp, tcp->u_arg[0]); in SYS_FUNC()
73 print_timezone(tcp, tcp->u_arg[1]); in SYS_FUNC()
81 print_timeval32(tcp, tcp->u_arg[0]); in SYS_FUNC()
83 print_timezone(tcp, tcp->u_arg[1]); in SYS_FUNC()
91 if (entering(tcp)) { in SYS_FUNC()
92 print_timespec(tcp, tcp->u_arg[0]); in SYS_FUNC()
102 if (is_erestart(tcp)) { in SYS_FUNC()
103 temporarily_clear_syserror(tcp); in SYS_FUNC()
104 print_timespec(tcp, tcp->u_arg[1]); in SYS_FUNC()
105 restore_cleared_syserror(tcp); in SYS_FUNC()
107 printaddr(tcp->u_arg[1]); in SYS_FUNC()
117 if (entering(tcp)) { in SYS_FUNC()
118 printxval(itimer_which, tcp->u_arg[0], "ITIMER_???"); in SYS_FUNC()
121 print_itimerval(tcp, tcp->u_arg[1]); in SYS_FUNC()
129 if (entering(tcp)) { in SYS_FUNC()
130 printxval(itimer_which, tcp->u_arg[0], "ITIMER_???"); in SYS_FUNC()
133 print_itimerval32(tcp, tcp->u_arg[1]); in SYS_FUNC()
141 if (entering(tcp)) { in SYS_FUNC()
142 printxval(itimer_which, tcp->u_arg[0], "ITIMER_???"); in SYS_FUNC()
144 print_itimerval(tcp, tcp->u_arg[1]); in SYS_FUNC()
147 print_itimerval(tcp, tcp->u_arg[2]); in SYS_FUNC()
155 if (entering(tcp)) { in SYS_FUNC()
156 printxval(itimer_which, tcp->u_arg[0], "ITIMER_???"); in SYS_FUNC()
158 print_itimerval32(tcp, tcp->u_arg[1]); in SYS_FUNC()
161 print_itimerval32(tcp, tcp->u_arg[2]); in SYS_FUNC()
170 do_adjtimex(struct tcb *tcp, long addr) in do_adjtimex() argument
172 if (print_timex(tcp, addr)) in do_adjtimex()
174 tcp->auxstr = xlookup(adjtimex_state, tcp->u_rval); in do_adjtimex()
175 if (tcp->auxstr) in do_adjtimex()
182 if (exiting(tcp)) in SYS_FUNC()
183 return do_adjtimex(tcp, tcp->u_arg[0]); in SYS_FUNC()
215 printclockname(tcp->u_arg[0]); in SYS_FUNC()
217 print_timespec(tcp, tcp->u_arg[1]); in SYS_FUNC()
224 if (entering(tcp)) { in SYS_FUNC()
225 printclockname(tcp->u_arg[0]); in SYS_FUNC()
228 print_timespec(tcp, tcp->u_arg[1]); in SYS_FUNC()
235 if (entering(tcp)) { in SYS_FUNC()
236 printclockname(tcp->u_arg[0]); in SYS_FUNC()
238 printflags(clockflags, tcp->u_arg[1], "TIMER_???"); in SYS_FUNC()
240 print_timespec(tcp, tcp->u_arg[2]); in SYS_FUNC()
247 if (!tcp->u_arg[1] && is_erestart(tcp)) { in SYS_FUNC()
248 temporarily_clear_syserror(tcp); in SYS_FUNC()
249 print_timespec(tcp, tcp->u_arg[3]); in SYS_FUNC()
250 restore_cleared_syserror(tcp); in SYS_FUNC()
252 printaddr(tcp->u_arg[3]); in SYS_FUNC()
260 if (exiting(tcp)) in SYS_FUNC()
261 return do_adjtimex(tcp, tcp->u_arg[1]); in SYS_FUNC()
262 printclockname(tcp->u_arg[0]); in SYS_FUNC()
269 if (entering(tcp)) { in SYS_FUNC()
270 printclockname(tcp->u_arg[0]); in SYS_FUNC()
272 print_sigevent(tcp, tcp->u_arg[1]); in SYS_FUNC()
275 printnum_int(tcp, tcp->u_arg[2], "%d"); in SYS_FUNC()
282 if (entering(tcp)) { in SYS_FUNC()
283 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC()
284 printflags(clockflags, tcp->u_arg[1], "TIMER_???"); in SYS_FUNC()
286 print_itimerspec(tcp, tcp->u_arg[2]); in SYS_FUNC()
289 print_itimerspec(tcp, tcp->u_arg[3]); in SYS_FUNC()
296 if (entering(tcp)) { in SYS_FUNC()
297 tprintf("%d, ", (int) tcp->u_arg[0]); in SYS_FUNC()
299 print_itimerspec(tcp, tcp->u_arg[1]); in SYS_FUNC()
308 tprintf("%ld, ", tcp->u_arg[0]); in SYS_FUNC()
309 printclockname(tcp->u_arg[0]); in SYS_FUNC()
311 printflags(timerfdflags, tcp->u_arg[2], "TFD_???"); in SYS_FUNC()
313 print_itimerspec(tcp, tcp->u_arg[3]); in SYS_FUNC()
320 printclockname(tcp->u_arg[0]); in SYS_FUNC()
322 printflags(timerfdflags, tcp->u_arg[1], "TFD_???"); in SYS_FUNC()
329 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
331 printflags(timerfdflags, tcp->u_arg[1], "TFD_???"); in SYS_FUNC()
333 print_itimerspec(tcp, tcp->u_arg[2]); in SYS_FUNC()
335 print_itimerspec(tcp, tcp->u_arg[3]); in SYS_FUNC()
342 if (entering(tcp)) { in SYS_FUNC()
343 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
346 print_itimerspec(tcp, tcp->u_arg[1]); in SYS_FUNC()