Home
last modified time | relevance | path

Searched refs:gran (Results 1 – 2 of 2) sorted by relevance

/kernel/
Dtime.c287 struct timespec timespec_trunc(struct timespec t, unsigned gran) in timespec_trunc() argument
294 if (gran <= jiffies_to_usecs(1) * 1000) { in timespec_trunc()
296 } else if (gran == 1000000000) { in timespec_trunc()
299 t.tv_nsec -= t.tv_nsec % gran; in timespec_trunc()
Dsched_fair.c1319 unsigned long gran = sysctl_sched_wakeup_granularity; in wakeup_gran() local
1326 gran = calc_delta_fair(sysctl_sched_wakeup_granularity, se); in wakeup_gran()
1328 return gran; in wakeup_gran()
1348 s64 gran, vdiff = curr->vruntime - se->vruntime; in wakeup_preempt_entity() local
1353 gran = wakeup_gran(curr); in wakeup_preempt_entity()
1354 if (vdiff > gran) in wakeup_preempt_entity()