NSEC_PER_SEC 469 arch/x86/kernel/apic_64.c lapic_clockevent.mult = div_sc(result, NSEC_PER_SEC, NSEC_PER_SEC 238 arch/x86/kernel/hpet.c delta = ((uint64_t)(NSEC_PER_SEC/HZ)) * hpet_clockevent.mult; NSEC_PER_SEC 562 arch/x86/kernel/hpet.c clc = (uint64_t) hpet_clockevent.mult * NSEC_PER_SEC; NSEC_PER_SEC 647 arch/x86/kernel/hpet.c clc = (uint64_t) hpet_clockevent.mult * NSEC_PER_SEC; NSEC_PER_SEC 118 arch/x86/kernel/i8253.c pit_clockevent.mult = div_sc(CLOCK_TICK_RATE, NSEC_PER_SEC, NSEC_PER_SEC 390 arch/x86/kernel/mfgpt_32.c mfgpt_clockevent.mult = div_sc(MFGPT_HZ, NSEC_PER_SEC, NSEC_PER_SEC 135 arch/x86/kernel/pvclock.c delta += now.tv_sec * (u64)NSEC_PER_SEC + now.tv_nsec; NSEC_PER_SEC 137 arch/x86/kernel/pvclock.c now.tv_nsec = do_div(delta, NSEC_PER_SEC); NSEC_PER_SEC 146 arch/x86/kernel/vsyscall_64.c while (nsec >= NSEC_PER_SEC) { NSEC_PER_SEC 148 arch/x86/kernel/vsyscall_64.c nsec -= NSEC_PER_SEC; NSEC_PER_SEC 111 arch/x86/kvm/i8254.c d = muldiv64(t, KVM_PIT_FREQ, NSEC_PER_SEC); NSEC_PER_SEC 141 arch/x86/kvm/i8254.c d = muldiv64(t, KVM_PIT_FREQ, NSEC_PER_SEC); NSEC_PER_SEC 262 arch/x86/kvm/i8254.c interval = muldiv64(val, NSEC_PER_SEC, KVM_PIT_FREQ); NSEC_PER_SEC 596 arch/x86/kvm/x86.c (NSEC_PER_SEC * (u64)ts.tv_sec); NSEC_PER_SEC 60 arch/x86/vdso/vclock_gettime.c while (nsec >= NSEC_PER_SEC) { NSEC_PER_SEC 61 arch/x86/vdso/vclock_gettime.c nsec -= NSEC_PER_SEC; NSEC_PER_SEC 65 arch/x86/vdso/vclock_gettime.c nsec += NSEC_PER_SEC; NSEC_PER_SEC 1697 fs/compat.c rts.tv_nsec = (timeout % HZ) * (NSEC_PER_SEC/HZ); NSEC_PER_SEC 1698 fs/compat.c if (rts.tv_nsec >= NSEC_PER_SEC) { NSEC_PER_SEC 1700 fs/compat.c rts.tv_nsec -= NSEC_PER_SEC; NSEC_PER_SEC 683 fs/ext4/ext4.h return (inode->i_sb->s_time_gran < NSEC_PER_SEC) ? NSEC_PER_SEC 433 fs/proc/array.c (unsigned long long)task->real_start_time.tv_sec * NSEC_PER_SEC NSEC_PER_SEC 119 fs/proc/proc_misc.c (uptime.tv_nsec / (NSEC_PER_SEC / 100)), NSEC_PER_SEC 121 fs/proc/proc_misc.c (idle.tv_nsec / (NSEC_PER_SEC / 100))); NSEC_PER_SEC 450 fs/select.c timeout = DIV_ROUND_UP(ts.tv_nsec, NSEC_PER_SEC/HZ); NSEC_PER_SEC 781 fs/select.c timeout = DIV_ROUND_UP(ts.tv_nsec, NSEC_PER_SEC/HZ); NSEC_PER_SEC 292 fs/ubifs/misc.h return (inode->i_sb->s_time_gran < NSEC_PER_SEC) ? NSEC_PER_SEC 178 include/linux/acct.h #if (TICK_NSEC % (NSEC_PER_SEC / AHZ)) == 0 NSEC_PER_SEC 186 include/linux/acct.h do_div(tmp, (NSEC_PER_SEC / AHZ)); NSEC_PER_SEC 193 include/linux/acct.h #if (NSEC_PER_SEC % AHZ) == 0 NSEC_PER_SEC 194 include/linux/acct.h do_div(x, (NSEC_PER_SEC / AHZ)); NSEC_PER_SEC 197 include/linux/acct.h do_div(x, (NSEC_PER_SEC / 512)); NSEC_PER_SEC 205 include/linux/acct.h do_div(x, (unsigned long)((9ull * NSEC_PER_SEC + (AHZ/2)) NSEC_PER_SEC 247 include/linux/jiffies.h #if !((((NSEC_PER_SEC << 2) / TICK_NSEC) << (SEC_JIFFIE_SC - 2)) & 0x80000000) NSEC_PER_SEC 253 include/linux/jiffies.h #define SEC_CONVERSION ((unsigned long)((((u64)NSEC_PER_SEC << SEC_JIFFIE_SC) +\ NSEC_PER_SEC 276 include/linux/jiffies.h (long)((u64)((u64)MAX_JIFFY_OFFSET * TICK_NSEC) / NSEC_PER_SEC) NSEC_PER_SEC 279 include/linux/jiffies.h (SH_DIV((MAX_JIFFY_OFFSET >> SEC_JIFFIE_SC) * TICK_NSEC, NSEC_PER_SEC, 1) - 1) NSEC_PER_SEC 63 include/linux/ktime.h # define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC) NSEC_PER_SEC 87 include/linux/ktime.h return (ktime_t) { .tv64 = (s64)secs * NSEC_PER_SEC + (s64)nsecs }; NSEC_PER_SEC 169 include/linux/ktime.h res.tv.nsec += NSEC_PER_SEC; NSEC_PER_SEC 194 include/linux/ktime.h if (res.tv.nsec >= NSEC_PER_SEC) NSEC_PER_SEC 195 include/linux/ktime.h res.tv64 += (u32)-NSEC_PER_SEC; NSEC_PER_SEC 275 include/linux/ktime.h return (s64) kt.tv.sec * NSEC_PER_SEC + kt.tv.nsec; NSEC_PER_SEC 124 include/linux/tick.h ktime_t len = { .tv64 = NSEC_PER_SEC/HZ }; NSEC_PER_SEC 92 include/linux/time.h (((ts)->tv_sec >= 0) && (((unsigned long) (ts)->tv_nsec) < NSEC_PER_SEC)) NSEC_PER_SEC 137 include/linux/time.h return ((s64) ts->tv_sec * NSEC_PER_SEC) + ts->tv_nsec; NSEC_PER_SEC 149 include/linux/time.h return ((s64) tv->tv_sec * NSEC_PER_SEC) + NSEC_PER_SEC 179 include/linux/time.h a->tv_sec += __iter_div_u64_rem(a->tv_nsec + ns, NSEC_PER_SEC, &ns); NSEC_PER_SEC 241 include/linux/timex.h #define NTP_INTERVAL_LENGTH (NSEC_PER_SEC/NTP_INTERVAL_FREQ) NSEC_PER_SEC 48 include/net/pkt_sched.h #define PSCHED_TICKS_PER_SEC PSCHED_NS2US(NSEC_PER_SEC) NSEC_PER_SEC 530 ipc/mqueue.c || ts.tv_nsec >= NSEC_PER_SEC)) NSEC_PER_SEC 536 ipc/mqueue.c ts.tv_nsec += NSEC_PER_SEC; NSEC_PER_SEC 511 kernel/acct.c run_time = (u64)uptime.tv_sec*NSEC_PER_SEC + uptime.tv_nsec; NSEC_PER_SEC 512 kernel/acct.c run_time -= (u64)current->group_leader->start_time.tv_sec * NSEC_PER_SEC NSEC_PER_SEC 260 kernel/hrtimer.c if (likely(nsec < NSEC_PER_SEC)) { NSEC_PER_SEC 263 kernel/hrtimer.c unsigned long rem = do_div(nsec, NSEC_PER_SEC); NSEC_PER_SEC 284 kernel/hrtimer.c if (likely(nsec < NSEC_PER_SEC)) { NSEC_PER_SEC 287 kernel/hrtimer.c unsigned long rem = do_div(nsec, NSEC_PER_SEC); NSEC_PER_SEC 40 kernel/posix-cpu-timers.c ret.sched = (unsigned long long)tp->tv_sec * NSEC_PER_SEC + tp->tv_nsec; NSEC_PER_SEC 171 kernel/posix-cpu-timers.c tp->tv_nsec = ((NSEC_PER_SEC + HZ - 1) / HZ); NSEC_PER_SEC 389 kernel/posix-timers.c ktime_t kj = ktime_set(0, NSEC_PER_SEC / HZ); NSEC_PER_SEC 186 kernel/power/process.c do_div(elapsed_csecs64, NSEC_PER_SEC / 100); NSEC_PER_SEC 185 kernel/power/swsusp.c do_div(elapsed_centisecs64, NSEC_PER_SEC / 100); NSEC_PER_SEC 101 kernel/sched.c #define NS_TO_JIFFIES(TIME) ((unsigned long)(TIME) / (NSEC_PER_SEC / HZ)) NSEC_PER_SEC 40 kernel/sched_clock.c return (unsigned long long)jiffies * (NSEC_PER_SEC / HZ); NSEC_PER_SEC 229 kernel/sysctl.c static int max_sched_granularity_ns = NSEC_PER_SEC; /* 1 second */ NSEC_PER_SEC 231 kernel/sysctl.c static int max_wakeup_granularity_ns = NSEC_PER_SEC; /* 1 second */ NSEC_PER_SEC 373 kernel/time.c while (nsec >= NSEC_PER_SEC) { NSEC_PER_SEC 374 kernel/time.c nsec -= NSEC_PER_SEC; NSEC_PER_SEC 378 kernel/time.c nsec += NSEC_PER_SEC; NSEC_PER_SEC 400 kernel/time.c ts.tv_sec = div_s64_rem(nsec, NSEC_PER_SEC, &rem); NSEC_PER_SEC 403 kernel/time.c rem += NSEC_PER_SEC; NSEC_PER_SEC 537 kernel/time.c NSEC_PER_SEC, &rem); NSEC_PER_SEC 579 kernel/time.c NSEC_PER_SEC, &rem); NSEC_PER_SEC 589 kernel/time.c #if (TICK_NSEC % (NSEC_PER_SEC / USER_HZ)) == 0 NSEC_PER_SEC 596 kernel/time.c return div_u64((u64)x * TICK_NSEC, NSEC_PER_SEC / USER_HZ); NSEC_PER_SEC 620 kernel/time.c #if (TICK_NSEC % (NSEC_PER_SEC / USER_HZ)) == 0 NSEC_PER_SEC 634 kernel/time.c x = div_u64(x * TICK_NSEC, (NSEC_PER_SEC / USER_HZ)); NSEC_PER_SEC 642 kernel/time.c #if (NSEC_PER_SEC % USER_HZ) == 0 NSEC_PER_SEC 643 kernel/time.c return div_u64(x, NSEC_PER_SEC / USER_HZ); NSEC_PER_SEC 645 kernel/time.c return div_u64(x * USER_HZ / 512, NSEC_PER_SEC / 512); NSEC_PER_SEC 652 kernel/time.c return div_u64(x * 9, (9ull * NSEC_PER_SEC + (USER_HZ / 2)) / USER_HZ); NSEC_PER_SEC 83 kernel/time/clocksource.c #define WATCHDOG_THRESHOLD (NSEC_PER_SEC >> 4) NSEC_PER_SEC 37 kernel/time/jiffies.c #define NSEC_PER_JIFFY ((u32)((((u64)NSEC_PER_SEC)<<8)/ACTHZ)) NSEC_PER_SEC 146 kernel/time/ntp.c NSEC_PER_SEC); NSEC_PER_SEC 245 kernel/time/ntp.c if (abs(now.tv_nsec - (NSEC_PER_SEC / 2)) <= tick_nsec / 2) NSEC_PER_SEC 248 kernel/time/ntp.c next.tv_nsec = (NSEC_PER_SEC / 2) - now.tv_nsec - (TICK_NSEC / 2); NSEC_PER_SEC 250 kernel/time/ntp.c next.tv_nsec += NSEC_PER_SEC; NSEC_PER_SEC 257 kernel/time/ntp.c if (next.tv_nsec >= NSEC_PER_SEC) { NSEC_PER_SEC 259 kernel/time/ntp.c next.tv_nsec -= NSEC_PER_SEC; NSEC_PER_SEC 155 kernel/time/tick-common.c tick_period = ktime_set(0, NSEC_PER_SEC / HZ); NSEC_PER_SEC 136 kernel/time/timekeeping.c if ((unsigned long)tv->tv_nsec >= NSEC_PER_SEC) NSEC_PER_SEC 468 kernel/time/timekeeping.c if (clock->xtime_nsec >= (u64)NSEC_PER_SEC << clock->shift) { NSEC_PER_SEC 469 kernel/time/timekeeping.c clock->xtime_nsec -= (u64)NSEC_PER_SEC << clock->shift; NSEC_PER_SEC 1288 kernel/timer.c if (tp.tv_nsec - NSEC_PER_SEC >= 0) { NSEC_PER_SEC 1289 kernel/timer.c tp.tv_nsec = tp.tv_nsec - NSEC_PER_SEC; NSEC_PER_SEC 176 net/netfilter/xt_time.c stamp = div_s64(stamp, NSEC_PER_SEC); NSEC_PER_SEC 1682 net/sched/sch_api.c (u32)NSEC_PER_SEC/(u32)ktime_to_ns(timespec_to_ktime(ts)));