• Home
  • Raw
  • Download

Lines Matching refs:u_arg

583 	if (tcp->u_arg[0] < 0 || tcp->u_arg[0] >= SYS_socket_nsubcalls)  in decode_socket_subcall()
586 tcp->scno = SYS_socket_subcall + tcp->u_arg[0]; in decode_socket_subcall()
589 addr = tcp->u_arg[1]; in decode_socket_subcall()
597 tcp->u_arg[i] = arg; in decode_socket_subcall()
603 tcp->u_arg[i] = arg; in decode_socket_subcall()
616 if (tcp->u_arg[0] < 0 || tcp->u_arg[0] >= SYS_ipc_nsubcalls) in decode_ipc_subcall()
619 tcp->scno = SYS_ipc_subcall + tcp->u_arg[0]; in decode_ipc_subcall()
624 tcp->u_arg[i] = tcp->u_arg[i + 1]; in decode_ipc_subcall()
635 tprintf("%s%#lx", i ? ", " : "", tcp->u_arg[i]); in printargs()
647 tprintf("%s%lu", i ? ", " : "", tcp->u_arg[i]); in printargs_lu()
659 tprintf("%s%ld", i ? ", " : "", tcp->u_arg[i]); in printargs_ld()
1676 && (tcp->u_arg[ARG_FLAGS] & CLONE_UNTRACED) in internal_fork()
1743 if (upeek(tcp->pid, i==0 ? PT_ORIGGPR2 : PT_GPR2 + i*sizeof(long), &tcp->u_arg[i]) < 0) in get_syscall_args()
1747 if (upeek(tcp->pid, REG_A0+i, &tcp->u_arg[i]) < 0) in get_syscall_args()
1769 sizeof(long), (char *) &tcp->u_arg[i]) < 0) in get_syscall_args()
1781 if (upeek(tcp->pid, argreg[i], &tcp->u_arg[i]) < 0) in get_syscall_args()
1784 tcp->u_arg[i] &= 0xffffffff; in get_syscall_args()
1795 tcp->u_arg[i] = regs[REG_A0 + i]; in get_syscall_args()
1807 if (upeek(tcp->pid, REG_A0 + i, &tcp->u_arg[i]) < 0) in get_syscall_args()
1809 umoven(tcp, sp + 16, (nargs - 4) * sizeof(tcp->u_arg[0]), in get_syscall_args()
1810 (char *)(tcp->u_arg + 4)); in get_syscall_args()
1813 if (upeek(tcp->pid, REG_A0 + i, &tcp->u_arg[i]) < 0) in get_syscall_args()
1819 tcp->u_arg[0] = ppc_regs.orig_gpr3; in get_syscall_args()
1820 tcp->u_arg[1] = ppc_regs.gpr[4]; in get_syscall_args()
1821 tcp->u_arg[2] = ppc_regs.gpr[5]; in get_syscall_args()
1822 tcp->u_arg[3] = ppc_regs.gpr[6]; in get_syscall_args()
1823 tcp->u_arg[4] = ppc_regs.gpr[7]; in get_syscall_args()
1824 tcp->u_arg[5] = ppc_regs.gpr[8]; in get_syscall_args()
1827 tcp->u_arg[i] = sparc_regs.u_regs[U_REG_O0 + i]; in get_syscall_args()
1830 if (upeek(tcp->pid, PT_GR26-4*i, &tcp->u_arg[i]) < 0) in get_syscall_args()
1836 tcp->u_arg[i] = aarch64_regs.regs[i]; in get_syscall_args()
1840 tcp->u_arg[i] = arm_regs.uregs[i]; in get_syscall_args()
1844 tcp->u_arg[0] = avr32_regs.r12; in get_syscall_args()
1845 tcp->u_arg[1] = avr32_regs.r11; in get_syscall_args()
1846 tcp->u_arg[2] = avr32_regs.r10; in get_syscall_args()
1847 tcp->u_arg[3] = avr32_regs.r9; in get_syscall_args()
1848 tcp->u_arg[4] = avr32_regs.r5; in get_syscall_args()
1849 tcp->u_arg[5] = avr32_regs.r3; in get_syscall_args()
1854 if (upeek(tcp->pid, argreg[i], &tcp->u_arg[i]) < 0) in get_syscall_args()
1863 if (upeek(tcp->pid, syscall_regs[i], &tcp->u_arg[i]) < 0) in get_syscall_args()
1871 if (upeek(tcp->pid, REG_GENERAL(syscall_regs[i]), &tcp->u_arg[i]) < 0) in get_syscall_args()
1876 tcp->u_arg[0] = i386_regs.ebx; in get_syscall_args()
1877 tcp->u_arg[1] = i386_regs.ecx; in get_syscall_args()
1878 tcp->u_arg[2] = i386_regs.edx; in get_syscall_args()
1879 tcp->u_arg[3] = i386_regs.esi; in get_syscall_args()
1880 tcp->u_arg[4] = i386_regs.edi; in get_syscall_args()
1881 tcp->u_arg[5] = i386_regs.ebp; in get_syscall_args()
1887 tcp->u_arg[0] = x86_64_regs.rdi; in get_syscall_args()
1888 tcp->u_arg[1] = x86_64_regs.rsi; in get_syscall_args()
1889 tcp->u_arg[2] = x86_64_regs.rdx; in get_syscall_args()
1890 tcp->u_arg[3] = x86_64_regs.r10; in get_syscall_args()
1891 tcp->u_arg[4] = x86_64_regs.r8; in get_syscall_args()
1892 tcp->u_arg[5] = x86_64_regs.r9; in get_syscall_args()
1907 tcp->u_arg[0] = (long)(uint32_t)i386_regs.ebx; in get_syscall_args()
1908 tcp->u_arg[1] = (long)(uint32_t)i386_regs.ecx; in get_syscall_args()
1909 tcp->u_arg[2] = (long)(uint32_t)i386_regs.edx; in get_syscall_args()
1910 tcp->u_arg[3] = (long)(uint32_t)i386_regs.esi; in get_syscall_args()
1911 tcp->u_arg[4] = (long)(uint32_t)i386_regs.edi; in get_syscall_args()
1912 tcp->u_arg[5] = (long)(uint32_t)i386_regs.ebp; in get_syscall_args()
1916 if (upeek(tcp->pid, (5 + i) * 4, &tcp->u_arg[i]) < 0) in get_syscall_args()
1925 if (upeek(tcp->pid, crisregs[i], &tcp->u_arg[i]) < 0) in get_syscall_args()
1929 tcp->u_arg[i] = tile_regs.regs[i]; in get_syscall_args()
1932 if (upeek(tcp->pid, (i < 5 ? i : i + 2)*4, &tcp->u_arg[i]) < 0) in get_syscall_args()
1937 tcp->u_arg[i] = or1k_regs.gpr[3 + i]; in get_syscall_args()
1941 tcp->u_arg[i] = ((unsigned long *)&metag_regs.dx[3][1])[-i]; in get_syscall_args()
1946 if (upeek(tcp->pid, REG_A_BASE + xtensaregs[i], &tcp->u_arg[i]) < 0) in get_syscall_args()
1951 tcp->u_arg[i] = *arc_args--; in get_syscall_args()
1955 if (upeek(tcp->pid, i*4, &tcp->u_arg[i]) < 0) in get_syscall_args()
2484 if ((unsigned long) tcp->u_arg[0] >= num_quals) in dumpio()
2489 if (qual_flags[tcp->u_arg[0]] & QUAL_READ) { in dumpio()
2494 dumpstr(tcp, tcp->u_arg[1], tcp->u_rval); in dumpio()
2496 dumpiov(tcp, tcp->u_arg[2], tcp->u_arg[1]); in dumpio()
2499 if (qual_flags[tcp->u_arg[0]] & QUAL_WRITE) { in dumpio()
2504 dumpstr(tcp, tcp->u_arg[1], tcp->u_arg[2]); in dumpio()
2506 dumpiov(tcp, tcp->u_arg[2], tcp->u_arg[1]); in dumpio()