Lines Matching refs:tcp
220 printstat(struct tcb *tcp, long addr) in printstat() argument
228 if (!umove_or_printaddr(tcp, addr, &statbuf)) in printstat()
229 do_printstat32(tcp, &statbuf); in printstat()
238 if (!umove_or_printaddr(tcp, addr, &statbuf)) in printstat()
239 do_printstat_sol(tcp, &statbuf); in printstat()
244 if (!umove_or_printaddr(tcp, addr, &statbuf)) in printstat()
245 do_printstat(tcp, &statbuf); in printstat()
250 if (entering(tcp)) { in SYS_FUNC()
251 printpath(tcp, tcp->u_arg[0]); in SYS_FUNC()
254 printstat(tcp, tcp->u_arg[1]); in SYS_FUNC()
261 if (entering(tcp)) { in SYS_FUNC()
262 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
265 printstat(tcp, tcp->u_arg[1]); in SYS_FUNC()
324 printstat64(struct tcb *tcp, long addr) in printstat64() argument
334 printstat(tcp, addr); in printstat64()
339 if (!umove_or_printaddr(tcp, addr, &statbuf)) in printstat64()
340 do_printstat64(tcp, &statbuf); in printstat64()
345 if (entering(tcp)) { in SYS_FUNC()
346 printpath(tcp, tcp->u_arg[0]); in SYS_FUNC()
349 printstat64(tcp, tcp->u_arg[1]); in SYS_FUNC()
356 if (entering(tcp)) { in SYS_FUNC()
357 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
360 printstat64(tcp, tcp->u_arg[1]); in SYS_FUNC()
369 return sys_stat(tcp); in SYS_FUNC()
374 return sys_fstat(tcp); in SYS_FUNC()
381 if (entering(tcp)) { in SYS_FUNC()
382 print_dirfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
383 printpath(tcp, tcp->u_arg[1]); in SYS_FUNC()
388 printstat64(tcp, tcp->u_arg[2]); in SYS_FUNC()
390 printstat(tcp, tcp->u_arg[2]); in SYS_FUNC()
392 printstat64(tcp, tcp->u_arg[2]); in SYS_FUNC()
394 printstat(tcp, tcp->u_arg[2]); in SYS_FUNC()
397 printflags(at_flags, tcp->u_arg[3], "AT_???"); in SYS_FUNC()
422 printoldstat(struct tcb *tcp, long addr) in printoldstat() argument
431 if (!umove_or_printaddr(tcp, addr, &statbuf)) in printoldstat()
432 do_printstat_sol(tcp, &statbuf); in printoldstat()
437 if (!umove_or_printaddr(tcp, addr, &statbuf)) { in printoldstat()
439 do_printstat(tcp, &newstatbuf); in printoldstat()
445 if (entering(tcp)) { in SYS_FUNC()
446 printpath(tcp, tcp->u_arg[0]); in SYS_FUNC()
449 printoldstat(tcp, tcp->u_arg[1]); in SYS_FUNC()
456 if (entering(tcp)) { in SYS_FUNC()
457 printfd(tcp, tcp->u_arg[0]); in SYS_FUNC()
460 printoldstat(tcp, tcp->u_arg[1]); in SYS_FUNC()
471 if (entering(tcp)) { in SYS_FUNC()
472 tprintf("%ld, ", tcp->u_arg[0]); in SYS_FUNC()
473 printpath(tcp, tcp->u_arg[1]); in SYS_FUNC()
476 printstat(tcp, tcp->u_arg[2]); in SYS_FUNC()
483 if (entering(tcp)) { in SYS_FUNC()
484 tprintf("%ld, ", tcp->u_arg[0]); in SYS_FUNC()
485 printfd(tcp, tcp->u_arg[1]); in SYS_FUNC()
488 printstat(tcp, tcp->u_arg[2]); in SYS_FUNC()