Lines Matching refs:NSEC_PER_SEC
210 #if !((((NSEC_PER_SEC << 2) / TICK_NSEC) << (SEC_JIFFIE_SC - 2)) & 0x80000000)
216 #define SEC_CONVERSION ((unsigned long)((((u64)NSEC_PER_SEC << SEC_JIFFIE_SC) +\
239 (long)((u64)((u64)MAX_JIFFY_OFFSET * TICK_NSEC) / NSEC_PER_SEC)
242 (SH_DIV((MAX_JIFFY_OFFSET >> SEC_JIFFIE_SC) * TICK_NSEC, NSEC_PER_SEC, 1) - 1)
335 value->tv_sec = div_long_long_rem(nsec, NSEC_PER_SEC, &value->tv_nsec); in jiffies_to_timespec()
375 value->tv_sec = div_long_long_rem(nsec, NSEC_PER_SEC, &tv_usec); in jiffies_to_timeval()
385 #if (TICK_NSEC % (NSEC_PER_SEC / USER_HZ)) == 0 in jiffies_to_clock_t()
389 do_div(tmp, (NSEC_PER_SEC / USER_HZ)); in jiffies_to_clock_t()
416 #if (TICK_NSEC % (NSEC_PER_SEC / USER_HZ)) == 0 in jiffies_64_to_clock_t()
425 do_div(x, (NSEC_PER_SEC / USER_HZ)); in jiffies_64_to_clock_t()
432 #if (NSEC_PER_SEC % USER_HZ) == 0 in nsec_to_clock_t()
433 do_div(x, (NSEC_PER_SEC / USER_HZ)); in nsec_to_clock_t()
436 do_div(x, (NSEC_PER_SEC / 512)); in nsec_to_clock_t()
444 do_div(x, (unsigned long)((9ull * NSEC_PER_SEC + (USER_HZ/2)) in nsec_to_clock_t()