Home
last modified time | relevance | path

Searched refs:siglock (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v5.4/drivers/tty/
Dtty_jobctrl.c77 spin_lock_irqsave(&p->sighand->siglock, flags); in proc_clear_tty()
80 spin_unlock_irqrestore(&p->sighand->siglock, flags); in proc_clear_tty()
120 spin_lock_irq(&current->sighand->siglock); in proc_set_tty()
122 spin_unlock_irq(&current->sighand->siglock); in proc_set_tty()
131 spin_lock_irq(&current->sighand->siglock); in tty_open_proc_set_tty()
152 spin_unlock_irq(&current->sighand->siglock); in tty_open_proc_set_tty()
161 spin_lock_irqsave(&current->sighand->siglock, flags); in get_current_tty()
163 spin_unlock_irqrestore(&current->sighand->siglock, flags); in get_current_tty()
200 spin_lock_irq(&p->sighand->siglock); in tty_signal_session_leader()
208 spin_unlock_irq(&p->sighand->siglock); in tty_signal_session_leader()
[all …]
/Linux-v5.4/kernel/time/
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()
157 spin_lock_irq(&tsk->sighand->siglock); in set_cpu_itimer()
171 spin_unlock_irq(&tsk->sighand->siglock); in set_cpu_itimer()
201 spin_lock_irq(&tsk->sighand->siglock); in do_setitimer()
210 spin_unlock_irq(&tsk->sighand->siglock); in do_setitimer()
223 spin_unlock_irq(&tsk->sighand->siglock); in do_setitimer()
Dposix-timers.c534 spin_lock_irq(&current->sighand->siglock); in do_timer_create()
537 spin_unlock_irq(&current->sighand->siglock); in do_timer_create()
999 spin_lock(&current->sighand->siglock); in SYSCALL_DEFINE1()
1001 spin_unlock(&current->sighand->siglock); in SYSCALL_DEFINE1()
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()
/Linux-v5.4/fs/
Dsignalfd.c68 spin_lock_irq(&current->sighand->siglock); in signalfd_poll()
73 spin_unlock_irq(&current->sighand->siglock); in signalfd_poll()
172 spin_lock_irq(&current->sighand->siglock); in signalfd_dequeue()
181 spin_unlock_irq(&current->sighand->siglock); in signalfd_dequeue()
195 spin_unlock_irq(&current->sighand->siglock); in signalfd_dequeue()
197 spin_lock_irq(&current->sighand->siglock); in signalfd_dequeue()
199 spin_unlock_irq(&current->sighand->siglock); in signalfd_dequeue()
301 spin_lock_irq(&current->sighand->siglock); in do_signalfd4()
303 spin_unlock_irq(&current->sighand->siglock); in do_signalfd4()
Dcoredump.c367 spin_lock_irq(&tsk->sighand->siglock); in zap_threads()
374 spin_unlock_irq(&tsk->sighand->siglock); in zap_threads()
479 spin_lock_irq(&current->sighand->siglock); in coredump_finish()
484 spin_unlock_irq(&current->sighand->siglock); in coredump_finish()
Dexec.c1065 spinlock_t *lock = &oldsighand->siglock; in de_thread()
1209 spin_lock(&oldsighand->siglock); in de_thread()
1211 spin_unlock(&oldsighand->siglock); in de_thread()
/Linux-v5.4/kernel/
Dsignal.c196 spin_lock_irq(&current->sighand->siglock); in calculate_sigpending()
199 spin_unlock_irq(&current->sighand->siglock); in calculate_sigpending()
474 spin_lock_irqsave(&t->sighand->siglock, flags); in flush_signals()
478 spin_unlock_irqrestore(&t->sighand->siglock, flags); in flush_signals()
511 spin_lock_irqsave(&tsk->sighand->siglock, flags); in flush_itimer_signals()
514 spin_unlock_irqrestore(&tsk->sighand->siglock, flags); in flush_itimer_signals()
689 spin_unlock(&tsk->sighand->siglock); in dequeue_signal()
691 spin_lock(&tsk->sighand->siglock); in dequeue_signal()
878 assert_spin_locked(&t->sighand->siglock); in ptrace_trap_notify()
1073 assert_spin_locked(&t->sighand->siglock); in __send_signal()
[all …]
Dptrace.c131 spin_lock(&child->sighand->siglock); in __ptrace_unlink()
169 spin_unlock(&child->sighand->siglock); in __ptrace_unlink()
181 spin_lock_irq(&task->sighand->siglock); in ptrace_freeze_traced()
186 spin_unlock_irq(&task->sighand->siglock); in ptrace_freeze_traced()
202 spin_lock_irq(&task->sighand->siglock); in ptrace_unfreeze_traced()
209 spin_unlock_irq(&task->sighand->siglock); in ptrace_unfreeze_traced()
416 spin_lock(&task->sighand->siglock); in ptrace_attach()
439 spin_unlock(&task->sighand->siglock); in ptrace_attach()
497 spin_lock(&sigh->siglock); in ignoring_children()
500 spin_unlock(&sigh->siglock); in ignoring_children()
[all …]
Dseccomp.c286 assert_spin_locked(&current->sighand->siglock); in seccomp_may_assign_mode()
300 assert_spin_locked(&task->sighand->siglock); in seccomp_assign_mode()
342 assert_spin_locked(&current->sighand->siglock); in seccomp_can_sync_threads()
383 assert_spin_locked(&current->sighand->siglock); in seccomp_sync_threads()
516 assert_spin_locked(&current->sighand->siglock); in seccomp_attach_filter()
961 spin_lock_irq(&current->sighand->siglock); in seccomp_set_mode_strict()
973 spin_unlock_irq(&current->sighand->siglock); in seccomp_set_mode_strict()
1302 spin_lock_irq(&current->sighand->siglock); in seccomp_set_mode_filter()
1315 spin_unlock_irq(&current->sighand->siglock); in seccomp_set_mode_filter()
1456 spin_lock_irq(&task->sighand->siglock); in get_nth_filter()
[all …]
Dexit.c102 spin_lock(&sighand->siglock); in __exit_signal()
166 spin_unlock(&sighand->siglock); in __exit_signal()
909 spin_lock_irq(&sighand->siglock); in do_group_exit()
918 spin_unlock_irq(&sighand->siglock); in do_group_exit()
1059 spin_lock_irq(&current->sighand->siglock); in wait_task_zombie()
1084 spin_unlock_irq(&current->sighand->siglock); in wait_task_zombie()
1173 spin_lock_irq(&p->sighand->siglock); in wait_task_stopped()
1188 spin_unlock_irq(&p->sighand->siglock); in wait_task_stopped()
1239 spin_lock_irq(&p->sighand->siglock); in wait_task_continued()
1242 spin_unlock_irq(&p->sighand->siglock); in wait_task_continued()
[all …]
Dacct.c456 spin_lock_irq(&current->sighand->siglock); in fill_ac()
466 spin_unlock_irq(&current->sighand->siglock); in fill_ac()
551 spin_lock_irq(&current->sighand->siglock); in acct_collect()
571 spin_unlock_irq(&current->sighand->siglock); in acct_collect()
Dtaskstats.c262 spin_lock_irqsave(&tsk->sighand->siglock, flags); in fill_tgid_exit()
274 spin_unlock_irqrestore(&tsk->sighand->siglock, flags); in fill_tgid_exit()
565 spin_lock_irq(&tsk->sighand->siglock); in taskstats_tgid_alloc()
570 spin_unlock_irq(&tsk->sighand->siglock); in taskstats_tgid_alloc()
Dfork.c1517 spin_lock_irq(&current->sighand->siglock); in copy_sighand()
1519 spin_unlock_irq(&current->sighand->siglock); in copy_sighand()
1606 assert_spin_locked(&current->sighand->siglock); in copy_seccomp()
1841 spin_lock_irq(&current->sighand->siglock); in copy_process()
1845 spin_unlock_irq(&current->sighand->siglock); in copy_process()
2152 spin_lock(&current->sighand->siglock); in copy_process()
2222 spin_unlock(&current->sighand->siglock); in copy_process()
2237 spin_unlock(&current->sighand->siglock); in copy_process()
2294 spin_lock_irq(&current->sighand->siglock); in copy_process()
2296 spin_unlock_irq(&current->sighand->siglock); in copy_process()
[all …]
Dpid_namespace.c197 spin_lock_irq(&me->sighand->siglock); in zap_pid_ns_processes()
199 spin_unlock_irq(&me->sighand->siglock); in zap_pid_ns_processes()
Dumh.c74 spin_lock_irq(&current->sighand->siglock); in call_usermodehelper_exec_async()
76 spin_unlock_irq(&current->sighand->siglock); in call_usermodehelper_exec_async()
/Linux-v5.4/include/linux/sched/
Dsignal.h19 spinlock_t siglock; member
275 spin_lock_irq(&task->sighand->siglock); in kernel_dequeue_signal()
277 spin_unlock_irq(&task->sighand->siglock); in kernel_dequeue_signal()
284 spin_lock_irq(&current->sighand->siglock); in kernel_signal_stop()
287 spin_unlock_irq(&current->sighand->siglock); in kernel_signal_stop()
674 (void)__cond_lock(&task->sighand->siglock, ret); in lock_task_sighand()
681 spin_unlock_irqrestore(&task->sighand->siglock, *flags); in unlock_task_sighand()
/Linux-v5.4/init/
Dinit_task.c48 .siglock = __SPIN_LOCK_UNLOCKED(init_sighand.siglock),
/Linux-v5.4/kernel/cgroup/
Dfreezer.c143 spin_lock(&current->sighand->siglock); in cgroup_leave_frozen()
146 spin_unlock(&current->sighand->siglock); in cgroup_leave_frozen()
/Linux-v5.4/kernel/livepatch/
Dtransition.c372 spin_lock_irq(&task->sighand->siglock); in klp_send_signals()
374 spin_unlock_irq(&task->sighand->siglock); in klp_send_signals()
/Linux-v5.4/fs/coda/
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-v5.4/fs/autofs/
Dwaitq.c68 spin_lock_irqsave(&current->sighand->siglock, flags); in autofs_write()
71 spin_unlock_irqrestore(&current->sighand->siglock, flags); in autofs_write()
/Linux-v5.4/kernel/events/
Duprobes.c1978 spin_lock_irq(&t->sighand->siglock); in uprobe_deny_signal()
1980 spin_unlock_irq(&t->sighand->siglock); in uprobe_deny_signal()
2277 spin_lock_irq(&current->sighand->siglock); in handle_singlestep()
2279 spin_unlock_irq(&current->sighand->siglock); in handle_singlestep()
/Linux-v5.4/arch/ia64/kernel/
Dptrace.c647 spin_lock_irq(&child->sighand->siglock); in ptrace_attach_sync_user_rbs()
655 spin_unlock_irq(&child->sighand->siglock); in ptrace_attach_sync_user_rbs()
671 spin_lock_irq(&child->sighand->siglock); in ptrace_attach_sync_user_rbs()
676 spin_unlock_irq(&child->sighand->siglock); in ptrace_attach_sync_user_rbs()
/Linux-v5.4/net/9p/
Dclient.c790 spin_lock_irqsave(&current->sighand->siglock, flags); in p9_client_rpc()
792 spin_unlock_irqrestore(&current->sighand->siglock, flags); in p9_client_rpc()
872 spin_lock_irqsave(&current->sighand->siglock, flags); in p9_client_zc_rpc()
874 spin_unlock_irqrestore(&current->sighand->siglock, flags); in p9_client_zc_rpc()

12