/linux-4.4.14/arch/m32r/kernel/ |
H A D | ptrace.c | 256 unsigned long *next_pc, compute_next_pc_for_16bit_insn() 281 *next_pc = (pc & ~0x3) + disp; compute_next_pc_for_16bit_insn() 289 *next_pc = (pc & ~0x3) + disp; compute_next_pc_for_16bit_insn() 296 *next_pc = (pc & ~0x3) + disp; compute_next_pc_for_16bit_insn() 307 /* kernel space is not allowed as next_pc */ compute_next_pc_for_16bit_insn() 316 *next_pc = evb + (trapno << 2); compute_next_pc_for_16bit_insn() 320 *next_pc = get_stack_long(child, PT_BPC); compute_next_pc_for_16bit_insn() 327 *next_pc = get_stack_long(child, compute_next_pc_for_16bit_insn() 335 *next_pc = get_stack_long(child, compute_next_pc_for_16bit_insn() 344 *next_pc = get_stack_long(child, compute_next_pc_for_16bit_insn() 352 *next_pc = pc + 4; compute_next_pc_for_16bit_insn() 354 *next_pc = pc + 2; compute_next_pc_for_16bit_insn() 359 unsigned long *next_pc, compute_next_pc_for_32bit_insn() 375 *next_pc = (pc & ~0x3) + disp; compute_next_pc_for_32bit_insn() 383 *next_pc = (pc & ~0x3) + disp; compute_next_pc_for_32bit_insn() 390 *next_pc = (pc & ~0x3) + disp; compute_next_pc_for_32bit_insn() 408 *next_pc = (pc & ~0x3) + disp; compute_next_pc_for_32bit_insn() 414 *next_pc = pc + 4; compute_next_pc_for_32bit_insn() 419 unsigned long *next_pc, struct task_struct *child) compute_next_pc() 422 compute_next_pc_for_32bit_insn(insn, pc, next_pc, child); compute_next_pc() 424 compute_next_pc_for_16bit_insn(insn, pc, next_pc, child); compute_next_pc() 428 register_debug_trap(struct task_struct *child, unsigned long next_pc, register_debug_trap() argument 432 unsigned long addr = next_pc & ~3; register_debug_trap() 442 if (next_pc & 3) { register_debug_trap() 535 embed_debug_trap(struct task_struct *child, unsigned long next_pc) embed_debug_trap() argument 538 unsigned long addr = next_pc & ~3; embed_debug_trap() 546 if (register_debug_trap(child, next_pc, next_insn, &code)) { embed_debug_trap() 584 unsigned long next_pc; user_enable_single_step() local 596 compute_next_pc(insn, pc, &next_pc, child); user_enable_single_step() 597 if (next_pc & 0x80000000) user_enable_single_step() 600 if (embed_debug_trap(child, next_pc)) user_enable_single_step() 255 compute_next_pc_for_16bit_insn(unsigned long insn, unsigned long pc, unsigned long *next_pc, struct task_struct *child) compute_next_pc_for_16bit_insn() argument 358 compute_next_pc_for_32bit_insn(unsigned long insn, unsigned long pc, unsigned long *next_pc, struct task_struct *child) compute_next_pc_for_32bit_insn() argument 418 compute_next_pc(unsigned long insn, unsigned long pc, unsigned long *next_pc, struct task_struct *child) compute_next_pc() argument
|
/linux-4.4.14/arch/arc/kernel/ |
H A D | disasm.c | 496 * Disassembles the insn at @pc and sets @next_pc to next PC (which could be 501 * -If branch has delay slot, @next_pc updated with actual next PC. 505 unsigned long *next_pc, unsigned long *tgt_if_br) disasm_next_pc() 512 *next_pc = pc + instr.instr_len; disasm_next_pc() 524 disasm_instr(*next_pc, &instr_d, 0, regs, cregs); disasm_next_pc() 526 *next_pc += instr_d.instr_len; disasm_next_pc() 530 if (!(regs->status32 & STATUS32_L) && (*next_pc == regs->lp_end) disasm_next_pc() 532 *next_pc = regs->lp_start; disasm_next_pc() 503 disasm_next_pc(unsigned long pc, struct pt_regs *regs, struct callee_regs *cregs, unsigned long *next_pc, unsigned long *tgt_if_br) disasm_next_pc() argument
|
H A D | kprobes.c | 130 unsigned long next_pc; setup_singlestep() local 154 next_pc = bta & ~0x01; setup_singlestep() 161 next_pc += 2; setup_singlestep() 175 &next_pc, &tgt_if_br); setup_singlestep() 177 p->ainsn.t1_addr = (kprobe_opcode_t *) next_pc; setup_singlestep()
|
/linux-4.4.14/arch/sh/kernel/cpu/sh5/ |
H A D | unwind.c | 240 unsigned long next_fp, next_pc; sh64_unwind_inner() local 279 next_pc = regs->regs[18]; sh64_unwind_inner() 281 next_pc = 0; sh64_unwind_inner() 284 if (lookup_prev_stack_frame(fp, pc, &next_fp, &next_pc, regs) == 0) { sh64_unwind_inner() 286 pc = next_pc & ~1; sh64_unwind_inner()
|
/linux-4.4.14/arch/tile/kernel/ |
H A D | asm-offsets.c | 47 offsetof(struct single_step_state, next_pc)); foo()
|
H A D | backtrace.c | 635 unsigned long next_fp, next_pc; backtrace_next() local 660 next_pc = state->initial_frame_caller_pc; backtrace_next() 669 next_pc = next_frame[0]; backtrace_next() 670 if (!valid_addr_reg(next_frame[0]) || next_pc == 0 || backtrace_next() 671 next_pc % TILE_BUNDLE_ALIGNMENT_IN_BYTES != 0) { backtrace_next() 678 state->pc = next_pc; backtrace_next()
|
H A D | single_step.c | 413 state->next_pc = (unsigned long)(pc + 1); single_step_once() 459 state->next_pc = single_step_once() 465 state->next_pc = single_step_once() 476 state->next_pc = single_step_once() 482 state->next_pc = single_step_once() 539 state->next_pc = ex0_0; single_step_once()
|
/linux-4.4.14/arch/microblaze/kernel/ |
H A D | unwind.c | 200 unsigned long next_fp, next_pc = 0; microblaze_unwind_inner() local 264 &next_pc) == 0) { microblaze_unwind_inner() 266 pc = next_pc & ~3; microblaze_unwind_inner() 275 (void *)next_pc, (void *)next_fp); microblaze_unwind_inner()
|
/linux-4.4.14/arch/tile/include/asm/ |
H A D | ptrace.h | 70 unsigned long next_pc; /* return PC if no branch (PC + 1) */ member in struct:single_step_state
|
/linux-4.4.14/arch/alpha/kernel/ |
H A D | ptrace.c | 218 DBG(DBG_BPT, (" -> next_pc=%lx\n", ptrace_set_bpt()
|