Searched refs:PF_EXITING (Results 1 – 25 of 36) sorted by relevance
12
145 if (task->flags & PF_EXITING) in task_work_run()
283 if (unlikely(t->flags & PF_EXITING)) in __rseq_handle_notify_resume()
145 if (!(child->flags & PF_EXITING) && in __ptrace_unlink()497 if (!ret && !(current->real_parent->flags & PF_EXITING)) { in ptrace_traceme()
511 if (!(t->flags & PF_EXITING)) in find_alive_thread()773 if (unlikely(tsk->flags & PF_EXITING)) { in do_exit()
290 if (unlikely(fatal_signal_pending(task) || (task->flags & PF_EXITING))) in task_set_jobctl_pending()978 if (p->flags & PF_EXITING) in wants_signal()2921 if (t->flags & PF_EXITING) in retarget_shared_pending()2949 tsk->flags |= PF_EXITING; in exit_signals()2959 tsk->flags |= PF_EXITING; in exit_signals()
596 if (WARN_ON(k->flags & PF_EXITING)) in kthread_park()
170 if (current->flags & PF_EXITING) { in drm_sched_entity_flush()184 (current->flags & PF_EXITING) && (current->exit_code == SIGKILL)) { in drm_sched_entity_flush()
66 if (action->thread->flags & PF_EXITING) in __irq_wake_thread()
199 timeout = current->flags & PF_EXITING ? in smc_close_active()438 timeout = current->flags & PF_EXITING ? in smc_close_shutdown_write()
119 if (p->flags & PF_EXITING) in task_wants_autogroup()
278 (task == current || !(task->flags & PF_EXITING))) in create_task_io_context()
124 if (tsk->flags & PF_EXITING) { in ref_get_pid_and_task()
84 if (current->flags & PF_EXITING) in i915_gem_userptr_invalidate()
1059 !(current->flags & PF_EXITING)) in sco_sock_shutdown()1083 !(current->flags & PF_EXITING)) { in sco_sock_release()
455 ((task)->flags & PF_EXITING) || (__c))
1667 #define PF_EXITING 0x00000004 /* Getting shut down */ macro
916 if (unlikely(current->flags & PF_EXITING)) { in key_change_session_keyring()
800 if (thread_group_empty(task) && (task->flags & PF_EXITING)) in __task_will_free_mem()
487 if (permitted && (task->flags & (PF_EXITING|PF_DUMPCORE))) { in do_task_stat()
333 current->flags & (PF_KTHREAD | PF_EXITING))) in BPF_CALL_3()790 if (unlikely(current->flags & (PF_KTHREAD | PF_EXITING))) in bpf_send_signal_common()
1235 (event->hw.target->flags & PF_EXITING) || in trace_uprobe_filter_remove()
387 if (current->flags & (PF_EXITING|PF_DUMPCORE)) in handle_userfault()559 if (WARN_ON_ONCE(current->flags & PF_EXITING)) in userfaultfd_event_wait_completion()
135 } while (task && (task->flags & PF_EXITING)); in cgroup_transfer_tasks()
934 !(current->flags & PF_EXITING)) in rfcomm_sock_shutdown()
955 if (sock_flag(sk, SOCK_LINGER) && !(current->flags & PF_EXITING)) in virtio_transport_close()