Searched refs:soft (Results 1 – 3 of 3) sorted by relevance
/kernel/time/ |
D | posix-cpu-timers.c | 842 unsigned long soft; in check_thread_timers() local 856 soft = READ_ONCE(sig->rlim[RLIMIT_RTTIME].rlim_cur); in check_thread_timers() 857 if (soft != RLIM_INFINITY) { in check_thread_timers() 870 if (tsk->rt.timeout > DIV_ROUND_UP(soft, USEC_PER_SEC/HZ)) { in check_thread_timers() 874 if (soft < hard) { in check_thread_timers() 875 soft += USEC_PER_SEC; in check_thread_timers() 876 sig->rlim[RLIMIT_RTTIME].rlim_cur = soft; in check_thread_timers() 941 unsigned long soft; in check_process_timers() local 962 soft = READ_ONCE(sig->rlim[RLIMIT_CPU].rlim_cur); in check_process_timers() 963 if (soft != RLIM_INFINITY) { in check_process_timers() [all …]
|
/kernel/sched/ |
D | rt.c | 2132 unsigned long soft, hard; in watchdog() local 2135 soft = task_rlimit(p, RLIMIT_RTTIME); in watchdog() 2138 if (soft != RLIM_INFINITY) { in watchdog() 2146 next = DIV_ROUND_UP(min(soft, hard), USEC_PER_SEC/HZ); in watchdog()
|
D | core.c | 97 ktime_t soft, hard, now; in start_bandwidth_timer() local 106 soft = hrtimer_get_softexpires(period_timer); in start_bandwidth_timer() 108 delta = ktime_to_ns(ktime_sub(hard, soft)); in start_bandwidth_timer() 109 __hrtimer_start_range_ns(period_timer, soft, delta, in start_bandwidth_timer()
|