Searched refs:sighand (Results 1 – 15 of 15) sorted by relevance
/kernel/ |
D | signal.c | 48 return t->sighand->action[sig - 1].sa.sa_handler; in sig_handler() 245 spin_lock_irqsave(&t->sighand->siglock, flags); in flush_signals() 249 spin_unlock_irqrestore(&t->sighand->siglock, flags); in flush_signals() 280 spin_lock_irqsave(&tsk->sighand->siglock, flags); in flush_itimer_signals() 283 spin_unlock_irqrestore(&tsk->sighand->siglock, flags); in flush_itimer_signals() 291 t->sighand->action[i].sa.sa_handler = SIG_IGN; in ignore_signals() 304 struct k_sigaction *ka = &t->sighand->action[0]; in flush_signal_handlers() 316 void __user *handler = tsk->sighand->action[sig-1].sa.sa_handler; in unhandled_signal() 338 spin_lock_irqsave(¤t->sighand->siglock, flags); in block_all_signals() 342 spin_unlock_irqrestore(¤t->sighand->siglock, flags); in block_all_signals() [all …]
|
D | itimer.c | 51 spin_lock_irq(&tsk->sighand->siglock); in do_getitimer() 55 spin_unlock_irq(&tsk->sighand->siglock); in do_getitimer() 58 spin_lock_irq(&tsk->sighand->siglock); in do_getitimer() 73 spin_unlock_irq(&tsk->sighand->siglock); in do_getitimer() 78 spin_lock_irq(&tsk->sighand->siglock); in do_getitimer() 93 spin_unlock_irq(&tsk->sighand->siglock); in do_getitimer() 154 spin_lock_irq(&tsk->sighand->siglock); in do_setitimer() 163 spin_unlock_irq(&tsk->sighand->siglock); in do_setitimer() 174 spin_unlock_irq(&tsk->sighand->siglock); in do_setitimer() 179 spin_lock_irq(&tsk->sighand->siglock); in do_setitimer() [all …]
|
D | freezer.c | 43 spin_lock_irq(¤t->sighand->siglock); in refrigerator() 45 spin_unlock_irq(¤t->sighand->siglock); in refrigerator() 62 spin_lock_irqsave(&p->sighand->siglock, flags); in fake_signal_wake_up() 64 spin_unlock_irqrestore(&p->sighand->siglock, flags); in fake_signal_wake_up() 118 spin_lock_irqsave(&p->sighand->siglock, flags); in cancel_freezing() 120 spin_unlock_irqrestore(&p->sighand->siglock, flags); in cancel_freezing()
|
D | exit.c | 95 struct sighand_struct *sighand; in __exit_signal() local 100 sighand = rcu_dereference(tsk->sighand); in __exit_signal() 101 spin_lock(&sighand->siglock); in __exit_signal() 149 tsk->sighand = NULL; in __exit_signal() 150 spin_unlock(&sighand->siglock); in __exit_signal() 152 __cleanup_sighand(sighand); in __exit_signal() 399 spin_lock_irq(¤t->sighand->siglock); in allow_signal() 406 current->sighand->action[(sig)-1].sa.sa_handler = (void __user *)2; in allow_signal() 409 spin_unlock_irq(¤t->sighand->siglock); in allow_signal() 420 spin_lock_irq(¤t->sighand->siglock); in disallow_signal() [all …]
|
D | ptrace.c | 61 spin_lock(&child->sighand->siglock); in ptrace_untrace() 69 spin_unlock(&child->sighand->siglock); in ptrace_untrace() 112 spin_lock_irq(&child->sighand->siglock); in ptrace_check_attach() 117 spin_unlock_irq(&child->sighand->siglock); in ptrace_check_attach() 349 if (likely(child->sighand != NULL)) { in ptrace_getsiginfo() 351 spin_lock_irq(&child->sighand->siglock); in ptrace_getsiginfo() 356 spin_unlock_irq(&child->sighand->siglock); in ptrace_getsiginfo() 367 if (likely(child->sighand != NULL)) { in ptrace_setsiginfo() 369 spin_lock_irq(&child->sighand->siglock); in ptrace_setsiginfo() 374 spin_unlock_irq(&child->sighand->siglock); in ptrace_setsiginfo()
|
D | fork.c | 773 atomic_inc(¤t->sighand->count); in copy_sighand() 777 rcu_assign_pointer(tsk->sighand, sig); in copy_sighand() 781 memcpy(sig->action, current->sighand->action, sizeof(sig->action)); in copy_sighand() 785 void __cleanup_sighand(struct sighand_struct *sighand) in __cleanup_sighand() argument 787 if (atomic_dec_and_test(&sighand->count)) in __cleanup_sighand() 788 kmem_cache_free(sighand_cachep, sighand); in __cleanup_sighand() 1227 spin_lock(¤t->sighand->siglock); in copy_process() 1239 spin_unlock(¤t->sighand->siglock); in copy_process() 1273 spin_unlock(¤t->sighand->siglock); in copy_process() 1294 __cleanup_sighand(p->sighand); in copy_process() [all …]
|
D | posix-cpu-timers.c | 22 spin_lock_irq(¤t->sighand->siglock); in update_rlimit_cpu() 24 spin_unlock_irq(¤t->sighand->siglock); in update_rlimit_cpu() 235 struct sighand_struct *sighand; in thread_group_cputime() local 242 sighand = rcu_dereference(tsk->sighand); in thread_group_cputime() 243 if (!sighand) in thread_group_cputime() 450 spin_lock(&p->sighand->siglock); in posix_cpu_timer_del() 455 spin_unlock(&p->sighand->siglock); in posix_cpu_timer_del() 562 spin_lock(&p->sighand->siglock); in arm_timer() 652 spin_unlock(&p->sighand->siglock); in arm_timer() 752 spin_lock(&p->sighand->siglock); in posix_cpu_timer_set() [all …]
|
D | taskstats.c | 277 spin_lock_irqsave(&tsk->sighand->siglock, flags); in fill_tgid_exit() 289 spin_unlock_irqrestore(&tsk->sighand->siglock, flags); in fill_tgid_exit() 507 spin_lock_irq(&tsk->sighand->siglock); in taskstats_tgid_alloc() 512 spin_unlock_irq(&tsk->sighand->siglock); in taskstats_tgid_alloc()
|
D | acct.c | 549 spin_lock_irq(¤t->sighand->siglock); in do_acct_process() 559 spin_unlock_irq(¤t->sighand->siglock); in do_acct_process() 612 spin_lock_irq(¤t->sighand->siglock); in acct_collect() 630 spin_unlock_irq(¤t->sighand->siglock); in acct_collect()
|
D | posix-timers.c | 558 spin_lock_irq(¤t->sighand->siglock); in SYSCALL_DEFINE3() 561 spin_unlock_irq(¤t->sighand->siglock); in SYSCALL_DEFINE3() 831 spin_lock(¤t->sighand->siglock); in SYSCALL_DEFINE1() 833 spin_unlock(¤t->sighand->siglock); in SYSCALL_DEFINE1()
|
D | audit.c | 467 spin_lock_irq(&tsk->sighand->siglock); in audit_prepare_user_tty() 470 spin_unlock_irq(&tsk->sighand->siglock); in audit_prepare_user_tty() 887 spin_lock_irq(&tsk->sighand->siglock); in audit_receive_msg() 889 spin_unlock_irq(&tsk->sighand->siglock); in audit_receive_msg() 910 spin_lock_irq(&tsk->sighand->siglock); in audit_receive_msg() 912 spin_unlock_irq(&tsk->sighand->siglock); in audit_receive_msg()
|
D | kmod.c | 142 spin_lock_irq(¤t->sighand->siglock); in ____call_usermodehelper() 146 spin_unlock_irq(¤t->sighand->siglock); in ____call_usermodehelper()
|
D | compat.c | 847 spin_lock_irq(¤t->sighand->siglock); in compat_sys_rt_sigtimedwait() 859 spin_unlock_irq(¤t->sighand->siglock); in compat_sys_rt_sigtimedwait() 863 spin_lock_irq(¤t->sighand->siglock); in compat_sys_rt_sigtimedwait() 870 spin_unlock_irq(¤t->sighand->siglock); in compat_sys_rt_sigtimedwait() 940 spin_lock_irq(¤t->sighand->siglock); in compat_sys_rt_sigsuspend() 944 spin_unlock_irq(¤t->sighand->siglock); in compat_sys_rt_sigsuspend()
|
D | sys.c | 922 spin_lock_irq(¤t->sighand->siglock); in do_sys_times() 925 spin_unlock_irq(¤t->sighand->siglock); in do_sys_times()
|
D | auditsc.c | 1347 spin_lock_irq(&tsk->sighand->siglock); in audit_log_exit() 1352 spin_unlock_irq(&tsk->sighand->siglock); in audit_log_exit()
|