utask 135 arch/arm/probes/uprobes/core.c struct uprobe_task *utask = current->utask; utask 138 arch/arm/probes/uprobes/core.c auprobe->prehandler(auprobe, &utask->autask, regs); utask 140 arch/arm/probes/uprobes/core.c utask->autask.saved_trap_no = current->thread.trap_no; utask 142 arch/arm/probes/uprobes/core.c regs->ARM_pc = utask->xol_vaddr; utask 149 arch/arm/probes/uprobes/core.c struct uprobe_task *utask = current->utask; utask 153 arch/arm/probes/uprobes/core.c current->thread.trap_no = utask->autask.saved_trap_no; utask 154 arch/arm/probes/uprobes/core.c regs->ARM_pc = utask->vaddr + 4; utask 157 arch/arm/probes/uprobes/core.c auprobe->posthandler(auprobe, &utask->autask, regs); utask 172 arch/arm/probes/uprobes/core.c struct uprobe_task *utask = current->utask; utask 174 arch/arm/probes/uprobes/core.c current->thread.trap_no = utask->autask.saved_trap_no; utask 175 arch/arm/probes/uprobes/core.c instruction_pointer_set(regs, utask->vaddr); utask 64 arch/arm64/kernel/probes/uprobes.c struct uprobe_task *utask = current->utask; utask 70 arch/arm64/kernel/probes/uprobes.c instruction_pointer_set(regs, utask->xol_vaddr); utask 79 arch/arm64/kernel/probes/uprobes.c struct uprobe_task *utask = current->utask; utask 84 arch/arm64/kernel/probes/uprobes.c instruction_pointer_set(regs, utask->vaddr + 4); utask 122 arch/arm64/kernel/probes/uprobes.c struct uprobe_task *utask = current->utask; utask 128 arch/arm64/kernel/probes/uprobes.c instruction_pointer_set(regs, utask->vaddr); utask 180 arch/arm64/kernel/probes/uprobes.c struct uprobe_task *utask = current->utask; utask 182 arch/arm64/kernel/probes/uprobes.c WARN_ON(utask && (instruction_pointer(regs) != utask->xol_vaddr + 4)); utask 107 arch/mips/kernel/uprobes.c struct uprobe_task *utask = current->utask; utask 119 arch/mips/kernel/uprobes.c utask->autask.saved_trap_nr = current->thread.trap_nr; utask 121 arch/mips/kernel/uprobes.c regs->cp0_epc = current->utask->xol_vaddr; utask 128 arch/mips/kernel/uprobes.c struct uprobe_task *utask = current->utask; utask 130 arch/mips/kernel/uprobes.c current->thread.trap_nr = utask->autask.saved_trap_nr; utask 191 arch/mips/kernel/uprobes.c struct uprobe_task *utask = current->utask; utask 193 arch/mips/kernel/uprobes.c instruction_pointer_set(regs, utask->vaddr); utask 53 arch/powerpc/kernel/uprobes.c struct arch_uprobe_task *autask = ¤t->utask->autask; utask 57 arch/powerpc/kernel/uprobes.c regs->nip = current->utask->xol_vaddr; utask 101 arch/powerpc/kernel/uprobes.c struct uprobe_task *utask = current->utask; utask 105 arch/powerpc/kernel/uprobes.c current->thread.trap_nr = utask->autask.saved_trap_nr; utask 114 arch/powerpc/kernel/uprobes.c regs->nip = utask->vaddr + MAX_UINSN_BYTES; utask 156 arch/powerpc/kernel/uprobes.c struct uprobe_task *utask = current->utask; utask 158 arch/powerpc/kernel/uprobes.c current->thread.trap_nr = utask->autask.saved_trap_nr; utask 159 arch/powerpc/kernel/uprobes.c instruction_pointer_set(regs, utask->vaddr); utask 39 arch/s390/kernel/uprobes.c regs->psw.addr = current->utask->xol_vaddr; utask 81 arch/s390/kernel/uprobes.c struct uprobe_task *utask = current->utask; utask 89 arch/s390/kernel/uprobes.c regs->psw.addr += utask->vaddr - utask->xol_vaddr; utask 93 arch/s390/kernel/uprobes.c regs->gprs[reg] += utask->vaddr - utask->xol_vaddr; utask 98 arch/s390/kernel/uprobes.c if (regs->psw.addr - utask->xol_vaddr == ilen) utask 99 arch/s390/kernel/uprobes.c regs->psw.addr = utask->vaddr + ilen; utask 104 arch/s390/kernel/uprobes.c current->thread.per_event.address = utask->vaddr; utask 139 arch/s390/kernel/uprobes.c regs->psw.addr = current->utask->vaddr; utask 140 arch/s390/kernel/uprobes.c current->thread.per_event.address = current->utask->vaddr; utask 91 arch/sparc/kernel/uprobes.c static unsigned long relbranch_fixup(u32 insn, struct uprobe_task *utask, utask 96 arch/sparc/kernel/uprobes.c return utask->autask.saved_tnpc + 0x4UL; utask 104 arch/sparc/kernel/uprobes.c unsigned long real_pc = (unsigned long) utask->vaddr; utask 105 arch/sparc/kernel/uprobes.c unsigned long ixol_addr = utask->xol_vaddr; utask 192 arch/sparc/kernel/uprobes.c struct uprobe_task *utask = current->utask; utask 193 arch/sparc/kernel/uprobes.c struct arch_uprobe_task *autask = ¤t->utask->autask; utask 204 arch/sparc/kernel/uprobes.c instruction_pointer_set(regs, utask->xol_vaddr); utask 218 arch/sparc/kernel/uprobes.c struct uprobe_task *utask = current->utask; utask 219 arch/sparc/kernel/uprobes.c struct arch_uprobe_task *autask = &utask->autask; utask 223 arch/sparc/kernel/uprobes.c if (utask->state == UTASK_SSTEP_ACK) { utask 224 arch/sparc/kernel/uprobes.c regs->tnpc = relbranch_fixup(insn, utask, regs); utask 226 arch/sparc/kernel/uprobes.c rc = retpc_fixup(regs, insn, (unsigned long) utask->vaddr); utask 228 arch/sparc/kernel/uprobes.c regs->tnpc = utask->vaddr+4; utask 295 arch/sparc/kernel/uprobes.c struct uprobe_task *utask = current->utask; utask 297 arch/sparc/kernel/uprobes.c instruction_pointer_set(regs, utask->vaddr); utask 472 arch/x86/kernel/uprobes.c struct uprobe_task *utask = current->utask; utask 475 arch/x86/kernel/uprobes.c utask->autask.saved_scratch_register = *sr; utask 476 arch/x86/kernel/uprobes.c *sr = utask->vaddr + auprobe->defparam.ilen; utask 483 arch/x86/kernel/uprobes.c struct uprobe_task *utask = current->utask; utask 486 arch/x86/kernel/uprobes.c *sr = utask->autask.saved_scratch_register; utask 555 arch/x86/kernel/uprobes.c struct uprobe_task *utask = current->utask; utask 559 arch/x86/kernel/uprobes.c long correction = utask->vaddr - utask->xol_vaddr; utask 563 arch/x86/kernel/uprobes.c if (emulate_push_stack(regs, utask->vaddr + auprobe->defparam.ilen)) utask 568 arch/x86/kernel/uprobes.c utask->autask.saved_tf = true; utask 914 arch/x86/kernel/uprobes.c struct uprobe_task *utask = current->utask; utask 922 arch/x86/kernel/uprobes.c regs->ip = utask->xol_vaddr; utask 923 arch/x86/kernel/uprobes.c utask->autask.saved_trap_nr = current->thread.trap_nr; utask 926 arch/x86/kernel/uprobes.c utask->autask.saved_tf = !!(regs->flags & X86_EFLAGS_TF); utask 961 arch/x86/kernel/uprobes.c struct uprobe_task *utask = current->utask; utask 962 arch/x86/kernel/uprobes.c bool send_sigtrap = utask->autask.saved_tf; utask 966 arch/x86/kernel/uprobes.c current->thread.trap_nr = utask->autask.saved_trap_nr; utask 976 arch/x86/kernel/uprobes.c regs->ip = utask->vaddr; utask 990 arch/x86/kernel/uprobes.c if (!utask->autask.saved_tf) utask 1032 arch/x86/kernel/uprobes.c struct uprobe_task *utask = current->utask; utask 1037 arch/x86/kernel/uprobes.c current->thread.trap_nr = utask->autask.saved_trap_nr; utask 1038 arch/x86/kernel/uprobes.c regs->ip = utask->vaddr; utask 1040 arch/x86/kernel/uprobes.c if (!utask->autask.saved_tf) utask 74 drivers/video/fbdev/uvesafb.c struct uvesafb_task *utask; utask 91 drivers/video/fbdev/uvesafb.c utask = (struct uvesafb_task *)msg->data; utask 94 drivers/video/fbdev/uvesafb.c if (task->t.buf_len < utask->buf_len || utask 95 drivers/video/fbdev/uvesafb.c utask->buf_len > msg->len - sizeof(*utask)) { utask 103 drivers/video/fbdev/uvesafb.c memcpy(&task->t, utask, sizeof(*utask)); utask 106 drivers/video/fbdev/uvesafb.c memcpy(task->buf, utask + 1, task->t.buf_len); utask 1238 include/linux/sched.h struct uprobe_task *utask; utask 1647 kernel/events/uprobes.c if (!tsk->mm || !tsk->mm->uprobes_state.xol_area || !tsk->utask) utask 1650 kernel/events/uprobes.c slot_addr = tsk->utask->xol_vaddr; utask 1671 kernel/events/uprobes.c tsk->utask->xol_vaddr = 0; utask 1703 kernel/events/uprobes.c struct uprobe_task *utask = current->utask; utask 1705 kernel/events/uprobes.c if (unlikely(utask && utask->active_uprobe)) utask 1706 kernel/events/uprobes.c return utask->vaddr; utask 1725 kernel/events/uprobes.c struct uprobe_task *utask = t->utask; utask 1728 kernel/events/uprobes.c if (!utask) utask 1731 kernel/events/uprobes.c if (utask->active_uprobe) utask 1732 kernel/events/uprobes.c put_uprobe(utask->active_uprobe); utask 1734 kernel/events/uprobes.c ri = utask->return_instances; utask 1739 kernel/events/uprobes.c kfree(utask); utask 1740 kernel/events/uprobes.c t->utask = NULL; utask 1753 kernel/events/uprobes.c if (!current->utask) utask 1754 kernel/events/uprobes.c current->utask = kzalloc(sizeof(struct uprobe_task), GFP_KERNEL); utask 1755 kernel/events/uprobes.c return current->utask; utask 1766 kernel/events/uprobes.c t->utask = n_utask; utask 1797 kernel/events/uprobes.c if (!__create_xol_area(current->utask->dup_xol_addr) && utask 1807 kernel/events/uprobes.c struct uprobe_task *utask = current->utask; utask 1811 kernel/events/uprobes.c t->utask = NULL; utask 1813 kernel/events/uprobes.c if (!utask || !utask->return_instances) utask 1819 kernel/events/uprobes.c if (dup_utask(t, utask)) utask 1830 kernel/events/uprobes.c t->utask->dup_xol_addr = area->vaddr; utask 1831 kernel/events/uprobes.c init_task_work(&t->utask->dup_xol_work, dup_xol_work); utask 1832 kernel/events/uprobes.c task_work_add(t, &t->utask->dup_xol_work, true); utask 1854 kernel/events/uprobes.c static void cleanup_return_instances(struct uprobe_task *utask, bool chained, utask 1857 kernel/events/uprobes.c struct return_instance *ri = utask->return_instances; utask 1862 kernel/events/uprobes.c utask->depth--; utask 1864 kernel/events/uprobes.c utask->return_instances = ri; utask 1870 kernel/events/uprobes.c struct uprobe_task *utask; utask 1877 kernel/events/uprobes.c utask = get_utask(); utask 1878 kernel/events/uprobes.c if (!utask) utask 1881 kernel/events/uprobes.c if (utask->depth >= MAX_URETPROBE_DEPTH) { utask 1899 kernel/events/uprobes.c cleanup_return_instances(utask, chained, regs); utask 1907 kernel/events/uprobes.c if (!utask->return_instances) { utask 1915 kernel/events/uprobes.c orig_ret_vaddr = utask->return_instances->orig_ret_vaddr; utask 1924 kernel/events/uprobes.c utask->depth++; utask 1925 kernel/events/uprobes.c ri->next = utask->return_instances; utask 1926 kernel/events/uprobes.c utask->return_instances = ri; utask 1937 kernel/events/uprobes.c struct uprobe_task *utask; utask 1941 kernel/events/uprobes.c utask = get_utask(); utask 1942 kernel/events/uprobes.c if (!utask) utask 1949 kernel/events/uprobes.c utask->xol_vaddr = xol_vaddr; utask 1950 kernel/events/uprobes.c utask->vaddr = bp_vaddr; utask 1958 kernel/events/uprobes.c utask->active_uprobe = uprobe; utask 1959 kernel/events/uprobes.c utask->state = UTASK_SSTEP; utask 1975 kernel/events/uprobes.c struct uprobe_task *utask = t->utask; utask 1977 kernel/events/uprobes.c if (likely(!utask || !utask->active_uprobe)) utask 1980 kernel/events/uprobes.c WARN_ON_ONCE(utask->state != UTASK_SSTEP); utask 1988 kernel/events/uprobes.c utask->state = UTASK_SSTEP_TRAPPED; utask 2139 kernel/events/uprobes.c struct uprobe_task *utask; utask 2143 kernel/events/uprobes.c utask = current->utask; utask 2144 kernel/events/uprobes.c if (!utask) utask 2147 kernel/events/uprobes.c ri = utask->return_instances; utask 2166 kernel/events/uprobes.c utask->depth--; utask 2170 kernel/events/uprobes.c utask->return_instances = ri; utask 2267 kernel/events/uprobes.c static void handle_singlestep(struct uprobe_task *utask, struct pt_regs *regs) utask 2272 kernel/events/uprobes.c uprobe = utask->active_uprobe; utask 2273 kernel/events/uprobes.c if (utask->state == UTASK_SSTEP_ACK) utask 2275 kernel/events/uprobes.c else if (utask->state == UTASK_SSTEP_TRAPPED) utask 2281 kernel/events/uprobes.c utask->active_uprobe = NULL; utask 2282 kernel/events/uprobes.c utask->state = UTASK_RUNNING; utask 2308 kernel/events/uprobes.c struct uprobe_task *utask; utask 2312 kernel/events/uprobes.c utask = current->utask; utask 2313 kernel/events/uprobes.c if (utask && utask->active_uprobe) utask 2314 kernel/events/uprobes.c handle_singlestep(utask, regs); utask 2329 kernel/events/uprobes.c (!current->utask || !current->utask->return_instances)) utask 2342 kernel/events/uprobes.c struct uprobe_task *utask = current->utask; utask 2344 kernel/events/uprobes.c if (!current->mm || !utask || !utask->active_uprobe) utask 2348 kernel/events/uprobes.c utask->state = UTASK_SSTEP_ACK; utask 212 kernel/trace/trace_uprobe.c udd = (void *) current->utask->vaddr; utask 1470 kernel/trace/trace_uprobe.c current->utask->vaddr = (unsigned long) &udd; utask 1505 kernel/trace/trace_uprobe.c current->utask->vaddr = (unsigned long) &udd;