Lines Matching refs:current
1082 if (!fatal_signal_pending(current) && in uprobe_mmap()
1166 struct mm_struct *mm = current->mm; in __create_xol_area()
1209 struct mm_struct *mm = current->mm; in get_xol_area()
1371 struct uprobe_task *utask = current->utask; in uprobe_get_trap_addr()
1418 if (!current->utask) in get_utask()
1419 current->utask = kzalloc(sizeof(struct uprobe_task), GFP_KERNEL); in get_utask()
1420 return current->utask; in get_utask()
1454 current->comm, current->pid, msg); in uprobe_warn()
1459 if (current->flags & PF_EXITING) in dup_xol_work()
1462 if (!__create_xol_area(current->utask->dup_xol_addr)) in dup_xol_work()
1463 uprobe_warn(current, "dup xol area"); in dup_xol_work()
1471 struct uprobe_task *utask = current->utask; in uprobe_copy_process()
1472 struct mm_struct *mm = current->mm; in uprobe_copy_process()
1510 area = current->mm->uprobes_state.xol_area; in get_trampoline_vaddr()
1535 current->pid, current->tgid); in prepare_uretprobe()
1560 current->pid, current->tgid); in prepare_uretprobe()
1607 xol_free_insn_slot(current); in pre_ssout()
1627 struct task_struct *t = current; in uprobe_deny_signal()
1696 struct mm_struct *mm = current->mm; in find_active_uprobe()
1750 unapply_uprobe(uprobe, current->mm); in handler_chain()
1775 utask = current->utask; in handle_trampoline()
1832 current->pid, current->tgid); in handle_swbp()
1839 send_sig(SIGTRAP, current, 0); in handle_swbp()
1906 xol_free_insn_slot(current); in handle_singlestep()
1908 spin_lock_irq(¤t->sighand->siglock); in handle_singlestep()
1910 spin_unlock_irq(¤t->sighand->siglock); in handle_singlestep()
1913 uprobe_warn(current, "execute the probed insn, sending SIGILL."); in handle_singlestep()
1914 force_sig_info(SIGILL, SEND_SIG_FORCED, current); in handle_singlestep()
1935 utask = current->utask; in uprobe_notify_resume()
1948 if (!current->mm) in uprobe_pre_sstep_notifier()
1951 if (!test_bit(MMF_HAS_UPROBES, ¤t->mm->flags) && in uprobe_pre_sstep_notifier()
1952 (!current->utask || !current->utask->return_instances)) in uprobe_pre_sstep_notifier()
1965 struct uprobe_task *utask = current->utask; in uprobe_post_sstep_notifier()
1967 if (!current->mm || !utask || !utask->active_uprobe) in uprobe_post_sstep_notifier()