Lines Matching refs:sig

862 	struct signal_struct *const sig = tsk->signal;  in check_thread_timers()  local
886 soft = READ_ONCE(sig->rlim[RLIMIT_RTTIME].rlim_cur); in check_thread_timers()
889 READ_ONCE(sig->rlim[RLIMIT_RTTIME].rlim_max); in check_thread_timers()
906 sig->rlim[RLIMIT_RTTIME].rlim_cur = soft; in check_thread_timers()
916 static inline void stop_process_timers(struct signal_struct *sig) in stop_process_timers() argument
918 struct thread_group_cputimer *cputimer = &sig->cputimer; in stop_process_timers()
964 struct signal_struct *const sig = tsk->signal; in check_process_timers() local
967 struct list_head *timers = sig->cpu_timers; in check_process_timers()
982 sig->cputimer.checking_timer = true; in check_process_timers()
999 check_cpu_itimer(tsk, &sig->it[CPUCLOCK_PROF], &prof_expires, ptime, in check_process_timers()
1001 check_cpu_itimer(tsk, &sig->it[CPUCLOCK_VIRT], &virt_expires, utime, in check_process_timers()
1003 soft = READ_ONCE(sig->rlim[RLIMIT_CPU].rlim_cur); in check_process_timers()
1007 READ_ONCE(sig->rlim[RLIMIT_CPU].rlim_max); in check_process_timers()
1024 sig->rlim[RLIMIT_CPU].rlim_cur = soft; in check_process_timers()
1033 sig->cputime_expires.prof_exp = expires_to_cputime(prof_expires); in check_process_timers()
1034 sig->cputime_expires.virt_exp = expires_to_cputime(virt_expires); in check_process_timers()
1035 sig->cputime_expires.sched_exp = sched_expires; in check_process_timers()
1036 if (task_cputime_zero(&sig->cputime_expires)) in check_process_timers()
1037 stop_process_timers(sig); in check_process_timers()
1039 sig->cputimer.checking_timer = false; in check_process_timers()
1141 struct signal_struct *sig; in fastpath_timer_check() local
1152 sig = tsk->signal; in fastpath_timer_check()
1167 if (READ_ONCE(sig->cputimer.running) && in fastpath_timer_check()
1168 !READ_ONCE(sig->cputimer.checking_timer)) { in fastpath_timer_check()
1171 sample_cputime_atomic(&group_sample, &sig->cputimer.cputime_atomic); in fastpath_timer_check()
1173 if (task_cputime_expired(&group_sample, &sig->cputime_expires)) in fastpath_timer_check()