Lines Matching full:u_arg
478 if (tcp->u_arg[0] < 0 || tcp->u_arg[0] >= MAX_QUALS)
484 if (qual_flags[tcp->u_arg[0]] & QUAL_READ) {
490 dumpstr(tcp, tcp->u_arg[1], tcp->u_rval);
492 dumpiov(tcp, tcp->u_arg[2], tcp->u_arg[1]);
495 if (qual_flags[tcp->u_arg[0]] & QUAL_WRITE) {
501 dumpstr(tcp, tcp->u_arg[1], tcp->u_arg[2]);
503 dumpiov(tcp, tcp->u_arg[2], tcp->u_arg[1]);
545 if (tcp->u_arg[0] < 0 || tcp->u_arg[0] >= nsubcalls)
547 tcp->scno = subcall + tcp->u_arg[0];
553 tcp->u_arg[i] = tcp->u_arg[i + 1];
556 if (tcp->u_arg[0] < 0 || tcp->u_arg[0] >= nsubcalls)
558 tcp->scno = subcall + tcp->u_arg[0];
559 addr = tcp->u_arg[1];
565 tcp->u_arg[i] = arg;
571 tcp->u_arg[i] = arg;
580 mask = (tcp->u_arg[0] >> 8) & 0xff;
585 tcp->u_arg[0] &= 0xff;
595 if (tcp->u_arg[5] < 0 || tcp->u_arg[5] >= nsubcalls)
597 tcp->scno = subcall + tcp->u_arg[5];
608 tcp->u_arg[0] >= 0 && tcp->u_arg[0] < subcalls_table[i].nsubcalls) {
609 tcp->scno = subcalls_table[i].subcalls[tcp->u_arg[0]];
611 tcp->u_arg[i] = tcp->u_arg[i + 1];
1288 if (upeek(tcp, uoff(u_arg[7]), &scno) < 0)
1986 if (upeek(tcp,i==0 ? PT_ORIGGPR2:PT_GPR2+i*sizeof(long), &tcp->u_arg[i]) < 0)
2001 if (upeek(tcp, REG_A0+i, &tcp->u_arg[i]) < 0)
2031 sizeof(long), (char *) &tcp->u_arg[i]) < 0)
2038 upeek(tcp, PT_R11, (long *) &tcp->u_arg[0]) < 0
2040 || upeek(tcp, PT_R9, (long *) &tcp->u_arg[1]) < 0
2042 || upeek(tcp, PT_R10, (long *) &tcp->u_arg[2]) < 0
2044 || upeek(tcp, PT_R14, (long *) &tcp->u_arg[3]) < 0
2046 || upeek(tcp, PT_R15, (long *) &tcp->u_arg[4]) < 0
2048 || upeek(tcp, PT_R13, (long *) &tcp->u_arg[5]) < 0)
2053 tcp->u_arg[i] &= 0xffffffff;
2077 tcp->u_arg[i] = regs[REG_A0 + i];
2096 if (upeek(tcp, REG_A0 + i, &tcp->u_arg[i])<0)
2099 umoven(tcp, sp+16, (nargs-4) * sizeof(tcp->u_arg[0]),
2100 (char *)(tcp->u_arg + 4));
2103 if (upeek(tcp, REG_A0 + i, &tcp->u_arg[i]) < 0)
2122 &tcp->u_arg[i]) < 0)
2135 tcp->u_arg[i] = regs.u_regs[U_REG_O0 + i];
2146 if (upeek(tcp, PT_GR26-4*i, &tcp->u_arg[i]) < 0)
2159 tcp->u_arg[i] = regs.uregs[i];
2163 tcp->u_arg[0] = regs.r12;
2164 tcp->u_arg[1] = regs.r11;
2165 tcp->u_arg[2] = regs.r10;
2166 tcp->u_arg[3] = regs.r9;
2167 tcp->u_arg[4] = regs.r5;
2168 tcp->u_arg[5] = regs.r3;
2180 if (upeek(tcp, argreg[i], &tcp->u_arg[i]) < 0)
2193 if (upeek(tcp, 4*syscall_regs[i], &tcp->u_arg[i]) < 0)
2214 if (upeek(tcp, REG_GENERAL(syscall_regs[i]), &tcp->u_arg[i]) < 0)
2232 if (upeek(tcp, argreg[current_personality][i]*8, &tcp->u_arg[i]) < 0)
2244 if (upeek(tcp, (5 + i) * 4, &tcp->u_arg[i]) < 0)
2261 if (upeek(tcp, crisregs[i], &tcp->u_arg[i]) < 0)
2273 if (upeek(tcp, PTREGS_OFFSET_REG(i), &tcp->u_arg[i]) < 0)
2285 if (upeek(tcp, (i < 5 ? i : i + 2)*4, &tcp->u_arg[i]) < 0)
2297 if (upeek(tcp, i*4, &tcp->u_arg[i]) < 0)
2313 if (upeek(tcp, uoff(u_arg[0]) +
2314 (i*sizeof(u->u_arg[0])), &tcp->u_arg[i]) < 0)
2330 memcpy(tcp->u_arg, &tcp->status.pr_reg[CTX_A0],
2331 4*sizeof(tcp->u_arg[0]));
2333 (tcp->u_nargs - 4)*sizeof(tcp->u_arg[0]), (char *) (tcp->u_arg + 4));
2336 memcpy(tcp->u_arg, &tcp->status.pr_reg[CTX_A0],
2337 tcp->u_nargs*sizeof(tcp->u_arg[0]));
2348 tcp->u_nargs*sizeof(tcp->u_arg[0]), (char *) tcp->u_arg);
2357 tcp->u_arg[i] = tcp->status.pr_sysarg[i];
2365 tcp->u_nargs*sizeof(tcp->u_arg[0]), (char *) tcp->u_arg);
2382 pread(tcp->pfd, &tcp->u_arg, tcp->u_nargs * sizeof(unsigned long),
2386 pread(tcp->pfd, &tcp->u_arg, tcp->u_nargs * sizeof(unsigned long),
2390 pread(tcp->pfd, &tcp->u_arg, tcp->u_nargs * sizeof(unsigned long),
2743 tprintf("%s%#lx", i ? ", " : "", tcp->u_arg[i]);
2809 if ((scno = tcp->u_arg[0]) > nsyscalls) {
2816 tprintf(", %#lx", tcp->u_arg[i+1]);