/linux/fs/ |
A D | signalfd.c | 38 wake_up_pollfree(&sighand->signalfd_wqh); in signalfd_cleanup() 58 spin_lock_irq(¤t->sighand->siglock); in signalfd_poll() 63 spin_unlock_irq(¤t->sighand->siglock); in signalfd_poll() 161 spin_lock_irq(¤t->sighand->siglock); in signalfd_dequeue() 170 spin_unlock_irq(¤t->sighand->siglock); in signalfd_dequeue() 184 spin_unlock_irq(¤t->sighand->siglock); in signalfd_dequeue() 186 spin_lock_irq(¤t->sighand->siglock); in signalfd_dequeue() 188 spin_unlock_irq(¤t->sighand->siglock); in signalfd_dequeue() 290 spin_lock_irq(¤t->sighand->siglock); in do_signalfd4() 292 spin_unlock_irq(¤t->sighand->siglock); in do_signalfd4() [all …]
|
A D | coredump.c | 377 spin_lock_irq(&tsk->sighand->siglock); in zap_threads() 386 spin_unlock_irq(&tsk->sighand->siglock); in zap_threads() 426 spin_lock_irq(¤t->sighand->siglock); in coredump_finish() 433 spin_unlock_irq(¤t->sighand->siglock); in coredump_finish()
|
/linux/drivers/tty/ |
A D | tty_jobctrl.c | 80 spin_lock_irqsave(&p->sighand->siglock, flags); in proc_clear_tty() 124 spin_lock_irq(¤t->sighand->siglock); in proc_set_tty() 126 spin_unlock_irq(¤t->sighand->siglock); in proc_set_tty() 135 spin_lock_irq(¤t->sighand->siglock); in tty_open_proc_set_tty() 156 spin_unlock_irq(¤t->sighand->siglock); in tty_open_proc_set_tty() 205 spin_lock_irq(&p->sighand->siglock); in tty_signal_session_leader() 215 spin_unlock_irq(&p->sighand->siglock); in tty_signal_session_leader() 227 spin_unlock_irq(&p->sighand->siglock); in tty_signal_session_leader() 291 spin_lock_irq(¤t->sighand->siglock); in disassociate_ctty() 303 spin_lock_irq(¤t->sighand->siglock); in disassociate_ctty() [all …]
|
/linux/kernel/ |
A D | signal.c | 1384 struct sighand_struct *sighand; in __lock_task_sighand() local 1388 sighand = rcu_dereference(tsk->sighand); in __lock_task_sighand() 1389 if (unlikely(sighand == NULL)) in __lock_task_sighand() 1404 if (likely(sighand == rcu_access_pointer(tsk->sighand))) in __lock_task_sighand() 1410 return sighand; in __lock_task_sighand() 1416 struct sighand_struct *sighand; in lockdep_assert_task_sighand_held() local 1419 sighand = rcu_dereference(task->sighand); in lockdep_assert_task_sighand_held() 1420 if (sighand) in lockdep_assert_task_sighand_held() 2072 psig = tsk->parent->sighand; in do_notify_parent() 2167 sighand = parent->sighand; in do_notify_parent_cldstop() [all …]
|
A D | exit.c | 96 struct sighand_struct *sighand; in __exit_signal() local 100 sighand = rcu_dereference_check(tsk->sighand, in __exit_signal() 102 spin_lock(&sighand->siglock); in __exit_signal() 156 tsk->sighand = NULL; in __exit_signal() 157 spin_unlock(&sighand->siglock); in __exit_signal() 159 __cleanup_sighand(sighand); in __exit_signal() 915 struct sighand_struct *const sighand = current->sighand; in do_group_exit() local 917 spin_lock_irq(&sighand->siglock); in do_group_exit() 926 spin_unlock_irq(&sighand->siglock); in do_group_exit() 1181 spin_lock_irq(&p->sighand->siglock); in wait_task_stopped() [all …]
|
A D | ptrace.c | 132 spin_lock(&child->sighand->siglock); in __ptrace_unlink() 170 spin_unlock(&child->sighand->siglock); in __ptrace_unlink() 197 spin_lock_irq(&task->sighand->siglock); in ptrace_freeze_traced() 203 spin_unlock_irq(&task->sighand->siglock); in ptrace_freeze_traced() 219 spin_lock_irq(&task->sighand->siglock); in ptrace_unfreeze_traced() 226 spin_unlock_irq(&task->sighand->siglock); in ptrace_unfreeze_traced() 432 spin_lock(&task->sighand->siglock); in ptrace_attach() 455 spin_unlock(&task->sighand->siglock); in ptrace_attach() 751 spin_lock_irq(&child->sighand->siglock); in ptrace_peek_siginfo() 882 spin_lock_irq(&child->sighand->siglock); in ptrace_resume() [all …]
|
A D | fork.c | 1590 refcount_inc(¤t->sighand->count); in copy_sighand() 1594 RCU_INIT_POINTER(tsk->sighand, sig); in copy_sighand() 1599 spin_lock_irq(¤t->sighand->siglock); in copy_sighand() 1613 signalfd_cleanup(sighand); in __cleanup_sighand() 1618 kmem_cache_free(sighand_cachep, sighand); in __cleanup_sighand() 2331 spin_lock(¤t->sighand->siglock); in copy_process() 2401 spin_unlock(¤t->sighand->siglock); in copy_process() 2419 spin_unlock(¤t->sighand->siglock); in copy_process() 2446 __cleanup_sighand(p->sighand); in copy_process() 2899 struct sighand_struct *sighand = data; in sighand_ctor() local [all …]
|
A D | seccomp.c | 429 assert_spin_locked(¤t->sighand->siglock); in seccomp_may_assign_mode() 443 assert_spin_locked(&task->sighand->siglock); in seccomp_assign_mode() 485 assert_spin_locked(¤t->sighand->siglock); in seccomp_can_sync_threads() 562 WARN_ON(tsk->sighand != NULL); in seccomp_filter_release() 1335 spin_lock_irq(¤t->sighand->siglock); in seccomp_set_mode_strict() 1347 spin_unlock_irq(¤t->sighand->siglock); in seccomp_set_mode_strict() 1851 spin_lock_irq(¤t->sighand->siglock); in seccomp_set_mode_filter() 1869 spin_unlock_irq(¤t->sighand->siglock); in seccomp_set_mode_filter() 2011 spin_lock_irq(&task->sighand->siglock); in get_nth_filter() 2014 spin_unlock_irq(&task->sighand->siglock); in get_nth_filter() [all …]
|
A D | acct.c | 455 spin_lock_irq(¤t->sighand->siglock); in fill_ac() 465 spin_unlock_irq(¤t->sighand->siglock); in fill_ac() 549 spin_lock_irq(¤t->sighand->siglock); in acct_collect() 569 spin_unlock_irq(¤t->sighand->siglock); in acct_collect()
|
A D | pid_namespace.c | 182 spin_lock_irq(&me->sighand->siglock); in zap_pid_ns_processes() 183 me->sighand->action[SIGCHLD - 1].sa.sa_handler = SIG_IGN; in zap_pid_ns_processes() 184 spin_unlock_irq(&me->sighand->siglock); in zap_pid_ns_processes()
|
A D | kcmp.c | 192 ret = kcmp_ptr(task1->sighand, task2->sighand, KCMP_SIGHAND); in SYSCALL_DEFINE5()
|
A D | taskstats.c | 258 spin_lock_irqsave(&tsk->sighand->siglock, flags); in fill_tgid_exit() 270 spin_unlock_irqrestore(&tsk->sighand->siglock, flags); in fill_tgid_exit() 563 spin_lock_irq(&tsk->sighand->siglock); in taskstats_tgid_alloc() 574 spin_unlock_irq(&tsk->sighand->siglock); in taskstats_tgid_alloc()
|
A D | umh.c | 72 spin_lock_irq(¤t->sighand->siglock); in call_usermodehelper_exec_async() 74 spin_unlock_irq(¤t->sighand->siglock); in call_usermodehelper_exec_async()
|
/linux/include/linux/ |
A D | signalfd.h | 21 if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh))) in signalfd_notify() 22 wake_up(&tsk->sighand->signalfd_wqh); in signalfd_notify() 25 extern void signalfd_cleanup(struct sighand_struct *sighand); 31 static inline void signalfd_cleanup(struct sighand_struct *sighand) { } in signalfd_cleanup() argument
|
/linux/kernel/time/ |
A D | itimer.c | 53 spin_lock_irq(&tsk->sighand->siglock); in get_cpu_itimer() 70 spin_unlock_irq(&tsk->sighand->siglock); in get_cpu_itimer() 82 spin_lock_irq(&tsk->sighand->siglock); in do_getitimer() 86 spin_unlock_irq(&tsk->sighand->siglock); in do_getitimer() 178 spin_lock_irq(&tsk->sighand->siglock); in set_cpu_itimer() 192 spin_unlock_irq(&tsk->sighand->siglock); in set_cpu_itimer() 216 spin_lock_irq(&tsk->sighand->siglock); in do_setitimer() 225 spin_unlock_irq(&tsk->sighand->siglock); in do_setitimer() 238 spin_unlock_irq(&tsk->sighand->siglock); in do_setitimer()
|
A D | posix-cpu-timers.c | 42 spin_lock_irq(&task->sighand->siglock); in update_rlimit_cpu() 44 spin_unlock_irq(&task->sighand->siglock); in update_rlimit_cpu() 468 struct sighand_struct *sighand; in posix_cpu_timer_del() local 482 sighand = lock_task_sighand(p, &flags); in posix_cpu_timer_del() 483 if (unlikely(sighand == NULL)) { in posix_cpu_timer_del() 623 struct sighand_struct *sighand; in posix_cpu_timer_set() local 649 sighand = lock_task_sighand(p, &flags); in posix_cpu_timer_set() 654 if (unlikely(sighand == NULL)) { in posix_cpu_timer_set() 766 if (!sighand) in posix_cpu_timer_set() 1043 struct sighand_struct *sighand; in posix_cpu_timer_rearm() local [all …]
|
A D | posix-timers.c | 560 spin_lock_irq(¤t->sighand->siglock); in do_timer_create() 563 spin_unlock_irq(¤t->sighand->siglock); in do_timer_create() 1021 spin_lock(¤t->sighand->siglock); in SYSCALL_DEFINE1() 1023 spin_unlock(¤t->sighand->siglock); in SYSCALL_DEFINE1()
|
/linux/include/linux/sched/ |
A D | signal.h | 298 spin_lock_irq(&task->sighand->siglock); in kernel_dequeue_signal() 300 spin_unlock_irq(&task->sighand->siglock); in kernel_dequeue_signal() 307 spin_lock_irq(¤t->sighand->siglock); in kernel_signal_stop() 310 spin_unlock_irq(¤t->sighand->siglock); in kernel_signal_stop() 718 (void)__cond_lock(&task->sighand->siglock, ret); in lock_task_sighand() 725 spin_unlock_irqrestore(&task->sighand->siglock, *flags); in unlock_task_sighand()
|
A D | cputime.h | 105 if (unlikely(!tsk->sighand)) in get_running_cputimer()
|
/linux/fs/proc/ |
A D | task_nommu.c | 67 if (current->sighand && refcount_read(¤t->sighand->count) > 1) in task_mem() 68 sbytes += kobjsize(current->sighand); in task_mem() 70 bytes += kobjsize(current->sighand); in task_mem()
|
/linux/kernel/cgroup/ |
A D | freezer.c | 143 spin_lock(¤t->sighand->siglock); in cgroup_leave_frozen() 146 spin_unlock(¤t->sighand->siglock); in cgroup_leave_frozen()
|
/linux/arch/x86/kernel/fpu/ |
A D | xstate.c | 1586 lockdep_assert_held(¤t->sighand->siglock); in validate_sigaltstack() 1669 spin_lock_irq(¤t->sighand->siglock); in xstate_request_perm() 1672 spin_unlock_irq(¤t->sighand->siglock); in xstate_request_perm() 1688 spin_lock_irq(¤t->sighand->siglock); in xfd_enable_feature() 1692 spin_unlock_irq(¤t->sighand->siglock); in xfd_enable_feature() 1705 spin_unlock_irq(¤t->sighand->siglock); in xfd_enable_feature()
|
A D | core.c | 460 spin_lock_irq(¤t->sighand->siglock); in fpu_inherit_perms() 463 spin_unlock_irq(¤t->sighand->siglock); in fpu_inherit_perms()
|
/linux/fs/coda/ |
A D | upcall.c | 618 spin_lock_irq(¤t->sighand->siglock); in coda_block_signals() 627 spin_unlock_irq(¤t->sighand->siglock); in coda_block_signals() 632 spin_lock_irq(¤t->sighand->siglock); in coda_unblock_signals() 635 spin_unlock_irq(¤t->sighand->siglock); in coda_unblock_signals()
|
/linux/fs/autofs/ |
A D | waitq.c | 68 spin_lock_irqsave(¤t->sighand->siglock, flags); in autofs_write() 71 spin_unlock_irqrestore(¤t->sighand->siglock, flags); in autofs_write()
|