Lines Matching refs:sig

838 	struct signal_struct *const sig = tsk->signal;  in check_thread_timers()  local
855 soft = ACCESS_ONCE(sig->rlim[RLIMIT_RTTIME].rlim_cur); in check_thread_timers()
858 ACCESS_ONCE(sig->rlim[RLIMIT_RTTIME].rlim_max); in check_thread_timers()
875 sig->rlim[RLIMIT_RTTIME].rlim_cur = soft; in check_thread_timers()
885 static void stop_process_timers(struct signal_struct *sig) in stop_process_timers() argument
887 struct thread_group_cputimer *cputimer = &sig->cputimer; in stop_process_timers()
935 struct signal_struct *const sig = tsk->signal; in check_process_timers() local
938 struct list_head *timers = sig->cpu_timers; in check_process_timers()
957 check_cpu_itimer(tsk, &sig->it[CPUCLOCK_PROF], &prof_expires, ptime, in check_process_timers()
959 check_cpu_itimer(tsk, &sig->it[CPUCLOCK_VIRT], &virt_expires, utime, in check_process_timers()
961 soft = ACCESS_ONCE(sig->rlim[RLIMIT_CPU].rlim_cur); in check_process_timers()
965 ACCESS_ONCE(sig->rlim[RLIMIT_CPU].rlim_max); in check_process_timers()
982 sig->rlim[RLIMIT_CPU].rlim_cur = soft; in check_process_timers()
991 sig->cputime_expires.prof_exp = expires_to_cputime(prof_expires); in check_process_timers()
992 sig->cputime_expires.virt_exp = expires_to_cputime(virt_expires); in check_process_timers()
993 sig->cputime_expires.sched_exp = sched_expires; in check_process_timers()
994 if (task_cputime_zero(&sig->cputime_expires)) in check_process_timers()
995 stop_process_timers(sig); in check_process_timers()
1097 struct signal_struct *sig; in fastpath_timer_check() local
1113 sig = tsk->signal; in fastpath_timer_check()
1114 if (sig->cputimer.running) { in fastpath_timer_check()
1117 raw_spin_lock(&sig->cputimer.lock); in fastpath_timer_check()
1118 group_sample = sig->cputimer.cputime; in fastpath_timer_check()
1119 raw_spin_unlock(&sig->cputimer.lock); in fastpath_timer_check()
1121 if (task_cputime_expired(&group_sample, &sig->cputime_expires)) in fastpath_timer_check()