Lines Matching refs:u_arg
261 printxval(prctl_options, tcp->u_arg[0], "PR_???");
262 switch (tcp->u_arg[0]) {
273 tprintf(", %s", unalignctl_string(tcp->u_arg[1]));
278 tprintf(", %#lx", tcp->u_arg[1]);
283 tprintf(", %#lx", tcp->u_arg[i]);
287 switch (tcp->u_arg[0]) {
291 tprintf(", %#lx", tcp->u_arg[i]);
303 umove(tcp, tcp->u_arg[1], &ctl);
331 printpathn(tcp, tcp->u_arg[0], tcp->u_arg[1]);
332 tprintf(", %lu", tcp->u_arg[1]);
343 tprintf("%#lx", tcp->u_arg[0]);
345 printpath(tcp, tcp->u_arg[0]);
346 tprintf(", %lu", tcp->u_arg[1]);
356 printpathn(tcp, tcp->u_arg[0], tcp->u_arg[1]);
357 tprintf(", %lu", tcp->u_arg[1]);
370 tprintf("%#lx", tcp->u_arg[0]);
372 printpath(tcp, tcp->u_arg[0]);
373 tprintf(", %lu", tcp->u_arg[1]);
388 tprintf("%ld) ", tcp->u_arg[0]);
454 tprintf ("%ld", tcp->u_arg[0]);
475 if (known_scno(tcp) == SYS_rfork && !(tcp->u_arg[0]&RFPROC))
583 unsigned long flags = tcp->u_arg[ARG_FLAGS];
584 tprintf("child_stack=%#lx, ", tcp->u_arg[ARG_STACK]);
588 tcp->u_arg[ARG_STACKSIZE]);
598 tprintf(", parent_tidptr=%#lx", tcp->u_arg[ARG_PTID]);
602 if (umove(tcp, tcp->u_arg[ARG_TLS], ©) != -1) {
612 tprintf(", tls=%#lx", tcp->u_arg[ARG_TLS]);
615 tprintf(", child_tidptr=%#lx", tcp->u_arg[ARG_CTID]);
738 ptrace(PTRACE_POKEDATA, tcp->pid, (char *) ap, tcp->u_arg[argnum]);
745 ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(4*argnum), tcp->u_arg[argnum]);
751 ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(8*(long)argnum), tcp->u_arg[argnum]);
762 tcp->u_arg[argnum]);
771 (char*)(REG_A0 + argnum), tcp->u_arg[argnum]);
779 (char*)(sp + argnum - 4), tcp->u_arg[argnum]);
790 tcp->u_arg[argnum]);
907 int call_flags = tcp->u_arg[ARG_FLAGS];
1126 tprintf("%u", (uid_t) tcp->u_arg[0]);
1136 tprintf("%u", (gid_t) tcp->u_arg[0]);
1148 tprintf("%#lx, %#lx, %#lx", tcp->u_arg[0],
1149 tcp->u_arg[1], tcp->u_arg[2]);
1151 if (umove(tcp, tcp->u_arg[0], &uid) < 0)
1152 tprintf("%#lx, ", tcp->u_arg[0]);
1155 if (umove(tcp, tcp->u_arg[1], &uid) < 0)
1156 tprintf("%#lx, ", tcp->u_arg[1]);
1159 if (umove(tcp, tcp->u_arg[2], &uid) < 0)
1160 tprintf("%#lx", tcp->u_arg[2]);
1175 tprintf("%#lx, %#lx, %#lx", tcp->u_arg[0],
1176 tcp->u_arg[1], tcp->u_arg[2]);
1178 if (umove(tcp, tcp->u_arg[0], &gid) < 0)
1179 tprintf("%#lx, ", tcp->u_arg[0]);
1182 if (umove(tcp, tcp->u_arg[1], &gid) < 0)
1183 tprintf("%#lx, ", tcp->u_arg[1]);
1186 if (umove(tcp, tcp->u_arg[2], &gid) < 0)
1187 tprintf("%#lx", tcp->u_arg[2]);
1202 printuid("", tcp->u_arg[0]);
1203 printuid(", ", tcp->u_arg[1]);
1213 printuid("", tcp->u_arg[0]);
1214 printuid(", ", tcp->u_arg[1]);
1225 printuid("", tcp->u_arg[0]);
1226 printuid(", ", tcp->u_arg[1]);
1227 printuid(", ", tcp->u_arg[2]);
1236 printuid("", tcp->u_arg[0]);
1237 printuid(", ", tcp->u_arg[1]);
1238 printuid(", ", tcp->u_arg[2]);
1254 len = tcp->u_arg[0];
1260 start = tcp->u_arg[1];
1295 tprintf(" %#lx", tcp->u_arg[1]);
1307 len = tcp->u_arg[0];
1319 start = tcp->u_arg[1];
1324 if (tcp->u_arg[0] == 0) {
1330 if (!verbose(tcp) || tcp->u_arg[0] == 0 ||
1359 tprintf(" %#lx", tcp->u_arg[1]);
1374 len = tcp->u_arg[0];
1380 start = tcp->u_arg[1];
1415 tprintf(" %#lx", tcp->u_arg[1]);
1427 len = tcp->u_arg[0];
1439 start = tcp->u_arg[1];
1446 if (!verbose(tcp) || tcp->u_arg[0] == 0 ||
1475 tprintf(" %#lx", tcp->u_arg[1]);
1487 tprintf("%lu, %lu", tcp->u_arg[0], tcp->u_arg[1]);
1499 tprintf("%lu", tcp->u_arg[0]);
1510 tprintf("%lu", tcp->u_arg[0]);
1527 tprintf("%lu", tcp->u_arg[0]);
1537 tprintf("%lu, %lu", tcp->u_arg[0], tcp->u_arg[1]);
1648 printxval(procpriv_cmds, tcp->u_arg[0], "???PRV");
1649 switch (tcp->u_arg[0]) {
1651 tprintf(", %#lx, %ld", tcp->u_arg[1], tcp->u_arg[2]);
1659 printpriv (tcp, tcp->u_arg[1], tcp->u_arg[2]);
1660 tprintf (", %ld", tcp->u_arg[2]);
1663 else if (tcp->u_arg[0] == GETPRV) {
1665 tprintf(", %#lx, %ld", tcp->u_arg[1], tcp->u_arg[2]);
1669 printpriv (tcp, tcp->u_arg[1], tcp->u_rval);
1670 tprintf (", %ld", tcp->u_arg[2]);
1726 printpath(tcp, tcp->u_arg[0]);
1728 tprintf(", %#lx", tcp->u_arg[1]);
1731 printargc(", [/* %d arg%s */]", tcp, tcp->u_arg[1]);
1735 printargv(tcp, tcp->u_arg[1]);
1747 printpath(tcp, tcp->u_arg[0]);
1749 tprintf(", %#lx", tcp->u_arg[1]);
1752 printargc(", [/* %d arg%s */]", tcp, tcp->u_arg[1]);
1756 printargv(tcp, tcp->u_arg[1]);
1760 tprintf(", %#lx", tcp->u_arg[2]);
1762 printargc(", [/* %d var%s */]", tcp, tcp->u_arg[2]);
1765 printargv(tcp, tcp->u_arg[2]);
1779 tprintf (", %ld", tcp->u_arg[3]);
1912 tprintf("%ld, ", tcp->u_arg[0]);
1915 if (!tcp->u_arg[1])
1918 tprintf("%#lx", tcp->u_arg[1]);
1919 else if (umove(tcp, tcp->u_arg[1], &status) < 0)
1925 printflags(wait4_options, tcp->u_arg[2], "W???");
1929 if (!tcp->u_arg[3])
1935 printrusage32(tcp, tcp->u_arg[3]);
1938 printrusage(tcp, tcp->u_arg[3]);
1943 printrusage(tcp, tcp->u_arg[3]);
1946 tprintf("%#lx", tcp->u_arg[3]);
1981 if (!(tcp->u_arg[flagarg] & WNOHANG)) {
1987 * XXX doesn't handle pgrp matches (u_arg[0]==0,<-1)
1991 (tcp->u_arg[0] == -1 ||
1992 (child = pid2tcb(tcp->u_arg[0])) == NULL))
1994 if (tcp->u_arg[0] > 0) {
2004 child = pid2tcb(tcp->u_arg[0]);
2014 tcp->waitpid = tcp->u_arg[0];
2022 if (tcp->u_arg[flagarg] & WNOHANG) {
2065 if (umove(tcp, tcp->u_arg[0], &status) < 0)
2066 tprintf("%#lx", tcp->u_arg[0]);
2133 printxval(waitid_types, tcp->u_arg[0], "P_???");
2134 tprintf(", %ld, ", tcp->u_arg[1]);
2139 if (!tcp->u_arg[2])
2142 tprintf("%#lx", tcp->u_arg[2]);
2143 else if (umove(tcp, tcp->u_arg[2], &si) < 0)
2149 printflags(wait4_options, tcp->u_arg[3], "W???");
2153 if (!tcp->u_arg[4])
2156 tprintf("%#lx", tcp->u_arg[4]);
2158 printrusage(tcp, tcp->u_arg[4]);
2171 tprintf("%lu", tcp->u_arg[0]);
2183 tprintf("%#lx", tcp->u_arg[0]);
2184 else if (umove(tcp, tcp->u_arg[0], &uname) < 0)
2934 { uoff(u_arg[0]), "offsetof(struct user, u_arg[0])" },
2991 printxval(ptrace_cmds, tcp->u_arg[0],
2998 tprintf(", %lu, ", tcp->u_arg[1]);
2999 addr = tcp->u_arg[2];
3001 if (tcp->u_arg[0] == PTRACE_PEEKUSER
3002 || tcp->u_arg[0] == PTRACE_POKEUSER) {
3018 tprintf("%#lx, ", tcp->u_arg[2]);
3020 switch (tcp->u_arg[0]) {
3029 printsignal(tcp->u_arg[3]);
3032 tprintf("%#lx", tcp->u_arg[3]);
3036 switch (tcp->u_arg[0]) {
3040 printnum(tcp, tcp->u_arg[3], "%#lx");
3046 if (tcp->u_arg[0] == PTRACE_WRITEDATA ||
3047 tcp->u_arg[0] == PTRACE_WRITETEXT) {
3048 tprintf("%lu, ", tcp->u_arg[3]);
3049 printstr(tcp, tcp->u_arg[4], tcp->u_arg[3]);
3050 } else if (tcp->u_arg[0] != PTRACE_READDATA &&
3051 tcp->u_arg[0] != PTRACE_READTEXT) {
3052 tprintf("%#lx", tcp->u_arg[3]);
3055 if (tcp->u_arg[0] == PTRACE_READDATA ||
3056 tcp->u_arg[0] == PTRACE_READTEXT) {
3057 tprintf("%lu, ", tcp->u_arg[3]);
3058 printstr(tcp, tcp->u_arg[4], tcp->u_arg[3]);
3063 tprintf("%lu", tcp->u_arg[3]);
3085 tprintf("%p, ", (void *) tcp->u_arg[0]);
3086 printxval(futexops, tcp->u_arg[1], "FUTEX_???");
3087 tprintf(", %ld", tcp->u_arg[2]);
3088 if (tcp->u_arg[1] == FUTEX_WAIT) {
3090 printtv(tcp, tcp->u_arg[3]);
3091 } else if (tcp->u_arg[1] == FUTEX_REQUEUE)
3092 tprintf(", %ld, %p", tcp->u_arg[3], (void *) tcp->u_arg[4]);
3121 tprintf("%ld, %lu, ", tcp->u_arg[0], tcp->u_arg[1]);
3122 print_affinitylist(tcp, tcp->u_arg[2], tcp->u_arg[1]);
3132 tprintf("%ld, %lu, ", tcp->u_arg[0], tcp->u_arg[1]);
3135 tprintf("%#lx", tcp->u_arg[2]);
3137 print_affinitylist(tcp, tcp->u_arg[2], tcp->u_rval);
3154 tprintf("%d", (int) tcp->u_arg[0]);
3169 tprintf("%d, ", (int) tcp->u_arg[0]);
3170 printxval(schedulers, tcp->u_arg[1], "SCHED_???");
3171 if (umove(tcp, tcp->u_arg[2], &p) < 0)
3172 tprintf(", %#lx", tcp->u_arg[2]);
3184 tprintf("%d, ", (int) tcp->u_arg[0]);
3187 if (umove(tcp, tcp->u_arg[1], &p) < 0)
3188 tprintf("%#lx", tcp->u_arg[1]);
3201 if (umove(tcp, tcp->u_arg[1], &p) < 0)
3202 tprintf("%d, %#lx", (int) tcp->u_arg[0], tcp->u_arg[1]);
3204 tprintf("%d, { %d }", (int) tcp->u_arg[0], p.__sched_priority);
3214 printxval(schedulers, tcp->u_arg[0], "SCHED_???");
3235 printxval(archvals, tcp->u_arg[0], "ARCH_???");
3236 if (tcp->u_arg[0] == ARCH_SET_GS
3237 || tcp->u_arg[0] == ARCH_SET_FS)
3238 tprintf(", %#lx", tcp->u_arg[1]);
3240 if (tcp->u_arg[0] == ARCH_GET_GS
3241 || tcp->u_arg[0] == ARCH_GET_FS) {
3243 if (!syserror(tcp) && umove(tcp, tcp->u_arg[1], &v) != -1)
3246 tprintf(", %#lx", tcp->u_arg[1]);