Lines Matching refs:soft
914 unsigned long soft;
963 soft = ACCESS_ONCE(sig->rlim[RLIMIT_RTTIME].rlim_cur);
964 if (soft != RLIM_INFINITY) {
977 if (tsk->rt.timeout > DIV_ROUND_UP(soft, USEC_PER_SEC/HZ)) {
979 * At the soft limit, send a SIGXCPU every second.
981 if (soft < hard) {
982 soft += USEC_PER_SEC;
983 sig->rlim[RLIMIT_RTTIME].rlim_cur = soft;
1068 unsigned long soft;
1128 soft = ACCESS_ONCE(sig->rlim[RLIMIT_CPU].rlim_cur);
1129 if (soft != RLIM_INFINITY) {
1142 if (psecs >= soft) {
1144 * At the soft limit, send a SIGXCPU every second.
1147 if (soft < hard) {
1148 soft++;
1149 sig->rlim[RLIMIT_CPU].rlim_cur = soft;
1152 x = secs_to_cputime(soft);