Searched refs:PF_EXITING (Results 1 - 28 of 28) sorted by relevance

/linux-4.1.27/include/linux/
H A Doom.h94 return (task->flags & PF_EXITING) && task_will_free_mem()
H A Dsched.h741 * PF_EXITING. fork and exit paths are protected with this rwsem
1966 #define PF_EXITING 0x00000004 /* getting shut down */ macro
2659 * and member tasks aren't allowed to exit (as indicated by PF_EXITING) or
2665 * and no existing live task will have its PF_EXITING set.
H A Dcgroup.h283 ((task)->flags & PF_EXITING) || (__c))
/linux-4.1.27/kernel/
H A Dtask_work.c97 head = !work && (task->flags & PF_EXITING) ? task_work_run()
H A Dptrace.c93 if (!(child->flags & PF_EXITING) && __ptrace_unlink()
413 * Check PF_EXITING to ensure ->real_parent has not passed ptrace_traceme()
417 if (!ret && !(current->real_parent->flags & PF_EXITING)) { ptrace_traceme()
H A Dexit.c447 if (!(t->flags & PF_EXITING)) for_each_thread()
685 if (unlikely(tsk->flags & PF_EXITING)) { do_exit()
701 exit_signals(tsk); /* sets PF_EXITING */ do_exit()
H A Dsignal.c254 if (unlikely(fatal_signal_pending(task) || (task->flags & PF_EXITING))) task_set_jobctl_pending()
912 if (p->flags & PF_EXITING) wants_signal()
2418 if (t->flags & PF_EXITING) while_each_thread()
2440 * @tsk is about to have PF_EXITING set - lock out users which exit_signals()
2446 tsk->flags |= PF_EXITING; exit_signals()
2456 tsk->flags |= PF_EXITING; exit_signals()
H A Dcgroup.c1592 if (!(p->flags & PF_EXITING)) { do_each_thread()
2054 * We are synchronized through threadgroup_lock() against PF_EXITING cgroup_task_migrate()
2058 WARN_ON_ONCE(tsk->flags & PF_EXITING); cgroup_task_migrate()
2245 * already PF_EXITING could be freed from underneath us unless we cgroup_migrate()
2253 if (task->flags & PF_EXITING) cgroup_migrate()
5279 * with migration path - PF_EXITING is visible to migration path.
H A Dcpuset.c1019 if (current->flags & PF_EXITING) /* Let dying task have memory */ cpuset_change_task_nodemask()
2510 if (current->flags & PF_EXITING) /* Let dying task have memory */ __cpuset_node_allowed()
H A Dfutex.c915 if (unlikely(p->flags & PF_EXITING)) { attach_to_pi_owner()
/linux-4.1.27/kernel/irq/
H A Dhandle.c62 if (action->thread->flags & PF_EXITING) __irq_wake_thread()
H A Dmanage.c859 if (WARN_ON_ONCE(!(current->flags & PF_EXITING))) irq_thread_dtor()
/linux-4.1.27/kernel/sched/
H A Dauto_group.c121 if (p->flags & PF_EXITING) task_wants_autogroup()
H A Dfair.c1282 if ((cur->flags & PF_EXITING) || is_idle_task(cur)) task_numa_compare()
2139 if (p->flags & PF_EXITING) task_numa_work()
2252 if (!curr->mm || (curr->flags & PF_EXITING) || work->next != work) task_tick_numa()
H A Dcore.c8046 if (!(task->flags & PF_EXITING)) cpu_cgroup_exit()
/linux-4.1.27/block/
H A Dblk-ioc.c262 (task == current || !(task->flags & PF_EXITING))) create_task_io_context()
/linux-4.1.27/net/bluetooth/
H A Dsco.c975 !(current->flags & PF_EXITING)) sco_sock_shutdown()
996 !(current->flags & PF_EXITING)) { sco_sock_release()
H A Dl2cap_sock.c1123 !(current->flags & PF_EXITING)) l2cap_sock_shutdown()
/linux-4.1.27/fs/ncpfs/
H A Dsock.c758 if (current->flags & PF_EXITING) ncp_do_request()
/linux-4.1.27/net/bluetooth/rfcomm/
H A Dsock.c921 !(current->flags & PF_EXITING)) rfcomm_sock_shutdown()
/linux-4.1.27/security/keys/
H A Dprocess_keys.c831 if (unlikely(current->flags & PF_EXITING)) { key_change_session_keyring()
/linux-4.1.27/arch/tile/kernel/
H A Dhardwall.c393 if (!(p->flags & PF_EXITING)) { do_hardwall_trap()
/linux-4.1.27/kernel/trace/
H A Dtrace_uprobe.c1030 (event->hw.target->flags & PF_EXITING) || uprobe_perf_close()
/linux-4.1.27/net/ipv4/
H A Daf_inet.c415 !(current->flags & PF_EXITING)) inet_release()
/linux-4.1.27/kernel/events/
H A Duprobes.c1459 if (current->flags & PF_EXITING) dup_xol_work()
H A Dcore.c3404 * we must see PF_EXITING, it takes this mutex too. find_get_context()
3406 if (task->flags & PF_EXITING) find_get_context()
9110 if (!(task->flags & PF_EXITING)) perf_cgroup_exit()
/linux-4.1.27/mm/
H A Dmemcontrol.c2261 current->flags & PF_EXITING)) try_charge()
H A Dpage_alloc.c2326 (current->flags & (PF_MEMALLOC | PF_EXITING))) warn_alloc_failed()

Completed in 1638 milliseconds