Home
last modified time | relevance | path

Searched refs:PF_EXITING (Results 1 – 25 of 36) sorted by relevance

12

/Linux-v5.15/kernel/
Dtask_work.c145 if (task->flags & PF_EXITING) in task_work_run()
Drseq.c283 if (unlikely(t->flags & PF_EXITING)) in __rseq_handle_notify_resume()
Dptrace.c145 if (!(child->flags & PF_EXITING) && in __ptrace_unlink()
497 if (!ret && !(current->real_parent->flags & PF_EXITING)) { in ptrace_traceme()
Dexit.c511 if (!(t->flags & PF_EXITING)) in find_alive_thread()
773 if (unlikely(tsk->flags & PF_EXITING)) { in do_exit()
Dsignal.c290 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()
Dkthread.c596 if (WARN_ON(k->flags & PF_EXITING)) in kthread_park()
/Linux-v5.15/drivers/gpu/drm/scheduler/
Dsched_entity.c170 if (current->flags & PF_EXITING) { in drm_sched_entity_flush()
184 (current->flags & PF_EXITING) && (current->exit_code == SIGKILL)) { in drm_sched_entity_flush()
/Linux-v5.15/kernel/irq/
Dhandle.c66 if (action->thread->flags & PF_EXITING) in __irq_wake_thread()
/Linux-v5.15/net/smc/
Dsmc_close.c199 timeout = current->flags & PF_EXITING ? in smc_close_active()
438 timeout = current->flags & PF_EXITING ? in smc_close_shutdown_write()
/Linux-v5.15/kernel/sched/
Dautogroup.c119 if (p->flags & PF_EXITING) in task_wants_autogroup()
/Linux-v5.15/block/
Dblk-ioc.c278 (task == current || !(task->flags & PF_EXITING))) in create_task_io_context()
/Linux-v5.15/arch/powerpc/platforms/book3s/
Dvas-api.c124 if (tsk->flags & PF_EXITING) { in ref_get_pid_and_task()
/Linux-v5.15/drivers/gpu/drm/i915/gem/
Di915_gem_userptr.c84 if (current->flags & PF_EXITING) in i915_gem_userptr_invalidate()
/Linux-v5.15/net/bluetooth/
Dsco.c1059 !(current->flags & PF_EXITING)) in sco_sock_shutdown()
1083 !(current->flags & PF_EXITING)) { in sco_sock_release()
/Linux-v5.15/include/linux/
Dcgroup.h455 ((task)->flags & PF_EXITING) || (__c))
Dsched.h1667 #define PF_EXITING 0x00000004 /* Getting shut down */ macro
/Linux-v5.15/security/keys/
Dprocess_keys.c916 if (unlikely(current->flags & PF_EXITING)) { in key_change_session_keyring()
/Linux-v5.15/mm/
Doom_kill.c800 if (thread_group_empty(task) && (task->flags & PF_EXITING)) in __task_will_free_mem()
/Linux-v5.15/fs/proc/
Darray.c487 if (permitted && (task->flags & (PF_EXITING|PF_DUMPCORE))) { in do_task_stat()
/Linux-v5.15/kernel/trace/
Dbpf_trace.c333 current->flags & (PF_KTHREAD | PF_EXITING))) in BPF_CALL_3()
790 if (unlikely(current->flags & (PF_KTHREAD | PF_EXITING))) in bpf_send_signal_common()
Dtrace_uprobe.c1235 (event->hw.target->flags & PF_EXITING) || in trace_uprobe_filter_remove()
/Linux-v5.15/fs/
Duserfaultfd.c387 if (current->flags & (PF_EXITING|PF_DUMPCORE)) in handle_userfault()
559 if (WARN_ON_ONCE(current->flags & PF_EXITING)) in userfaultfd_event_wait_completion()
/Linux-v5.15/kernel/cgroup/
Dcgroup-v1.c135 } while (task && (task->flags & PF_EXITING)); in cgroup_transfer_tasks()
/Linux-v5.15/net/bluetooth/rfcomm/
Dsock.c934 !(current->flags & PF_EXITING)) in rfcomm_sock_shutdown()
/Linux-v5.15/net/vmw_vsock/
Dvirtio_transport_common.c955 if (sock_flag(sk, SOCK_LINGER) && !(current->flags & PF_EXITING)) in virtio_transport_close()

12