/external/strace/linux/arm/ |
D | get_scno.c | 35 kernel_ulong_t scno = 0; in arch_get_scno() local 47 scno = ptrace(PTRACE_PEEKTEXT, tcp->pid, (void *)(arm_regs.ARM_pc - 4), NULL); in arch_get_scno() 51 if (scno != 0xef000000) { in arch_get_scno() 53 if ((scno & 0x0ff00000) != 0x0f900000) { in arch_get_scno() 55 tcp->pid, scno); in arch_get_scno() 59 scno &= 0x000fffff; in arch_get_scno() 62 scno = arm_regs.ARM_r7; in arch_get_scno() 66 scno = arm_regs.ARM_r7; in arch_get_scno() 70 scno = shuffle_scno(scno); in arch_get_scno() 76 if (arm_regs.ARM_ip && !scno_in_range(scno)) { in arch_get_scno() [all …]
|
/external/strace/linux/x86_64/ |
D | get_scno.c | 44 kernel_ulong_t scno = 0; in arch_get_scno() local 63 scno = i386_regs.orig_eax; in arch_get_scno() 66 scno = x86_64_regs.orig_rax; in arch_get_scno() 68 if (scno & __X32_SYSCALL_BIT) { in arch_get_scno() 78 scno -= __X32_SYSCALL_BIT; in arch_get_scno() 94 scno = x86_64_regs.orig_rax; in arch_get_scno() 102 scno &= ~__X32_SYSCALL_BIT; in arch_get_scno() 152 "64-bit mode of process PID=%d", scno, tcp->pid); in arch_get_scno() 159 tcp->scno = scno; in arch_get_scno()
|
D | set_scno.c | 8 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) in arch_set_scno() argument 11 return upoke(tcp->pid, 8 * ORIG_RAX, scno); in arch_set_scno() 14 return i386_set_scno(tcp, scno); in arch_set_scno() 16 x86_64_regs.orig_rax = scno; in arch_set_scno()
|
/external/strace/linux/sh/ |
D | get_scno.c | 5 kernel_ulong_t scno = 0; in arch_get_scno() local 10 if (upeek(tcp->pid, 4*(REG_REG0+3), &scno) < 0) in arch_get_scno() 13 if ((long) scno < 0) { in arch_get_scno() 17 kernel_ulong_t correct_scno = (scno & 0xff); in arch_get_scno() 21 scno, correct_scno); in arch_get_scno() 22 scno = correct_scno; in arch_get_scno() 25 tcp->scno = scno; in arch_get_scno()
|
D | set_scno.c | 2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) in arch_set_scno() argument 4 return upoke(tcp->pid, 4 * (REG_REG0 + 3), scno); in arch_set_scno()
|
/external/strace/linux/aarch64/ |
D | get_scno.c | 5 kernel_ulong_t scno = 0; in arch_get_scno() local 10 scno = aarch64_regs.regs[8]; in arch_get_scno() 16 scno = arm_regs.ARM_r7; in arch_get_scno() 17 scno = shuffle_scno(scno); in arch_get_scno() 22 tcp->scno = scno; in arch_get_scno()
|
/external/strace/linux/alpha/ |
D | get_scno.c | 5 kernel_ulong_t scno = 0; in arch_get_scno() local 9 if (upeek(tcp->pid, REG_R0, &scno) < 0) in arch_get_scno() 16 if (!scno_in_range(scno)) { in arch_get_scno() 19 error_msg("stray syscall exit: r0 = %lu", scno); in arch_get_scno() 24 tcp->scno = scno; in arch_get_scno()
|
D | set_scno.c | 2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) in arch_set_scno() argument 4 return upoke(tcp->pid, REG_R0, scno); in arch_set_scno()
|
/external/strace/ |
D | syscall.c | 377 const kernel_ulong_t scno = SYS_socket_subcall + call; in decode_socket_subcall() local 378 const unsigned int nargs = sysent[scno].nargs; in decode_socket_subcall() 384 tcp->scno = scno; in decode_socket_subcall() 385 tcp->qual_flg = qual_flags(scno); in decode_socket_subcall() 386 tcp->s_ent = &sysent[scno]; in decode_socket_subcall() 424 tcp->scno = SYS_ipc_subcall + call; in decode_ipc_subcall() 425 tcp->qual_flg = qual_flags(tcp->scno); in decode_ipc_subcall() 426 tcp->s_ent = &sysent[tcp->scno]; in decode_ipc_subcall() 441 tcp->scno = tcp->u_arg[0]; in decode_mips_subcall() 442 tcp->qual_flg = qual_flags(tcp->scno); in decode_mips_subcall() [all …]
|
D | clone.c | 48 # define ARG_STACKSIZE (tcp->scno == __NR_clone2 ? 2 : -1) 49 # define ARG_PTID (tcp->scno == __NR_clone2 ? 3 : 2) 50 # define ARG_CTID (tcp->scno == __NR_clone2 ? 4 : 3) 51 # define ARG_TLS (tcp->scno == __NR_clone2 ? 5 : 4)
|
/external/strace/linux/ia64/ |
D | set_scno.c | 2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) in arch_set_scno() argument 5 ia64_regs.gr[0] = scno; in arch_set_scno() 7 ia64_regs.gr[15] = scno; in arch_set_scno()
|
/external/strace/linux/mips/ |
D | get_scno.c | 5 tcp->scno = mips_REG_V0; in arch_get_scno() 7 if (!scno_in_range(tcp->scno)) { in arch_get_scno() 11 tcp->scno); in arch_get_scno()
|
D | set_scno.c | 2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) in arch_set_scno() argument 4 mips_REG_V0 = scno; in arch_set_scno()
|
/external/strace/linux/i386/ |
D | set_scno.c | 2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) in arch_set_scno() argument 5 return upoke(tcp->pid, 4 * ORIG_EAX, scno); in arch_set_scno() 7 i386_regs.orig_eax = scno; in arch_set_scno()
|
/external/strace/linux/powerpc/ |
D | set_scno.c | 2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) in arch_set_scno() argument 5 return upoke(tcp->pid, sizeof(long) * PT_R0, scno); in arch_set_scno() 7 ppc_regs.gpr[0] = scno; in arch_set_scno()
|
/external/v8/src/arm/ |
D | cpu-arm.cc | 35 register uint32_t scno asm("r7") = __ARM_NR_cacheflush; in FlushICache() 39 : "r"(beg), "r"(end), "r"(flg), "r"(scno) in FlushICache() 58 : "r" (beg), "r" (end), "r" (flg), [scno] "i" (__ARM_NR_cacheflush) in FlushICache()
|
/external/strace/linux/microblaze/ |
D | set_scno.c | 2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) in arch_set_scno() argument 4 return upoke(tcp->pid, 0, scno); in arch_set_scno()
|
/external/strace/linux/xtensa/ |
D | set_scno.c | 2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) in arch_set_scno() argument 4 return upoke(tcp->pid, SYSCALL_NR, scno); in arch_set_scno()
|
/external/strace/linux/hppa/ |
D | set_scno.c | 2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) in arch_set_scno() argument 4 return upoke(tcp->pid, PT_GR20, scno); in arch_set_scno()
|
/external/strace/linux/crisv10/ |
D | set_scno.c | 2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) in arch_set_scno() argument 4 return upoke(tcp->pid, 4 * PT_R9, scno); in arch_set_scno()
|
/external/strace/linux/sh64/ |
D | set_scno.c | 2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) in arch_set_scno() argument 4 return upoke(tcp->pid, REG_SYSCALL, scno); in arch_set_scno()
|
/external/strace/linux/bfin/ |
D | set_scno.c | 2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) in arch_set_scno() argument 4 return upoke(tcp->pid, PT_ORIG_P0, scno); in arch_set_scno()
|
/external/strace/linux/m68k/ |
D | set_scno.c | 2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) in arch_set_scno() argument 4 m68k_regs.orig_d0 = scno; in arch_set_scno()
|
/external/strace/linux/avr32/ |
D | set_scno.c | 2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) in arch_set_scno() argument 4 avr32_regs.r8 = scno; in arch_set_scno()
|
/external/strace/linux/or1k/ |
D | set_scno.c | 2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno) in arch_set_scno() argument 4 or1k_regs.gpr[11] = scno; in arch_set_scno()
|