Home
last modified time | relevance | path

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

/Linux-v4.19/arch/sparc/kernel/
Duprobes.c104 static unsigned long relbranch_fixup(u32 insn, struct uprobe_task *utask, in relbranch_fixup() argument
109 return utask->autask.saved_tnpc + 0x4UL; in relbranch_fixup()
117 unsigned long real_pc = (unsigned long) utask->vaddr; in relbranch_fixup()
118 unsigned long ixol_addr = utask->xol_vaddr; in relbranch_fixup()
205 struct uprobe_task *utask = current->utask; in arch_uprobe_pre_xol() local
206 struct arch_uprobe_task *autask = &current->utask->autask; in arch_uprobe_pre_xol()
217 instruction_pointer_set(regs, utask->xol_vaddr); in arch_uprobe_pre_xol()
231 struct uprobe_task *utask = current->utask; in arch_uprobe_post_xol() local
232 struct arch_uprobe_task *autask = &utask->autask; in arch_uprobe_post_xol()
236 if (utask->state == UTASK_SSTEP_ACK) { in arch_uprobe_post_xol()
[all …]
/Linux-v4.19/arch/arm64/kernel/probes/
Duprobes.c67 struct uprobe_task *utask = current->utask; in arch_uprobe_pre_xol() local
73 instruction_pointer_set(regs, utask->xol_vaddr); in arch_uprobe_pre_xol()
82 struct uprobe_task *utask = current->utask; in arch_uprobe_post_xol() local
87 instruction_pointer_set(regs, utask->vaddr + 4); in arch_uprobe_post_xol()
125 struct uprobe_task *utask = current->utask; in arch_uprobe_abort_xol() local
131 instruction_pointer_set(regs, utask->vaddr); in arch_uprobe_abort_xol()
183 struct uprobe_task *utask = current->utask; in uprobe_single_step_handler() local
186 WARN_ON(utask && in uprobe_single_step_handler()
187 (instruction_pointer(regs) != utask->xol_vaddr + 4)); in uprobe_single_step_handler()
/Linux-v4.19/arch/arm/probes/uprobes/
Dcore.c138 struct uprobe_task *utask = current->utask; in arch_uprobe_pre_xol() local
141 auprobe->prehandler(auprobe, &utask->autask, regs); in arch_uprobe_pre_xol()
143 utask->autask.saved_trap_no = current->thread.trap_no; in arch_uprobe_pre_xol()
145 regs->ARM_pc = utask->xol_vaddr; in arch_uprobe_pre_xol()
152 struct uprobe_task *utask = current->utask; in arch_uprobe_post_xol() local
156 current->thread.trap_no = utask->autask.saved_trap_no; in arch_uprobe_post_xol()
157 regs->ARM_pc = utask->vaddr + 4; in arch_uprobe_post_xol()
160 auprobe->posthandler(auprobe, &utask->autask, regs); in arch_uprobe_post_xol()
175 struct uprobe_task *utask = current->utask; in arch_uprobe_abort_xol() local
177 current->thread.trap_no = utask->autask.saved_trap_no; in arch_uprobe_abort_xol()
[all …]
/Linux-v4.19/kernel/events/
Duprobes.c1336 if (!tsk->mm || !tsk->mm->uprobes_state.xol_area || !tsk->utask) in xol_free_insn_slot()
1339 slot_addr = tsk->utask->xol_vaddr; in xol_free_insn_slot()
1360 tsk->utask->xol_vaddr = 0; in xol_free_insn_slot()
1392 struct uprobe_task *utask = current->utask; in uprobe_get_trap_addr() local
1394 if (unlikely(utask && utask->active_uprobe)) in uprobe_get_trap_addr()
1395 return utask->vaddr; in uprobe_get_trap_addr()
1414 struct uprobe_task *utask = t->utask; in uprobe_free_utask() local
1417 if (!utask) in uprobe_free_utask()
1420 if (utask->active_uprobe) in uprobe_free_utask()
1421 put_uprobe(utask->active_uprobe); in uprobe_free_utask()
[all …]
/Linux-v4.19/arch/powerpc/kernel/
Duprobes.c66 struct arch_uprobe_task *autask = &current->utask->autask; in arch_uprobe_pre_xol()
70 regs->nip = current->utask->xol_vaddr; in arch_uprobe_pre_xol()
114 struct uprobe_task *utask = current->utask; in arch_uprobe_post_xol() local
118 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_post_xol()
127 regs->nip = utask->vaddr + MAX_UINSN_BYTES; in arch_uprobe_post_xol()
169 struct uprobe_task *utask = current->utask; in arch_uprobe_abort_xol() local
171 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_abort_xol()
172 instruction_pointer_set(regs, utask->vaddr); in arch_uprobe_abort_xol()
/Linux-v4.19/arch/x86/kernel/
Duprobes.c485 struct uprobe_task *utask = current->utask; in riprel_pre_xol() local
488 utask->autask.saved_scratch_register = *sr; in riprel_pre_xol()
489 *sr = utask->vaddr + auprobe->defparam.ilen; in riprel_pre_xol()
496 struct uprobe_task *utask = current->utask; in riprel_post_xol() local
499 *sr = utask->autask.saved_scratch_register; in riprel_post_xol()
565 struct uprobe_task *utask = current->utask; in default_post_xol_op() local
569 long correction = utask->vaddr - utask->xol_vaddr; in default_post_xol_op()
573 if (emulate_push_stack(regs, utask->vaddr + auprobe->defparam.ilen)) in default_post_xol_op()
578 utask->autask.saved_tf = true; in default_post_xol_op()
923 struct uprobe_task *utask = current->utask; in arch_uprobe_pre_xol() local
[all …]
/Linux-v4.19/arch/mips/kernel/
Duprobes.c107 struct uprobe_task *utask = current->utask; in arch_uprobe_pre_xol() local
122 utask->autask.saved_trap_nr = current->thread.trap_nr; in arch_uprobe_pre_xol()
124 regs->cp0_epc = current->utask->xol_vaddr; in arch_uprobe_pre_xol()
131 struct uprobe_task *utask = current->utask; in arch_uprobe_post_xol() local
133 current->thread.trap_nr = utask->autask.saved_trap_nr; in arch_uprobe_post_xol()
194 struct uprobe_task *utask = current->utask; in arch_uprobe_abort_xol() local
196 instruction_pointer_set(regs, utask->vaddr); in arch_uprobe_abort_xol()
/Linux-v4.19/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()
139 regs->psw.addr = current->utask->vaddr; in arch_uprobe_abort_xol()
140 current->thread.per_event.address = current->utask->vaddr; in arch_uprobe_abort_xol()
/Linux-v4.19/drivers/video/fbdev/
Duvesafb.c73 struct uvesafb_task *utask; in uvesafb_cn_callback() local
90 utask = (struct uvesafb_task *)msg->data; in uvesafb_cn_callback()
93 if (task->t.buf_len < utask->buf_len || in uvesafb_cn_callback()
94 utask->buf_len > msg->len - sizeof(*utask)) { in uvesafb_cn_callback()
102 memcpy(&task->t, utask, sizeof(*utask)); in uvesafb_cn_callback()
105 memcpy(task->buf, utask + 1, task->t.buf_len); in uvesafb_cn_callback()
/Linux-v4.19/kernel/trace/
Dtrace_uprobe.c173 udd = (void *) current->utask->vaddr; in translate_user_vaddr()
1227 current->utask->vaddr = (unsigned long) &udd; in uprobe_dispatcher()
1262 current->utask->vaddr = (unsigned long) &udd; in uretprobe_dispatcher()
/Linux-v4.19/include/linux/
Dsched.h1167 struct uprobe_task *utask; member