Lines Matching refs:u_arg
290 printxval(prctl_options, tcp->u_arg[0], "PR_???");
291 switch (tcp->u_arg[0]) {
298 tprintf(", %lu", tcp->u_arg[1]);
307 tprintf(", %lu", tcp->u_arg[1]);
316 tprintf(", %s", unalignctl_string(tcp->u_arg[1]));
321 tprintf(", %#lx", tcp->u_arg[1]);
326 tprintf(", %lu", tcp->u_arg[1]);
335 tprintf(", %#lx", tcp->u_arg[i]);
339 switch (tcp->u_arg[0]) {
342 if (umove(tcp, tcp->u_arg[1], &i) < 0)
343 tprintf(", %#lx", tcp->u_arg[1]);
354 if (syserror(tcp) || umove(tcp, tcp->u_arg[1], &i) < 0)
387 printpathn(tcp, tcp->u_arg[0], tcp->u_arg[1]);
388 tprintf(", %lu", tcp->u_arg[1]);
400 tprintf("%#lx", tcp->u_arg[0]);
402 printpath(tcp, tcp->u_arg[0]);
403 tprintf(", %lu", tcp->u_arg[1]);
414 printpathn(tcp, tcp->u_arg[0], tcp->u_arg[1]);
415 tprintf(", %lu", tcp->u_arg[1]);
428 tprintf("%#lx", tcp->u_arg[0]);
430 printpath(tcp, tcp->u_arg[0]);
431 tprintf(", %lu", tcp->u_arg[1]);
446 tprintf("%ld) ", tcp->u_arg[0]);
499 tprintf ("%ld", tcp->u_arg[0]);
520 if (known_scno(tcp) == SYS_rfork && !(tcp->u_arg[0]&RFPROC))
637 unsigned long flags = tcp->u_arg[ARG_FLAGS];
638 tprintf("child_stack=%#lx, ", tcp->u_arg[ARG_STACK]);
642 tcp->u_arg[ARG_STACKSIZE]);
653 tprintf(", parent_tidptr=%#lx", tcp->u_arg[ARG_PTID]);
657 if (umove(tcp, tcp->u_arg[ARG_TLS], ©) != -1) {
667 tprintf(", tls=%#lx", tcp->u_arg[ARG_TLS]);
670 tprintf(", child_tidptr=%#lx", tcp->u_arg[ARG_CTID]);
679 printflags(clone_flags, tcp->u_arg[0], "CLONE_???");
886 int call_flags = tcp->u_arg[ARG_FLAGS];
941 (tcp->u_arg[ARG_FLAGS] & CLONE_UNTRACED))
1124 tprintf("%u", (uid_t) tcp->u_arg[0]);
1135 tprintf("%u", (uid_t) tcp->u_arg[0]);
1145 tprintf("%u", (gid_t) tcp->u_arg[0]);
1156 tprintf("%#lx, %#lx, %#lx", tcp->u_arg[0],
1157 tcp->u_arg[1], tcp->u_arg[2]);
1159 if (umove(tcp, tcp->u_arg[0], &uid) < 0)
1160 tprintf("%#lx, ", tcp->u_arg[0]);
1163 if (umove(tcp, tcp->u_arg[1], &uid) < 0)
1164 tprintf("%#lx, ", tcp->u_arg[1]);
1167 if (umove(tcp, tcp->u_arg[2], &uid) < 0)
1168 tprintf("%#lx", tcp->u_arg[2]);
1183 tprintf("%#lx, %#lx, %#lx", tcp->u_arg[0],
1184 tcp->u_arg[1], tcp->u_arg[2]);
1186 if (umove(tcp, tcp->u_arg[0], &gid) < 0)
1187 tprintf("%#lx, ", tcp->u_arg[0]);
1190 if (umove(tcp, tcp->u_arg[1], &gid) < 0)
1191 tprintf("%#lx, ", tcp->u_arg[1]);
1194 if (umove(tcp, tcp->u_arg[2], &gid) < 0)
1195 tprintf("%#lx", tcp->u_arg[2]);
1210 printuid("", tcp->u_arg[0]);
1211 printuid(", ", tcp->u_arg[1]);
1221 printuid("", tcp->u_arg[0]);
1222 printuid(", ", tcp->u_arg[1]);
1233 printuid("", tcp->u_arg[0]);
1234 printuid(", ", tcp->u_arg[1]);
1235 printuid(", ", tcp->u_arg[2]);
1244 printuid("", tcp->u_arg[0]);
1245 printuid(", ", tcp->u_arg[1]);
1246 printuid(", ", tcp->u_arg[2]);
1262 len = tcp->u_arg[0];
1268 start = tcp->u_arg[1];
1303 tprintf(" %#lx", tcp->u_arg[1]);
1315 len = tcp->u_arg[0];
1327 start = tcp->u_arg[1];
1332 if (tcp->u_arg[0] == 0) {
1338 if (!verbose(tcp) || tcp->u_arg[0] == 0 ||
1367 tprintf(" %#lx", tcp->u_arg[1]);
1382 len = tcp->u_arg[0];
1388 start = tcp->u_arg[1];
1423 tprintf(" %#lx", tcp->u_arg[1]);
1435 len = tcp->u_arg[0];
1447 start = tcp->u_arg[1];
1454 if (!verbose(tcp) || tcp->u_arg[0] == 0 ||
1483 tprintf(" %#lx", tcp->u_arg[1]);
1496 tprintf("%lu, %lu", tcp->u_arg[0], tcp->u_arg[1]);
1509 tprintf("%lu", tcp->u_arg[0]);
1520 tprintf("%lu", tcp->u_arg[0]);
1537 tprintf("%lu", tcp->u_arg[0]);
1547 tprintf("%lu, %lu", tcp->u_arg[0], tcp->u_arg[1]);
1654 printxval(procpriv_cmds, tcp->u_arg[0], "???PRV");
1655 switch (tcp->u_arg[0]) {
1657 tprintf(", %#lx, %ld", tcp->u_arg[1], tcp->u_arg[2]);
1665 printpriv (tcp, tcp->u_arg[1], tcp->u_arg[2]);
1666 tprintf (", %ld", tcp->u_arg[2]);
1669 else if (tcp->u_arg[0] == GETPRV) {
1671 tprintf(", %#lx, %ld", tcp->u_arg[1], tcp->u_arg[2]);
1675 printpriv (tcp, tcp->u_arg[1], tcp->u_rval);
1676 tprintf (", %ld", tcp->u_arg[2]);
1733 printpath(tcp, tcp->u_arg[0]);
1735 tprintf(", %#lx", tcp->u_arg[1]);
1738 printargv(tcp, tcp->u_arg[1]);
1750 printpath(tcp, tcp->u_arg[0]);
1752 tprintf(", %#lx", tcp->u_arg[1]);
1755 printargv(tcp, tcp->u_arg[1]);
1759 tprintf(", %#lx", tcp->u_arg[2]);
1761 printargc(", [/* %d var%s */]", tcp, tcp->u_arg[2]);
1764 printargv(tcp, tcp->u_arg[2]);
1778 tprintf (", %ld", tcp->u_arg[3]);
1921 int pid = tcp->u_arg[0];
1927 long pid = tcp->u_arg[0];
1934 if (!tcp->u_arg[1])
1937 tprintf("%#lx", tcp->u_arg[1]);
1938 else if (umove(tcp, tcp->u_arg[1], &status) < 0)
1947 printflags(wait4_options, tcp->u_arg[2], "W???");
1951 if (!tcp->u_arg[3])
1957 printrusage32(tcp, tcp->u_arg[3]);
1960 printrusage(tcp, tcp->u_arg[3]);
1965 printrusage(tcp, tcp->u_arg[3]);
1968 tprintf("%#lx", tcp->u_arg[3]);
2003 if (!(tcp->u_arg[flagarg] & WNOHANG)) {
2009 * XXX doesn't handle pgrp matches (u_arg[0]==0,<-1)
2013 (tcp->u_arg[0] == -1 ||
2014 (child = pid2tcb(tcp->u_arg[0])) == NULL))
2016 if (tcp->u_arg[0] > 0) {
2026 child = pid2tcb(tcp->u_arg[0]);
2037 tcp->waitpid = tcp->u_arg[0];
2045 if (tcp->u_arg[flagarg] & WNOHANG) {
2087 if (umove(tcp, tcp->u_arg[0], &status) < 0)
2088 tprintf("%#lx", tcp->u_arg[0]);
2153 printxval(waitid_types, tcp->u_arg[0], "P_???");
2154 tprintf(", %ld, ", tcp->u_arg[1]);
2158 if (!tcp->u_arg[2])
2161 tprintf("%#lx", tcp->u_arg[2]);
2162 else if (umove(tcp, tcp->u_arg[2], &si) < 0)
2168 printflags(wait4_options, tcp->u_arg[3], "W???");
2172 if (!tcp->u_arg[4])
2175 tprintf("%#lx", tcp->u_arg[4]);
2177 printrusage(tcp, tcp->u_arg[4]);
2190 tprintf("%lu", tcp->u_arg[0]);
2202 tprintf("%#lx", tcp->u_arg[0]);
2203 else if (umove(tcp, tcp->u_arg[0], &uname) < 0)
3250 { uoff(u_arg[0]), "offsetof(struct user, u_arg[0])" },
3306 printxval(ptrace_cmds, tcp->u_arg[0],
3313 tprintf(", %lu, ", tcp->u_arg[1]);
3314 addr = tcp->u_arg[2];
3316 if (tcp->u_arg[0] == PTRACE_PEEKUSER
3317 || tcp->u_arg[0] == PTRACE_POKEUSER) {
3333 tprintf("%#lx, ", tcp->u_arg[2]);
3335 switch (tcp->u_arg[0]) {
3346 printsignal(tcp->u_arg[3]);
3350 printflags(ptrace_setoptions_flags, tcp->u_arg[3], "PTRACE_O_???");
3356 if (!tcp->u_arg[3])
3359 tprintf("%#lx", tcp->u_arg[3]);
3360 else if (umove(tcp, tcp->u_arg[3], &si) < 0)
3373 tprintf("%#lx", tcp->u_arg[3]);
3377 switch (tcp->u_arg[0]) {
3384 printnum(tcp, tcp->u_arg[3], "%#lx");
3390 if (!tcp->u_arg[3])
3393 tprintf("%#lx", tcp->u_arg[3]);
3394 else if (umove(tcp, tcp->u_arg[3], &si) < 0)
3405 if (tcp->u_arg[0] == PTRACE_WRITEDATA ||
3406 tcp->u_arg[0] == PTRACE_WRITETEXT) {
3407 tprintf("%lu, ", tcp->u_arg[3]);
3408 printstr(tcp, tcp->u_arg[4], tcp->u_arg[3]);
3409 } else if (tcp->u_arg[0] != PTRACE_READDATA &&
3410 tcp->u_arg[0] != PTRACE_READTEXT) {
3411 tprintf("%#lx", tcp->u_arg[3]);
3414 if (tcp->u_arg[0] == PTRACE_READDATA ||
3415 tcp->u_arg[0] == PTRACE_READTEXT) {
3416 tprintf("%lu, ", tcp->u_arg[3]);
3417 printstr(tcp, tcp->u_arg[4], tcp->u_arg[3]);
3422 tprintf("%lu", tcp->u_arg[3]);
3528 long int cmd = tcp->u_arg[1] & 127;
3529 tprintf("%p, ", (void *) tcp->u_arg[0]);
3530 printxval(futexops, tcp->u_arg[1], "FUTEX_???");
3531 tprintf(", %ld", tcp->u_arg[2]);
3533 tprintf(", %lx", tcp->u_arg[5]);
3536 printtv(tcp, tcp->u_arg[3]);
3539 printtv(tcp, tcp->u_arg[3]);
3540 tprintf(", %lx", tcp->u_arg[5]);
3542 tprintf(", %ld, %p", tcp->u_arg[3], (void *) tcp->u_arg[4]);
3544 tprintf(", %ld, %p, %ld", tcp->u_arg[3], (void *) tcp->u_arg[4], tcp->u_arg[5]);
3546 tprintf(", %ld, %p, {", tcp->u_arg[3], (void *) tcp->u_arg[4]);
3547 if ((tcp->u_arg[5] >> 28) & 8)
3549 printxval(futexwakeops, (tcp->u_arg[5] >> 28) & 0x7, "FUTEX_OP_???");
3550 tprintf(", %ld, ", (tcp->u_arg[5] >> 12) & 0xfff);
3551 if ((tcp->u_arg[5] >> 24) & 8)
3553 printxval(futexwakecmps, (tcp->u_arg[5] >> 24) & 0x7, "FUTEX_OP_CMP_???");
3554 tprintf(", %ld}", tcp->u_arg[5] & 0xfff);
3557 printtv(tcp, tcp->u_arg[3]);
3558 tprintf(", %p", (void *) tcp->u_arg[4]);
3600 tprintf("%ld, %lu, ", tcp->u_arg[0], tcp->u_arg[1]);
3601 print_affinitylist(tcp, tcp->u_arg[2], tcp->u_arg[1]);
3610 tprintf("%ld, %lu, ", tcp->u_arg[0], tcp->u_arg[1]);
3613 tprintf("%#lx", tcp->u_arg[2]);
3615 print_affinitylist(tcp, tcp->u_arg[2], tcp->u_rval);
3631 tprintf("%d", (int) tcp->u_arg[0]);
3645 tprintf("%d, ", (int) tcp->u_arg[0]);
3646 printxval(schedulers, tcp->u_arg[1], "SCHED_???");
3647 if (umove(tcp, tcp->u_arg[2], &p) < 0)
3648 tprintf(", %#lx", tcp->u_arg[2]);
3659 tprintf("%d, ", (int) tcp->u_arg[0]);
3662 if (umove(tcp, tcp->u_arg[1], &p) < 0)
3663 tprintf("%#lx", tcp->u_arg[1]);
3675 if (umove(tcp, tcp->u_arg[1], &p) < 0)
3676 tprintf("%d, %#lx", (int) tcp->u_arg[0], tcp->u_arg[1]);
3678 tprintf("%d, { %d }", (int) tcp->u_arg[0], p.__sched_priority);
3687 printxval(schedulers, tcp->u_arg[0], "SCHED_???");
3707 printxval(archvals, tcp->u_arg[0], "ARCH_???");
3708 if (tcp->u_arg[0] == ARCH_SET_GS
3709 || tcp->u_arg[0] == ARCH_SET_FS
3711 tprintf(", %#lx", tcp->u_arg[1]);
3714 if (tcp->u_arg[0] == ARCH_GET_GS
3715 || tcp->u_arg[0] == ARCH_GET_FS
3718 if (!syserror(tcp) && umove(tcp, tcp->u_arg[1], &v) != -1)
3721 tprintf(", %#lx", tcp->u_arg[1]);
3734 if (tcp->u_arg[0] == 0)
3736 else if (umove(tcp, tcp->u_arg[0], &u) < 0)
3737 tprintf("%#lx, ", tcp->u_arg[0]);
3740 if (tcp->u_arg[1] == 0)
3742 else if (umove(tcp, tcp->u_arg[1], &u) < 0)
3743 tprintf("%#lx, ", tcp->u_arg[1]);
3746 tprintf("%#lx", tcp->u_arg[2]);