Home
last modified time | relevance | path

Searched refs:sighand (Results 1 – 25 of 41) sorted by relevance

12

/linux/fs/
A Dsignalfd.c38 wake_up_pollfree(&sighand->signalfd_wqh); in signalfd_cleanup()
58 spin_lock_irq(&current->sighand->siglock); in signalfd_poll()
63 spin_unlock_irq(&current->sighand->siglock); in signalfd_poll()
161 spin_lock_irq(&current->sighand->siglock); in signalfd_dequeue()
170 spin_unlock_irq(&current->sighand->siglock); in signalfd_dequeue()
184 spin_unlock_irq(&current->sighand->siglock); in signalfd_dequeue()
186 spin_lock_irq(&current->sighand->siglock); in signalfd_dequeue()
188 spin_unlock_irq(&current->sighand->siglock); in signalfd_dequeue()
290 spin_lock_irq(&current->sighand->siglock); in do_signalfd4()
292 spin_unlock_irq(&current->sighand->siglock); in do_signalfd4()
[all …]
A Dcoredump.c377 spin_lock_irq(&tsk->sighand->siglock); in zap_threads()
386 spin_unlock_irq(&tsk->sighand->siglock); in zap_threads()
426 spin_lock_irq(&current->sighand->siglock); in coredump_finish()
433 spin_unlock_irq(&current->sighand->siglock); in coredump_finish()
/linux/drivers/tty/
A Dtty_jobctrl.c80 spin_lock_irqsave(&p->sighand->siglock, flags); in proc_clear_tty()
124 spin_lock_irq(&current->sighand->siglock); in proc_set_tty()
126 spin_unlock_irq(&current->sighand->siglock); in proc_set_tty()
135 spin_lock_irq(&current->sighand->siglock); in tty_open_proc_set_tty()
156 spin_unlock_irq(&current->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(&current->sighand->siglock); in disassociate_ctty()
303 spin_lock_irq(&current->sighand->siglock); in disassociate_ctty()
[all …]
/linux/kernel/
A Dsignal.c1384 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 Dexit.c96 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 Dptrace.c132 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 Dfork.c1590 refcount_inc(&current->sighand->count); in copy_sighand()
1594 RCU_INIT_POINTER(tsk->sighand, sig); in copy_sighand()
1599 spin_lock_irq(&current->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(&current->sighand->siglock); in copy_process()
2401 spin_unlock(&current->sighand->siglock); in copy_process()
2419 spin_unlock(&current->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 Dseccomp.c429 assert_spin_locked(&current->sighand->siglock); in seccomp_may_assign_mode()
443 assert_spin_locked(&task->sighand->siglock); in seccomp_assign_mode()
485 assert_spin_locked(&current->sighand->siglock); in seccomp_can_sync_threads()
562 WARN_ON(tsk->sighand != NULL); in seccomp_filter_release()
1335 spin_lock_irq(&current->sighand->siglock); in seccomp_set_mode_strict()
1347 spin_unlock_irq(&current->sighand->siglock); in seccomp_set_mode_strict()
1851 spin_lock_irq(&current->sighand->siglock); in seccomp_set_mode_filter()
1869 spin_unlock_irq(&current->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 Dacct.c455 spin_lock_irq(&current->sighand->siglock); in fill_ac()
465 spin_unlock_irq(&current->sighand->siglock); in fill_ac()
549 spin_lock_irq(&current->sighand->siglock); in acct_collect()
569 spin_unlock_irq(&current->sighand->siglock); in acct_collect()
A Dpid_namespace.c182 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 Dkcmp.c192 ret = kcmp_ptr(task1->sighand, task2->sighand, KCMP_SIGHAND); in SYSCALL_DEFINE5()
A Dtaskstats.c258 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 Dumh.c72 spin_lock_irq(&current->sighand->siglock); in call_usermodehelper_exec_async()
74 spin_unlock_irq(&current->sighand->siglock); in call_usermodehelper_exec_async()
/linux/include/linux/
A Dsignalfd.h21 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 Ditimer.c53 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 Dposix-cpu-timers.c42 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 Dposix-timers.c560 spin_lock_irq(&current->sighand->siglock); in do_timer_create()
563 spin_unlock_irq(&current->sighand->siglock); in do_timer_create()
1021 spin_lock(&current->sighand->siglock); in SYSCALL_DEFINE1()
1023 spin_unlock(&current->sighand->siglock); in SYSCALL_DEFINE1()
/linux/include/linux/sched/
A Dsignal.h298 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(&current->sighand->siglock); in kernel_signal_stop()
310 spin_unlock_irq(&current->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 Dcputime.h105 if (unlikely(!tsk->sighand)) in get_running_cputimer()
/linux/fs/proc/
A Dtask_nommu.c67 if (current->sighand && refcount_read(&current->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 Dfreezer.c143 spin_lock(&current->sighand->siglock); in cgroup_leave_frozen()
146 spin_unlock(&current->sighand->siglock); in cgroup_leave_frozen()
/linux/arch/x86/kernel/fpu/
A Dxstate.c1586 lockdep_assert_held(&current->sighand->siglock); in validate_sigaltstack()
1669 spin_lock_irq(&current->sighand->siglock); in xstate_request_perm()
1672 spin_unlock_irq(&current->sighand->siglock); in xstate_request_perm()
1688 spin_lock_irq(&current->sighand->siglock); in xfd_enable_feature()
1692 spin_unlock_irq(&current->sighand->siglock); in xfd_enable_feature()
1705 spin_unlock_irq(&current->sighand->siglock); in xfd_enable_feature()
A Dcore.c460 spin_lock_irq(&current->sighand->siglock); in fpu_inherit_perms()
463 spin_unlock_irq(&current->sighand->siglock); in fpu_inherit_perms()
/linux/fs/coda/
A Dupcall.c618 spin_lock_irq(&current->sighand->siglock); in coda_block_signals()
627 spin_unlock_irq(&current->sighand->siglock); in coda_block_signals()
632 spin_lock_irq(&current->sighand->siglock); in coda_unblock_signals()
635 spin_unlock_irq(&current->sighand->siglock); in coda_unblock_signals()
/linux/fs/autofs/
A Dwaitq.c68 spin_lock_irqsave(&current->sighand->siglock, flags); in autofs_write()
71 spin_unlock_irqrestore(&current->sighand->siglock, flags); in autofs_write()

Completed in 52 milliseconds

12