Lines Matching refs:tcp
132 sys_getrlimit(tcp)
133 struct tcb *tcp;
137 if (entering(tcp)) {
138 printxval(resources, tcp->u_arg[0], "RLIMIT_???");
142 if (syserror(tcp) || !verbose(tcp))
143 tprintf("%#lx", tcp->u_arg[1]);
144 else if (umove(tcp, tcp->u_arg[1], &rlim) < 0)
155 sys_setrlimit(tcp)
156 struct tcb *tcp;
160 if (entering(tcp)) {
161 printxval(resources, tcp->u_arg[0], "RLIMIT_???");
163 if (!verbose(tcp))
164 tprintf("%#lx", tcp->u_arg[1]);
165 else if (umove(tcp, tcp->u_arg[1], &rlim) < 0)
194 sys_getrlimit64(tcp)
195 struct tcb *tcp;
199 if (entering(tcp)) {
200 printxval(resources, tcp->u_arg[0], "RLIMIT_???");
204 if (syserror(tcp) || !verbose(tcp))
205 tprintf("%#lx", tcp->u_arg[1]);
206 else if (umove(tcp, tcp->u_arg[1], &rlim) < 0)
217 sys_setrlimit64(tcp)
218 struct tcb *tcp;
222 if (entering(tcp)) {
223 printxval(resources, tcp->u_arg[0], "RLIMIT_???");
225 if (!verbose(tcp))
226 tprintf("%#lx", tcp->u_arg[1]);
227 else if (umove(tcp, tcp->u_arg[1], &rlim) < 0)
252 printrusage32(tcp, addr)
253 struct tcb *tcp;
283 else if (syserror(tcp) || !verbose(tcp))
285 else if (umove(tcp, addr, &ru) < 0)
287 else if (!abbrev(tcp)) {
313 printrusage(tcp, addr)
314 struct tcb *tcp;
321 else if (syserror(tcp) || !verbose(tcp))
323 else if (umove(tcp, addr, &ru) < 0)
325 else if (!abbrev(tcp)) {
350 sys_getrusage(tcp)
351 struct tcb *tcp;
353 if (entering(tcp)) {
354 printxval(usagewho, tcp->u_arg[0], "RUSAGE_???");
358 printrusage(tcp, tcp->u_arg[1]);
364 sys_osf_getrusage(tcp)
365 struct tcb *tcp;
367 if (entering(tcp)) {
368 printxval(usagewho, tcp->u_arg[0], "RUSAGE_???");
372 printrusage32(tcp, tcp->u_arg[1]);
382 sys_sysinfo(tcp)
383 struct tcb *tcp;
387 if (exiting(tcp)) {
388 if (syserror(tcp) || !verbose(tcp))
389 tprintf("%#lx", tcp->u_arg[0]);
390 else if (umove(tcp, tcp->u_arg[0], &si) < 0)
417 sys_getpriority(tcp)
418 struct tcb *tcp;
420 if (entering(tcp)) {
421 printxval(priorities, tcp->u_arg[0], "PRIO_???");
422 tprintf(", %lu", tcp->u_arg[1]);
428 sys_setpriority(tcp)
429 struct tcb *tcp;
431 if (entering(tcp)) {
432 printxval(priorities, tcp->u_arg[0], "PRIO_???");
433 tprintf(", %lu, %ld", tcp->u_arg[1], tcp->u_arg[2]);
439 sys_nice(tcp)
440 struct tcb *tcp;
442 if (entering(tcp))
443 tprintf("%ld", tcp->u_arg[0]);
450 sys_times(tcp)
451 struct tcb *tcp;
455 if (exiting(tcp)) {
456 if (tcp->u_arg[0] == 0)
458 else if (syserror(tcp))
459 tprintf("%#lx", tcp->u_arg[0]);
460 else if (umove(tcp, tcp->u_arg[0], &tbuf) < 0)
522 sys_quotactl(tcp)
523 struct tcb *tcp;
531 unsigned int cmd = tcp->u_arg[0];
533 if (entering(tcp)) {
538 printstr(tcp, tcp->u_arg[1], -1);
539 tprintf(", %lu, ", tcp->u_arg[2]);
544 if (!tcp->u_arg[3])
546 else if (!verbose(tcp) || !OLD_COMMAND(cmd))
547 tprintf("%#lx", tcp->u_arg[3]);
548 else if (umoven(tcp, tcp->u_arg[3], sizeof(struct dqblk),
593 sys_quotactl(tcp)
594 struct tcb *tcp;
597 if (entering(tcp)) {
599 printxval(quotacmds, tcp->u_arg[0], "Q_???");
601 printstr(tcp, tcp->u_arg[1], -1);
604 printpath(tcp, tcp->u_arg[0]);
606 printxval(quotacmds, tcp->u_arg[1], "Q_???");
608 tprintf(", %lu, %#lx", tcp->u_arg[2], tcp->u_arg[3]);