Home
last modified time | relevance | path

Searched refs:utask (Results 1 – 9 of 9) sorted by relevance

/arch/sparc/kernel/
Duprobes.c91 static unsigned long relbranch_fixup(u32 insn, struct uprobe_task *utask, in relbranch_fixup() argument
96 return utask->autask.saved_tnpc + 0x4UL; in relbranch_fixup()
104 unsigned long real_pc = (unsigned long) utask->vaddr; in relbranch_fixup()
105 unsigned long ixol_addr = utask->xol_vaddr; in relbranch_fixup()
192 struct uprobe_task *utask = current->utask; in arch_uprobe_pre_xol() local
193 struct arch_uprobe_task *autask = &current->utask->autask; in arch_uprobe_pre_xol()
204 instruction_pointer_set(regs, utask->xol_vaddr); in arch_uprobe_pre_xol()
218 struct uprobe_task *utask = current->utask; in arch_uprobe_post_xol() local
219 struct arch_uprobe_task *autask = &utask->autask; in arch_uprobe_post_xol()
223 if (utask->state == UTASK_SSTEP_ACK) { in arch_uprobe_post_xol()
[all …]
/arch/arm64/kernel/probes/
Duprobes.c64 struct uprobe_task *utask = current->utask; in arch_uprobe_pre_xol() local
70 instruction_pointer_set(regs, utask->xol_vaddr); in arch_uprobe_pre_xol()
79 struct uprobe_task *utask = current->utask; in arch_uprobe_post_xol() local
84 instruction_pointer_set(regs, utask->vaddr + 4); in arch_uprobe_post_xol()
122 struct uprobe_task *utask = current->utask; in arch_uprobe_abort_xol() local
128 instruction_pointer_set(regs, utask->vaddr); in arch_uprobe_abort_xol()
180 struct uprobe_task *utask = current->utask; in uprobe_single_step_handler() local
182 WARN_ON(utask && (instruction_pointer(regs) != utask->xol_vaddr + 4)); in uprobe_single_step_handler()
/arch/riscv/kernel/probes/
Duprobes.c55 struct uprobe_task *utask = current->utask; in arch_uprobe_pre_xol() local
57 utask->autask.saved_cause = current->thread.bad_cause; in arch_uprobe_pre_xol()
60 instruction_pointer_set(regs, utask->xol_vaddr); in arch_uprobe_pre_xol()
67 struct uprobe_task *utask = current->utask; in arch_uprobe_post_xol() local
70 current->thread.bad_cause = utask->autask.saved_cause; in arch_uprobe_post_xol()
72 instruction_pointer_set(regs, utask->vaddr + auprobe->insn_size); in arch_uprobe_post_xol()
104 struct uprobe_task *utask = current->utask; in arch_uprobe_abort_xol() local
106 current->thread.bad_cause = utask->autask.saved_cause; in arch_uprobe_abort_xol()
111 instruction_pointer_set(regs, utask->vaddr); in arch_uprobe_abort_xol()
/arch/arm/probes/uprobes/
Dcore.c135 struct uprobe_task *utask = current->utask; in arch_uprobe_pre_xol() local
138 auprobe->prehandler(auprobe, &utask->autask, regs); in arch_uprobe_pre_xol()
140 utask->autask.saved_trap_no = current->thread.trap_no; in arch_uprobe_pre_xol()
142 regs->ARM_pc = utask->xol_vaddr; in arch_uprobe_pre_xol()
149 struct uprobe_task *utask = current->utask; in arch_uprobe_post_xol() local
153 current->thread.trap_no = utask->autask.saved_trap_no; in arch_uprobe_post_xol()
154 regs->ARM_pc = utask->vaddr + 4; in arch_uprobe_post_xol()
157 auprobe->posthandler(auprobe, &utask->autask, regs); in arch_uprobe_post_xol()
172 struct uprobe_task *utask = current->utask; in arch_uprobe_abort_xol() local
174 current->thread.trap_no = utask->autask.saved_trap_no; in arch_uprobe_abort_xol()
[all …]
/arch/powerpc/kernel/
Duprobes.c61 struct arch_uprobe_task *autask = &current->utask->autask; in arch_uprobe_pre_xol()
65 regs_set_return_ip(regs, current->utask->xol_vaddr); in arch_uprobe_pre_xol()
109 struct uprobe_task *utask = current->utask; in arch_uprobe_post_xol() local
113 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_post_xol()
122 regs_set_return_ip(regs, (unsigned long)ppc_inst_next((void *)utask->vaddr, auprobe->insn)); in arch_uprobe_post_xol()
165 struct uprobe_task *utask = current->utask; in arch_uprobe_abort_xol() local
167 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_abort_xol()
168 instruction_pointer_set(regs, utask->vaddr); in arch_uprobe_abort_xol()
/arch/csky/kernel/probes/
Duprobes.c50 struct uprobe_task *utask = current->utask; in arch_uprobe_pre_xol() local
52 utask->autask.saved_trap_no = current->thread.trap_no; in arch_uprobe_pre_xol()
55 instruction_pointer_set(regs, utask->xol_vaddr); in arch_uprobe_pre_xol()
64 struct uprobe_task *utask = current->utask; in arch_uprobe_post_xol() local
68 instruction_pointer_set(regs, utask->vaddr + auprobe->insn_size); in arch_uprobe_post_xol()
102 struct uprobe_task *utask = current->utask; in arch_uprobe_abort_xol() local
108 instruction_pointer_set(regs, utask->vaddr); in arch_uprobe_abort_xol()
/arch/mips/kernel/
Duprobes.c107 struct uprobe_task *utask = current->utask; in arch_uprobe_pre_xol() local
119 utask->autask.saved_trap_nr = current->thread.trap_nr; in arch_uprobe_pre_xol()
121 regs->cp0_epc = current->utask->xol_vaddr; in arch_uprobe_pre_xol()
128 struct uprobe_task *utask = current->utask; in arch_uprobe_post_xol() local
130 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_post_xol()
191 struct uprobe_task *utask = current->utask; in arch_uprobe_abort_xol() local
193 instruction_pointer_set(regs, utask->vaddr); in arch_uprobe_abort_xol()
/arch/x86/kernel/
Duprobes.c473 struct uprobe_task *utask = current->utask; in riprel_pre_xol() local
476 utask->autask.saved_scratch_register = *sr; in riprel_pre_xol()
477 *sr = utask->vaddr + auprobe->defparam.ilen; in riprel_pre_xol()
484 struct uprobe_task *utask = current->utask; in riprel_post_xol() local
487 *sr = utask->autask.saved_scratch_register; in riprel_post_xol()
556 struct uprobe_task *utask = current->utask; in default_post_xol_op() local
560 long correction = utask->vaddr - utask->xol_vaddr; in default_post_xol_op()
564 if (emulate_push_stack(regs, utask->vaddr + auprobe->defparam.ilen)) in default_post_xol_op()
569 utask->autask.saved_tf = true; in default_post_xol_op()
918 struct uprobe_task *utask = current->utask; in arch_uprobe_pre_xol() local
[all …]
/arch/s390/kernel/
Duprobes.c39 regs->psw.addr = current->utask->xol_vaddr; in arch_uprobe_pre_xol()
81 struct uprobe_task *utask = current->utask; in arch_uprobe_post_xol() local
89 regs->psw.addr += utask->vaddr - utask->xol_vaddr; in arch_uprobe_post_xol()
93 regs->gprs[reg] += utask->vaddr - utask->xol_vaddr; in arch_uprobe_post_xol()
98 if (regs->psw.addr - utask->xol_vaddr == ilen) in arch_uprobe_post_xol()
99 regs->psw.addr = utask->vaddr + ilen; in arch_uprobe_post_xol()
104 current->thread.per_event.address = utask->vaddr; in arch_uprobe_post_xol()
140 regs->psw.addr = current->utask->vaddr; in arch_uprobe_abort_xol()
141 current->thread.per_event.address = current->utask->vaddr; in arch_uprobe_abort_xol()