Lines Matching refs:u_arg
449 if (tcp->u_arg[0] < 0 || tcp->u_arg[0] >= MAX_QUALS)
469 if (qual_flags[tcp->u_arg[0]] & QUAL_READ)
470 dumpstr(tcp, tcp->u_arg[1], tcp->u_rval);
489 if (qual_flags[tcp->u_arg[0]] & QUAL_WRITE)
490 dumpstr(tcp, tcp->u_arg[1], tcp->u_arg[2]);
494 if (qual_flags[tcp->u_arg[0]] & QUAL_READ)
495 dumpiov(tcp, tcp->u_arg[2], tcp->u_arg[1]);
501 if (qual_flags[tcp->u_arg[0]] & QUAL_WRITE)
502 dumpiov(tcp, tcp->u_arg[2], tcp->u_arg[1]);
560 if (tcp->u_arg [0] < 1 || tcp->u_arg [0] > sizeof(socket_map)/sizeof(int)+1){
563 tcp->scno = socket_map [tcp->u_arg [0]-1];
565 addr = tcp->u_arg [1];
570 tcp->u_arg [i] = arg;
588 if (tcp->u_arg[0] < 0 || tcp->u_arg[0] >= nsubcalls)
590 tcp->scno = subcall + tcp->u_arg[0];
596 tcp->u_arg[i] = tcp->u_arg[i + 1];
599 if (tcp->u_arg[0] < 0 || tcp->u_arg[0] >= nsubcalls)
601 tcp->scno = subcall + tcp->u_arg[0];
602 addr = tcp->u_arg[1];
606 tcp->u_arg[i] = arg;
612 mask = (tcp->u_arg[0] >> 8) & 0xff;
617 tcp->u_arg[0] &= 0xff;
627 if (tcp->u_arg[5] < 0 || tcp->u_arg[5] >= nsubcalls)
629 tcp->scno = subcall + tcp->u_arg[5];
640 tcp->u_arg[0] >= 0 && tcp->u_arg[0] < subcalls_table[i].nsubcalls) {
641 tcp->scno = subcalls_table[i].subcalls[tcp->u_arg[0]];
643 tcp->u_arg[i] = tcp->u_arg[i + 1];
1241 if (upeek(pid, uoff(u_arg[7]), &scno) < 0)
1888 if (upeek(pid,i==0 ? PT_ORIGGPR2:PT_GPR2+i*sizeof(long), &tcp->u_arg[i]) < 0)
1903 if (upeek(pid, REG_A0+i, &tcp->u_arg[i]) < 0)
1932 sizeof(long), (char *) &tcp->u_arg[i]) < 0)
1939 upeek(pid, PT_R11, (long *) &tcp->u_arg[0]) < 0
1941 || upeek(pid, PT_R9, (long *) &tcp->u_arg[1]) < 0
1943 || upeek(pid, PT_R10, (long *) &tcp->u_arg[2]) < 0
1945 || upeek(pid, PT_R14, (long *) &tcp->u_arg[3]) < 0
1947 || upeek(pid, PT_R15, (long *) &tcp->u_arg[4]) < 0
1949 || upeek(pid, PT_R13, (long *) &tcp->u_arg[5]) < 0)
1954 tcp->u_arg[i] &= 0xffffffff;
1976 if (upeek(pid, REG_A0 + i, &tcp->u_arg[i])<0)
1979 umoven(tcp, sp+16, (nargs-4) * sizeof(tcp->u_arg[0]),
1980 (char *)(tcp->u_arg + 4));
1983 if (upeek(pid, REG_A0 + i, &tcp->u_arg[i]) < 0)
2002 &tcp->u_arg[i]) < 0)
2015 tcp->u_arg[i] = *((®s.r_o0) + i);
2026 if (upeek(pid, PT_GR26-4*i, &tcp->u_arg[i]) < 0)
2039 tcp->u_arg[i] = regs.uregs[i];
2051 if (upeek(pid, 4*syscall_regs[i], &tcp->u_arg[i]) < 0)
2072 if (upeek(pid, REG_GENERAL(syscall_regs[i]), &tcp->u_arg[i]) < 0)
2090 if (upeek(pid, argreg[current_personality][i]*8, &tcp->u_arg[i]) < 0)
2102 if (upeek(pid, i*4, &tcp->u_arg[i]) < 0)
2118 if (upeek(pid, uoff(u_arg[0]) +
2119 (i*sizeof(u->u_arg[0])), &tcp->u_arg[i]) < 0)
2135 memcpy(tcp->u_arg, &tcp->status.pr_reg[CTX_A0],
2136 4*sizeof(tcp->u_arg[0]));
2138 (tcp->u_nargs - 4)*sizeof(tcp->u_arg[0]), (char *) (tcp->u_arg + 4));
2141 memcpy(tcp->u_arg, &tcp->status.pr_reg[CTX_A0],
2142 tcp->u_nargs*sizeof(tcp->u_arg[0]));
2153 tcp->u_nargs*sizeof(tcp->u_arg[0]), (char *) tcp->u_arg);
2162 tcp->u_arg[i] = tcp->status.pr_sysarg[i];
2170 tcp->u_nargs*sizeof(tcp->u_arg[0]), (char *) tcp->u_arg);
2187 pread(tcp->pfd, &tcp->u_arg, tcp->u_nargs * sizeof(unsigned long),
2191 pread(tcp->pfd, &tcp->u_arg, tcp->u_nargs * sizeof(unsigned long),
2195 pread(tcp->pfd, &tcp->u_arg, tcp->u_nargs * sizeof(unsigned long),
2539 tprintf("%s%#lx", i ? ", " : "", tcp->u_arg[i]);
2603 if ((scno = tcp->u_arg[0]) > nsyscalls) {
2610 tprintf(", %#lx", tcp->u_arg[i+1]);