• Home
  • Raw
  • Download

Lines Matching refs:proc

34 aarch64_read_gregs(struct process *proc, struct user_pt_regs *regs)  in aarch64_read_gregs()  argument
40 return ptrace(PTRACE_GETREGSET, proc->pid, NT_PRSTATUS, &iovec) < 0 in aarch64_read_gregs()
45 aarch64_write_gregs(struct process *proc, struct user_pt_regs *regs) in aarch64_write_gregs() argument
50 return ptrace(PTRACE_SETREGSET, proc->pid, NT_PRSTATUS, &iovec) < 0 in aarch64_write_gregs()
55 aarch64_read_fregs(struct process *proc, struct user_fpsimd_state *regs) in aarch64_read_fregs() argument
61 return ptrace(PTRACE_GETREGSET, proc->pid, NT_FPREGSET, &iovec) < 0 in aarch64_read_fregs()
66 get_instruction_pointer(struct process *proc) in get_instruction_pointer() argument
69 if (aarch64_read_gregs(proc, &regs) < 0) { in get_instruction_pointer()
71 "Couldn't read registers of %d.\n", proc->pid); in get_instruction_pointer()
86 set_instruction_pointer(struct process *proc, arch_addr_t addr) in set_instruction_pointer() argument
89 if (aarch64_read_gregs(proc, &regs) < 0) { in set_instruction_pointer()
91 "Couldn't read registers of %d.\n", proc->pid); in set_instruction_pointer()
98 if (aarch64_write_gregs(proc, &regs) < 0) { in set_instruction_pointer()
100 "Couldn't write registers of %d.\n", proc->pid); in set_instruction_pointer()
106 get_stack_pointer(struct process *proc) in get_stack_pointer() argument
109 if (aarch64_read_gregs(proc, &regs) < 0) { in get_stack_pointer()
111 "Couldn't read registers of %d.\n", proc->pid); in get_stack_pointer()
120 get_return_addr(struct process *proc, arch_addr_t stack_pointer) in get_return_addr() argument
123 if (aarch64_read_gregs(proc, &regs) < 0) { in get_return_addr()
125 "Couldn't read registers of %d.\n", proc->pid); in get_return_addr()