/linux-4.4.14/include/asm-generic/ |
D | cputime_nsecs.h | 36 cputime_div(__ct, NSEC_PER_SEC / HZ) 39 (__force cputime_t)((__jif) * (NSEC_PER_SEC / HZ)) 41 cputime_div(__ct, NSEC_PER_SEC / HZ) 43 (__force cputime64_t)((__jif) * (NSEC_PER_SEC / HZ)) 69 cputime_div(__ct, NSEC_PER_SEC) 71 (__force cputime_t)((__secs) * NSEC_PER_SEC) 78 u64 ret = (u64)val->tv_sec * NSEC_PER_SEC + val->tv_nsec; in timespec_to_cputime() 85 val->tv_sec = cputime_div_rem(ct, NSEC_PER_SEC, &rem); in cputime_to_timespec() 94 u64 ret = (u64)val->tv_sec * NSEC_PER_SEC + in timeval_to_cputime() 102 val->tv_sec = cputime_div_rem(ct, NSEC_PER_SEC, &rem); in cputime_to_timeval() [all …]
|
/linux-4.4.14/kernel/time/ |
D | time.c | 302 } else if (gran == NSEC_PER_SEC) { in timespec_trunc() 304 } else if (gran > 1 && gran < NSEC_PER_SEC) { in timespec_trunc() 363 while (nsec >= NSEC_PER_SEC) { in set_normalized_timespec() 370 nsec -= NSEC_PER_SEC; in set_normalized_timespec() 375 nsec += NSEC_PER_SEC; in set_normalized_timespec() 397 ts.tv_sec = div_s64_rem(nsec, NSEC_PER_SEC, &rem); in ns_to_timespec() 400 rem += NSEC_PER_SEC; in ns_to_timespec() 443 while (nsec >= NSEC_PER_SEC) { in set_normalized_timespec64() 450 nsec -= NSEC_PER_SEC; in set_normalized_timespec64() 455 nsec += NSEC_PER_SEC; in set_normalized_timespec64() [all …]
|
D | jiffies.c | 40 #define NSEC_PER_JIFFY ((NSEC_PER_SEC+HZ/2)/HZ) 128 nsec_per_tick = (u64)NSEC_PER_SEC << 8; in register_refined_jiffies()
|
D | ntp.c | 532 if (abs(now.tv_nsec - (NSEC_PER_SEC / 2)) <= tick_nsec * 5) { in sync_cmos_clock() 548 next.tv_nsec = (NSEC_PER_SEC / 2) - now.tv_nsec - (TICK_NSEC / 2); in sync_cmos_clock() 550 next.tv_nsec += NSEC_PER_SEC; in sync_cmos_clock() 557 if (next.tv_nsec >= NSEC_PER_SEC) { in sync_cmos_clock() 559 next.tv_nsec -= NSEC_PER_SEC; in sync_cmos_clock() 789 if (norm.nsec > (NSEC_PER_SEC >> 1)) { in pps_normalize_ts() 790 norm.nsec -= NSEC_PER_SEC; in pps_normalize_ts()
|
D | sched_clock.c | 86 .read_data[0] = { .mult = NSEC_PER_SEC / HZ, 182 clocks_calc_mult_shift(&new_mult, &new_shift, rate, NSEC_PER_SEC, 3600); in sched_clock_register()
|
D | timekeeping.c | 69 while (tk->tkr_mono.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_mono.shift)) { in tk_normalize_xtime() 70 tk->tkr_mono.xtime_nsec -= (u64)NSEC_PER_SEC << tk->tkr_mono.shift; in tk_normalize_xtime() 544 tk->tkr_mono.base = ns_to_ktime(seconds * NSEC_PER_SEC + nsec); in tk_update_ktime_data() 555 if (nsec >= NSEC_PER_SEC) in tk_update_ktime_data() 961 if ((unsigned long)ts->tv_nsec >= NSEC_PER_SEC) in timekeeping_inject_offset() 1683 u64 nsecps = (u64)NSEC_PER_SEC << tk->tkr_mono.shift; in accumulate_nsecs_to_secs() 1743 if (raw_nsecs >= NSEC_PER_SEC) { in logarithmic_accumulation() 1745 raw_nsecs = do_div(raw_secs, NSEC_PER_SEC); in logarithmic_accumulation()
|
D | tick-common.c | 198 tick_period = ktime_set(0, NSEC_PER_SEC / HZ); in tick_setup_device()
|
D | clocksource.c | 128 #define WATCHDOG_THRESHOLD (NSEC_PER_SEC >> 4) 688 NSEC_PER_SEC / scale, sec * scale); in __clocksource_update_freq_scale()
|
D | clockevents.c | 202 #define MIN_DELTA_LIMIT (NSEC_PER_SEC / HZ)
|
D | posix-cpu-timers.c | 61 ret = (unsigned long long)tp->tv_sec * NSEC_PER_SEC + tp->tv_nsec; in timespec_to_sample() 149 tp->tv_nsec = ((NSEC_PER_SEC + HZ - 1) / HZ); in posix_cpu_clock_getres()
|
D | alarmtimer.c | 257 if (ktime_to_ns(min) < 2 * NSEC_PER_SEC) { in alarmtimer_suspend()
|
D | tick-sched.c | 748 ts->sleep_length = (ktime_t) { .tv64 = NSEC_PER_SEC/HZ }; in can_stop_idle_tick()
|
D | posix-timers.c | 488 ktime_t kj = ktime_set(0, NSEC_PER_SEC / HZ); in posix_timer_fn()
|
/linux-4.4.14/include/linux/ |
D | acct.h | 72 #if (TICK_NSEC % (NSEC_PER_SEC / AHZ)) == 0 in jiffies_to_AHZ() 80 do_div(tmp, (NSEC_PER_SEC / AHZ)); in jiffies_to_AHZ() 87 #if (NSEC_PER_SEC % AHZ) == 0 in nsec_to_AHZ() 88 do_div(x, (NSEC_PER_SEC / AHZ)); in nsec_to_AHZ() 91 do_div(x, (NSEC_PER_SEC / 512)); in nsec_to_AHZ() 99 do_div(x, (unsigned long)((9ull * NSEC_PER_SEC + (AHZ/2)) in nsec_to_AHZ()
|
D | time64.h | 35 #define NSEC_PER_SEC 1000000000L macro 41 #define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC) 176 if ((unsigned long)ts->tv_nsec >= NSEC_PER_SEC) in timespec64_valid() 200 return ((s64) ts->tv_sec * NSEC_PER_SEC) + ts->tv_nsec; in timespec64_to_ns() 221 a->tv_sec += __iter_div_u64_rem(a->tv_nsec + ns, NSEC_PER_SEC, &ns); in timespec64_add_ns()
|
D | time.h | 98 if ((unsigned long)ts->tv_nsec >= NSEC_PER_SEC) in timespec_valid() 193 return ((s64) ts->tv_sec * NSEC_PER_SEC) + ts->tv_nsec; in timespec_to_ns() 205 return ((s64) tv->tv_sec * NSEC_PER_SEC) + in timeval_to_ns() 235 a->tv_sec += __iter_div_u64_rem(a->tv_nsec + ns, NSEC_PER_SEC, &ns); in timespec_add_ns()
|
D | jiffies.h | 61 #define TICK_NSEC ((NSEC_PER_SEC+HZ/2)/HZ) 257 #if !((((NSEC_PER_SEC << 2) / TICK_NSEC) << (SEC_JIFFIE_SC - 2)) & 0x80000000) 262 #define SEC_CONVERSION ((unsigned long)((((u64)NSEC_PER_SEC << SEC_JIFFIE_SC) +\ 274 (long)((u64)((u64)MAX_JIFFY_OFFSET * TICK_NSEC) / NSEC_PER_SEC) 277 (SH_DIV((MAX_JIFFY_OFFSET >> SEC_JIFFIE_SC) * TICK_NSEC, NSEC_PER_SEC, 1) - 1)
|
D | timex.h | 152 #define NTP_INTERVAL_LENGTH (NSEC_PER_SEC/NTP_INTERVAL_FREQ)
|
D | clockchips.h | 195 return clocks_calc_mult_shift(&ce->mult, &ce->shift, NSEC_PER_SEC, freq, minsec); in clockevents_calc_mult_shift()
|
D | tick.h | 115 ktime_t len = { .tv64 = NSEC_PER_SEC/HZ }; in tick_nohz_get_sleep_length()
|
D | ktime.h | 55 return (ktime_t) { .tv64 = secs * NSEC_PER_SEC + (s64)nsecs }; in ktime_set()
|
/linux-4.4.14/tools/testing/selftests/timers/ |
D | nsleep-lat.c | 40 #define NSEC_PER_SEC 1000000000ULL macro 93 while (ts.tv_nsec >= NSEC_PER_SEC) { in timespec_add() 94 ts.tv_nsec -= NSEC_PER_SEC; in timespec_add() 103 long long ret = NSEC_PER_SEC * b.tv_sec + b.tv_nsec; in timespec_sub() 105 ret -= NSEC_PER_SEC * a.tv_sec + a.tv_nsec; in timespec_sub() 115 target.tv_sec = ns/NSEC_PER_SEC; in nanosleep_lat_test() 116 target.tv_nsec = ns%NSEC_PER_SEC; in nanosleep_lat_test() 171 while (length <= (NSEC_PER_SEC * 10)) { in main()
|
D | mqueue-lat.c | 45 #define NSEC_PER_SEC 1000000000ULL macro 53 long long ret = NSEC_PER_SEC * b.tv_sec + b.tv_nsec; in timespec_sub() 55 ret -= NSEC_PER_SEC * a.tv_sec + a.tv_nsec; in timespec_sub() 62 while (ts.tv_nsec >= NSEC_PER_SEC) { in timespec_add() 63 ts.tv_nsec -= NSEC_PER_SEC; in timespec_add()
|
D | alarmtimer-suspend.c | 59 #define NSEC_PER_SEC 1000000000ULL macro 60 #define UNREASONABLE_LAT (NSEC_PER_SEC * 5) /* hopefully we resume in 5 secs */ 100 long long ret = NSEC_PER_SEC * b.tv_sec + b.tv_nsec; in timespec_sub() 102 ret -= NSEC_PER_SEC * a.tv_sec + a.tv_nsec; in timespec_sub() 117 delta_ns -= NSEC_PER_SEC * SUSPEND_SECS * alarmcount; in sigalarm()
|
D | raw_skew.c | 43 #define NSEC_PER_SEC 1000000000LL macro 60 return ts.tv_sec * NSEC_PER_SEC + ts.tv_nsec; in ts_to_nsec() 67 ts.tv_sec = ns/NSEC_PER_SEC; in nsec_to_ts() 68 ts.tv_nsec = ns%NSEC_PER_SEC; in nsec_to_ts() 138 eppm = ((delta2-delta1)*NSEC_PER_SEC)/interval; in main()
|
D | nanosleep.c | 43 #define NSEC_PER_SEC 1000000000ULL macro 105 while (ts.tv_nsec >= NSEC_PER_SEC) { in timespec_add() 106 ts.tv_nsec -= NSEC_PER_SEC; in timespec_add() 158 while (length <= (NSEC_PER_SEC * 10)) { in main()
|
D | set-timer-lat.c | 58 #define NSEC_PER_SEC 1000000000ULL macro 99 long long ret = NSEC_PER_SEC * b.tv_sec + b.tv_nsec; in timespec_sub() 101 ret -= NSEC_PER_SEC * a.tv_sec + a.tv_nsec; in timespec_sub() 115 delta_ns -= NSEC_PER_SEC * TIMER_SECS * alarmcount; in sigalarm()
|
D | adjtick.c | 41 #define NSEC_PER_SEC 1000000000LL macro 57 return ts.tv_sec * NSEC_PER_SEC + ts.tv_nsec; in ts_to_nsec() 64 ts.tv_sec = ns/NSEC_PER_SEC; in nsec_to_ts() 65 ts.tv_nsec = ns%NSEC_PER_SEC; in nsec_to_ts()
|
D | leap-a-day.c | 64 #define NSEC_PER_SEC 1000000000ULL macro 85 while (ts.tv_nsec >= NSEC_PER_SEC) { in timespec_add() 86 ts.tv_nsec -= NSEC_PER_SEC; in timespec_add() 176 target = timespec_add(now, NSEC_PER_SEC/2); in test_hrtimer_failure() 366 ts.tv_nsec = NSEC_PER_SEC / 2; in main()
|
D | inconsistency-check.c | 45 #define NSEC_PER_SEC 1000000000ULL macro 145 delta = list[inconsistent].tv_sec * NSEC_PER_SEC; in consistency_test() 147 delta -= list[inconsistent+1].tv_sec * NSEC_PER_SEC; in consistency_test()
|
D | set-2038.c | 43 #define NSEC_PER_SEC 1000000000LL macro 46 #define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC)
|
D | skew_consistency.c | 51 #define NSEC_PER_SEC 1000000000LL macro
|
D | change_skew.c | 44 #define NSEC_PER_SEC 1000000000LL macro
|
D | valid-adjtimex.c | 48 #define NSEC_PER_SEC 1000000000L macro
|
/linux-4.4.14/arch/x86/entry/vsyscall/ |
D | vsyscall_gtod.c | 49 (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) { in update_vsyscall() 51 ((u64)NSEC_PER_SEC) << tk->tkr_mono.shift; in update_vsyscall() 64 while (vdata->monotonic_time_coarse_nsec >= NSEC_PER_SEC) { in update_vsyscall() 65 vdata->monotonic_time_coarse_nsec -= NSEC_PER_SEC; in update_vsyscall()
|
/linux-4.4.14/fs/proc/ |
D | uptime.c | 25 idle.tv_sec = div_u64_rem(nsec, NSEC_PER_SEC, &rem); in uptime_proc_show() 29 (uptime.tv_nsec / (NSEC_PER_SEC / 100)), in uptime_proc_show() 31 (idle.tv_nsec / (NSEC_PER_SEC / 100))); in uptime_proc_show()
|
/linux-4.4.14/drivers/md/bcache/ |
D | util.c | 212 d->next += div_u64(done * NSEC_PER_SEC, d->rate); in bch_next_delay() 214 if (time_before64(now + NSEC_PER_SEC, d->next)) in bch_next_delay() 215 d->next = now + NSEC_PER_SEC; in bch_next_delay() 217 if (time_after64(now - NSEC_PER_SEC * 2, d->next)) in bch_next_delay() 218 d->next = now - NSEC_PER_SEC * 2; in bch_next_delay() 221 ? div_u64(d->next - now, NSEC_PER_SEC / HZ) in bch_next_delay()
|
D | util.h | 400 #define NSEC_PER_sec NSEC_PER_SEC
|
/linux-4.4.14/arch/um/kernel/ |
D | time.c | 114 err = clocksource_register_hz(&timer_clocksource, NSEC_PER_SEC/TIMER_MULTIPLIER); in timer_setup() 126 set_normalized_timespec(ts, nsecs / NSEC_PER_SEC, in read_persistent_clock() 127 nsecs % NSEC_PER_SEC); in read_persistent_clock()
|
/linux-4.4.14/include/linux/mfd/syscon/ |
D | atmel-smc.h | 87 u32 clk_period = DIV_ROUND_UP(NSEC_PER_SEC, clk_rate); in at91sam9_smc_setup_ns_to_cycles() 117 u32 clk_period = DIV_ROUND_UP(NSEC_PER_SEC, clk_rate); in at91sam9_smc_pulse_ns_to_cycles() 147 u32 clk_period = DIV_ROUND_UP(NSEC_PER_SEC, clk_rate); in at91sam9_smc_cycle_ns_to_cycles()
|
/linux-4.4.14/drivers/clk/ |
D | clk-pwm.c | 80 clk_pwm->fixed_rate = NSEC_PER_SEC / pwm->period; in clk_pwm_probe() 82 if (pwm->period != NSEC_PER_SEC / clk_pwm->fixed_rate && in clk_pwm_probe() 83 pwm->period != DIV_ROUND_UP(NSEC_PER_SEC, clk_pwm->fixed_rate)) { in clk_pwm_probe()
|
/linux-4.4.14/drivers/pps/generators/ |
D | pps_gen_parport.c | 94 lim = NSEC_PER_SEC - send_delay - dev->port_write_time; in hrtimer_event() 114 lim = NSEC_PER_SEC - dev->port_write_time; in hrtimer_event() 148 NSEC_PER_SEC - (send_delay + in hrtimer_event() 189 NSEC_PER_SEC - (send_delay + in next_intr_time()
|
/linux-4.4.14/arch/tile/kernel/ |
D | time.c | 281 (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) { in update_vsyscall() 283 ((u64)NSEC_PER_SEC) << tk->tkr_mono.shift; in update_vsyscall() 296 while (vdso_data->monotonic_time_coarse_nsec >= NSEC_PER_SEC) { in update_vsyscall() 297 vdso_data->monotonic_time_coarse_nsec -= NSEC_PER_SEC; in update_vsyscall()
|
/linux-4.4.14/arch/um/include/shared/ |
D | common-offsets.h | 8 DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC); 27 DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC);
|
/linux-4.4.14/tools/perf/ |
D | perf.h | 17 #ifndef NSEC_PER_SEC 18 # define NSEC_PER_SEC 1000000000ULL macro
|
/linux-4.4.14/drivers/pps/ |
D | kapi.c | 44 while (ts->nsec >= NSEC_PER_SEC) { in pps_add_offset() 45 ts->nsec -= NSEC_PER_SEC; in pps_add_offset() 49 ts->nsec += NSEC_PER_SEC; in pps_add_offset()
|
D | pps.c | 168 ticks += fdata.timeout.nsec / (NSEC_PER_SEC / HZ); in pps_cdev_ioctl()
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 99 #define PPS_OUPUT_RELOAD_PERIOD NSEC_PER_SEC 170 val = NSEC_PER_SEC - (u32)ts.tv_nsec + tempval; in fec_ptp_enable_pps() 183 val += NSEC_PER_SEC; in fec_ptp_enable_pps() 326 lhs = NSEC_PER_SEC; in fec_ptp_adjfreq() 334 lhs += NSEC_PER_SEC; in fec_ptp_adjfreq() 582 fep->ptp_inc = NSEC_PER_SEC / fep->cycle_speed; in fec_ptp_init()
|
/linux-4.4.14/arch/x86/kernel/ |
D | pvclock.c | 136 delta += now.tv_sec * (u64)NSEC_PER_SEC + now.tv_nsec; in pvclock_read_wallclock() 138 now.tv_nsec = do_div(delta, NSEC_PER_SEC); in pvclock_read_wallclock()
|
D | kvmclock.c | 300 clocksource_register_hz(&kvm_clock, NSEC_PER_SEC); in kvmclock_init()
|
D | hpet.c | 300 delta = ((uint64_t)(NSEC_PER_SEC / HZ)) * evt->mult; in hpet_set_periodic() 1095 clc = (uint64_t) hpet_clockevent.mult * NSEC_PER_SEC; in hpet_rtc_timer_init() 1190 clc = (uint64_t) hpet_clockevent.mult * NSEC_PER_SEC; in hpet_set_periodic_freq()
|
/linux-4.4.14/drivers/pwm/ |
D | pwm-img.c | 103 output_clk_hz = DIV_ROUND_UP(NSEC_PER_SEC, period_ns); in img_pwm_config() 242 val = (u64)NSEC_PER_SEC * 512 * pwm->data->max_timebase; in img_pwm_probe() 246 val = (u64)NSEC_PER_SEC * MIN_TMBASE_STEPS; in img_pwm_probe()
|
D | pwm-lpc18xx-sct.c | 154 do_div(val, NSEC_PER_SEC); in lpc18xx_pwm_config_period() 173 do_div(val, NSEC_PER_SEC); in lpc18xx_pwm_config_duty() 367 val = (u64)NSEC_PER_SEC * LPC18XX_PWM_TIMER_MAX; in lpc18xx_pwm_probe() 371 lpc18xx_pwm->min_period_ns = DIV_ROUND_UP(NSEC_PER_SEC, in lpc18xx_pwm_probe()
|
D | pwm-tiecap.c | 73 if (period_ns > NSEC_PER_SEC) in ecap_pwm_config() 78 do_div(c, NSEC_PER_SEC); in ecap_pwm_config() 87 do_div(c, NSEC_PER_SEC); in ecap_pwm_config()
|
D | pwm-sun4i.c | 118 div = clk_rate * period_ns + NSEC_PER_SEC / 2; in sun4i_pwm_config() 119 do_div(div, NSEC_PER_SEC); in sun4i_pwm_config() 132 do_div(div, NSEC_PER_SEC); in sun4i_pwm_config()
|
D | pwm-mtk-disp.c | 86 clk_div = div_u64(rate * period_ns, NSEC_PER_SEC) >> in mtk_disp_pwm_config() 91 div = NSEC_PER_SEC * (clk_div + 1); in mtk_disp_pwm_config()
|
D | pwm-atmel-hlcdc.c | 70 clk_period_ns = (u64)NSEC_PER_SEC * 256; in atmel_hlcdc_pwm_config() 82 clk_period_ns = (u64)NSEC_PER_SEC * 256; in atmel_hlcdc_pwm_config()
|
D | pwm-rcar.c | 81 max = (unsigned long long)NSEC_PER_SEC * RCAR_PWM_MAX_CYCLE * in rcar_pwm_get_clock_division() 115 one_cycle = (unsigned long long)NSEC_PER_SEC * 100ULL * (1 << div); in rcar_pwm_set_counter()
|
D | pwm-rockchip.c | 117 do_div(div, pc->data->prescaler * NSEC_PER_SEC); in rockchip_pwm_config() 121 do_div(div, pc->data->prescaler * NSEC_PER_SEC); in rockchip_pwm_config()
|
D | pwm-brcmstb.c | 136 do_div(tmp, NSEC_PER_SEC); in brcmstb_pwm_config() 140 do_div(tmp, NSEC_PER_SEC); in brcmstb_pwm_config()
|
D | pwm-crc.c | 83 clk_div = PWM_BASE_CLK * period_ns / NSEC_PER_SEC; in crc_pwm_config()
|
D | pwm-tiehrpwm.c | 245 if (period_ns > NSEC_PER_SEC) in ehrpwm_pwm_config() 250 do_div(c, NSEC_PER_SEC); in ehrpwm_pwm_config() 259 do_div(c, NSEC_PER_SEC); in ehrpwm_pwm_config()
|
D | pwm-samsung.c | 303 if (period_ns > NSEC_PER_SEC) in pwm_samsung_config() 320 period = NSEC_PER_SEC / period_ns; in pwm_samsung_config() 329 tin_ns = NSEC_PER_SEC / tin_rate; in pwm_samsung_config()
|
D | pwm-renesas-tpu.c | 273 / (NSEC_PER_SEC / period_ns); in tpu_pwm_config() 285 / (NSEC_PER_SEC / duty_ns); in tpu_pwm_config()
|
D | pwm-bfin.c | 73 do_div(val, NSEC_PER_SEC); in bfin_pwm_config()
|
D | pwm-atmel-tcb.c | 296 min = div_u64((u64)NSEC_PER_SEC * atmel_tc_divisors[i], rate); in atmel_tcb_pwm_config() 309 min = div_u64(NSEC_PER_SEC, rate); in atmel_tcb_pwm_config()
|
D | pwm-lpc32xx.c | 44 do_div(c, NSEC_PER_SEC); in lpc32xx_pwm_config()
|
D | pwm-clps711x.c | 63 pwm_set_period(pwm, DIV_ROUND_CLOSEST(NSEC_PER_SEC, freq)); in clps711x_pwm_request()
|
D | pwm-tegra.c | 90 hz = NSEC_PER_SEC / period_ns; in tegra_pwm_config()
|
D | pwm-bcm2835.c | 159 pc->scaler = NSEC_PER_SEC / clk_get_rate(pc->clk); in bcm2835_pwm_probe()
|
D | pwm-berlin.c | 68 do_div(cycles, NSEC_PER_SEC); in berlin_pwm_config()
|
D | pwm-sti.c | 91 val = NSEC_PER_SEC / pc->clk_rate; in sti_pwm_get_prescale()
|
D | pwm-atmel.c | 124 do_div(div, NSEC_PER_SEC); in atmel_pwm_config()
|
/linux-4.4.14/arch/x86/platform/uv/ |
D | uv_time.c | 389 NSEC_PER_SEC, clock_event_device_uv.shift); in uv_rtc_setup_clock() 391 clock_event_device_uv.min_delta_ns = NSEC_PER_SEC / in uv_rtc_setup_clock() 395 (NSEC_PER_SEC / sn_rtc_cycles_per_second); in uv_rtc_setup_clock()
|
D | tlb_uv.c | 473 return ns_2_cycles(sec * NSEC_PER_SEC); in sec_2_cycles()
|
/linux-4.4.14/arch/ia64/kernel/ |
D | time.c | 279 local_cpu_data->nsec_per_cyc = ((NSEC_PER_SEC<<IA64_NSEC_PER_CYC_SHIFT) in ia64_init_itm() 420 while (fsyscall_gtod_data.monotonic_time.tv_nsec >= NSEC_PER_SEC) { in update_vsyscall_old() 421 fsyscall_gtod_data.monotonic_time.tv_nsec -= NSEC_PER_SEC; in update_vsyscall_old()
|
/linux-4.4.14/arch/cris/kernel/ |
D | time.c | 60 return (unsigned long long)jiffies * (NSEC_PER_SEC / HZ) + in sched_clock()
|
/linux-4.4.14/arch/tile/kernel/vdso/ |
D | vgettimeofday.c | 77 ts->tv_sec += __iter_div_u64_rem(ns, NSEC_PER_SEC, &ns); in do_realtime() 96 ts->tv_sec += __iter_div_u64_rem(ns, NSEC_PER_SEC, &ns); in do_monotonic()
|
/linux-4.4.14/drivers/rtc/ |
D | systohc.c | 29 if (now.tv_nsec < (NSEC_PER_SEC >> 1)) in rtc_set_ntp_time()
|
D | hctosys.c | 32 .tv_nsec = NSEC_PER_SEC >> 1, in rtc_hctosys()
|
D | interface.c | 549 period = ktime_set(0, NSEC_PER_SEC/rtc->irq_freq); in rtc_pie_update_irq() 660 ktime_t period = ktime_set(0, NSEC_PER_SEC / rtc->irq_freq); in rtc_update_hrtimer()
|
/linux-4.4.14/arch/c6x/kernel/ |
D | time.c | 54 u64 tmp = (u64)NSEC_PER_SEC << SCHED_CLOCK_SHIFT; in time_init()
|
/linux-4.4.14/arch/microblaze/kernel/ |
D | timer.c | 176 div_sc(timer_clock_freq, NSEC_PER_SEC, in xilinx_clockevent_init() 214 xilinx_cc.mult = div_sc(timer_clock_freq, NSEC_PER_SEC, in init_xilinx_timecounter()
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | time.c | 80 __muldiv64u(NSEC_PER_SEC, 1 << 16, MN10300_TSCCLK); in mn10300_sched_clock_init()
|
/linux-4.4.14/arch/arm/plat-omap/ |
D | counter_32k.c | 103 32768, NSEC_PER_SEC, 120000); in omap_init_clocksource_32k()
|
/linux-4.4.14/drivers/clocksource/ |
D | numachip.c | 86 clocksource_register_hz(&numachip2_clocksource, NSEC_PER_SEC); in numachip_timer_init()
|
D | metag_generic.c | 115 clk->mult = div_sc(hwtimer_freq, NSEC_PER_SEC, clk->shift); in arch_timer_setup()
|
D | exynos_mct.c | 300 cycles_per_jiffy = (((unsigned long long)NSEC_PER_SEC / HZ * evt->mult) in mct_set_state_periodic() 407 cycles_per_jiffy = (((unsigned long long)NSEC_PER_SEC / HZ * evt->mult) in set_state_periodic()
|
D | timer-atmel-pit.c | 220 data->clkevt.mult = div_sc(pit_rate, NSEC_PER_SEC, data->clkevt.shift); in at91sam926x_pit_common_init()
|
D | h8300_timer8.c | 165 ced->mult = div_sc(p->rate, NSEC_PER_SEC, ced->shift); in timer8_clock_event_start()
|
D | sh_cmt.c | 719 ced->mult = div_sc(ch->rate, NSEC_PER_SEC, ced->shift); in sh_cmt_clock_event_start()
|
/linux-4.4.14/arch/score/kernel/ |
D | time.c | 80 score_clockevent.mult = div_sc(SYSTEM_CLOCK, NSEC_PER_SEC, in time_init()
|
/linux-4.4.14/arch/alpha/kernel/ |
D | time.c | 198 clockevents_config_and_register(ce, NSEC_PER_SEC, 1000, LONG_MAX); in init_qemu_clockevent() 396 clocksource_register_hz(&qemu_cs, NSEC_PER_SEC); in time_init()
|
/linux-4.4.14/net/netfilter/ |
D | nft_limit.c | 65 limit->nsecs = unit * NSEC_PER_SEC; in nft_limit_init() 89 u64 secs = div_u64(limit->nsecs, NSEC_PER_SEC); in nft_limit_dump()
|
D | xt_time.c | 175 stamp = div_s64(stamp, NSEC_PER_SEC); in time_mt()
|
D | nf_conntrack_standalone.c | 183 delta_time = div_s64(delta_time, NSEC_PER_SEC); in ct_show_delta_time()
|
/linux-4.4.14/arch/powerpc/kernel/vdso64/ |
D | gettimeofday.S | 73 lis r7,NSEC_PER_SEC@h /* want nanoseconds */ 74 ori r7,r7,NSEC_PER_SEC@l
|
/linux-4.4.14/drivers/net/ethernet/renesas/ |
D | ravb_ptp.c | 110 diff = div_u64((u64)addend * ppb, NSEC_PER_SEC); in ravb_ptp_adjfreq() 228 start_ns = req->start.sec * NSEC_PER_SEC + req->start.nsec; in ravb_ptp_perout() 229 period_ns = req->period.sec * NSEC_PER_SEC + req->period.nsec; in ravb_ptp_perout()
|
/linux-4.4.14/arch/blackfin/kernel/ |
D | time-ts.c | 231 evt->mult = div_sc(clock_tick, NSEC_PER_SEC, evt->shift); in bfin_gptmr0_clockevent_init() 345 evt->mult = div_sc(clock_tick, NSEC_PER_SEC, evt->shift); in bfin_coretmr_clockevent_init()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | time_32.c | 132 ce->mult = div_sc(sparc_config.clock_rate, NSEC_PER_SEC, in setup_timer_ce() 228 ce->mult = div_sc(sparc_config.clock_rate, NSEC_PER_SEC, in register_percpu_ce()
|
/linux-4.4.14/arch/x86/entry/vdso/ |
D | vclock_gettime.c | 233 ts->tv_sec += __iter_div_u64_rem(ns, NSEC_PER_SEC, &ns); in do_realtime() 254 ts->tv_sec += __iter_div_u64_rem(ns, NSEC_PER_SEC, &ns); in do_monotonic()
|
/linux-4.4.14/arch/arm/lib/ |
D | delay.c | 83 NSEC_PER_SEC, 3600); in register_current_timer_delay()
|
/linux-4.4.14/arch/powerpc/kernel/vdso32/ |
D | gettimeofday.S | 85 lis r7,NSEC_PER_SEC@h /* want nanoseconds */ 86 ori r7,r7,NSEC_PER_SEC@l
|
/linux-4.4.14/arch/mips/alchemy/common/ |
D | time.c | 139 cd->mult = div_sc(32768, NSEC_PER_SEC, cd->shift); in alchemy_time_init()
|
/linux-4.4.14/arch/mips/kernel/ |
D | binfmt_elfn32.c | 107 value->tv_sec = div_u64_rem(nsec, NSEC_PER_SEC, &rem); in jiffies_to_compat_timeval()
|
D | binfmt_elfo32.c | 128 value->tv_sec = div_u64_rem(nsec, NSEC_PER_SEC, &rem); in jiffies_to_compat_timeval()
|
D | cevt-txx9.c | 98 __raw_writel(((u64)(NSEC_PER_SEC / HZ) * evt->mult) >> evt->shift, in txx9tmr_set_state_periodic()
|
/linux-4.4.14/arch/avr32/kernel/ |
D | time.c | 143 comparator.mult = div_sc(counter_hz, NSEC_PER_SEC, comparator.shift); in time_init()
|
/linux-4.4.14/arch/m68k/coldfire/ |
D | pit.c | 149 cf_pit_clockevent.mult = div_sc(FREQ, NSEC_PER_SEC, 32); in hw_timer_init()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event_intel_uncore.h | 8 #define UNCORE_PMU_HRTIMER_INTERVAL (60LL * NSEC_PER_SEC) 9 #define UNCORE_SNB_IMC_HRTIMER_INTERVAL (5ULL * NSEC_PER_SEC)
|
D | mshyperv.c | 183 clocksource_register_hz(&hyperv_cs, NSEC_PER_SEC/100); in ms_hyperv_init_platform()
|
/linux-4.4.14/arch/arm64/kernel/ |
D | asm-offsets.c | 82 DEFINE(NSEC_PER_SEC, NSEC_PER_SEC); in main()
|
/linux-4.4.14/arch/m32r/kernel/ |
D | time.c | 161 ts->tv_nsec = (INITIAL_JIFFIES % HZ) * (NSEC_PER_SEC / HZ); in read_persistent_clock()
|
/linux-4.4.14/include/net/ |
D | pkt_sched.h | 49 #define PSCHED_TICKS_PER_SEC PSCHED_NS2TICKS(NSEC_PER_SEC)
|
/linux-4.4.14/fs/ubifs/ |
D | misc.h | 233 return (inode->i_sb->s_time_gran < NSEC_PER_SEC) ? in ubifs_current_time()
|
/linux-4.4.14/drivers/char/ |
D | mmtimer.c | 500 sgi_clock_offset.tv_sec = tp->tv_sec - div_u64_rem(nsec, NSEC_PER_SEC, &rem); in sgi_clock_set() 505 sgi_clock_offset.tv_nsec = tp->tv_sec + NSEC_PER_SEC - rem; in sgi_clock_set() 842 sgi_clock_period = NSEC_PER_SEC / sn_rtc_cycles_per_second; in mmtimer_init()
|
/linux-4.4.14/sound/firewire/ |
D | lib.c | 144 port->consume_bytes * 8 * NSEC_PER_SEC / 31250); in midi_port_work()
|
/linux-4.4.14/arch/mips/sgi-ip27/ |
D | ip27-timer.c | 102 #define CYCLES_PER_SEC (NSEC_PER_SEC / NSEC_PER_CYCLE)
|
/linux-4.4.14/drivers/spi/ |
D | spi-txx9.c | 131 txx9spi_cs_func(spi, c, 0, (NSEC_PER_SEC / 2) / spi->max_speed_hz); in txx9spi_setup() 160 cs_delay = 100 + (NSEC_PER_SEC / 2) / spi->max_speed_hz; in txx9spi_work_one()
|
D | spi-fsl-dspi.c | 220 scale_needed = div_u64_rem((u64)delay_ns * clkrate, NSEC_PER_SEC, in ns_delay_scale()
|
/linux-4.4.14/arch/cris/arch-v10/kernel/ |
D | time.c | 68 return (TIMER0_DIV - count) * (NSEC_PER_SEC/HZ)/TIMER0_DIV; in cris_v10_gettimeoffset()
|
/linux-4.4.14/arch/x86/kvm/ |
D | i8254.c | 150 d = muldiv64(t, KVM_PIT_FREQ, NSEC_PER_SEC); in pit_get_count() 180 d = muldiv64(t, KVM_PIT_FREQ, NSEC_PER_SEC); in pit_get_out() 343 interval = muldiv64(val, NSEC_PER_SEC, KVM_PIT_FREQ); in create_pit_timer()
|
D | x86.c | 1305 kvm_get_time_scale(this_tsc_khz, NSEC_PER_SEC / 1000, in kvm_set_tsc_khz() 1775 kvm_get_time_scale(NSEC_PER_SEC / 1000, tgt_tsc_khz, in kvm_guest_time_update()
|
/linux-4.4.14/kernel/sched/ |
D | clock.c | 73 * (NSEC_PER_SEC / HZ); in sched_clock()
|
D | sched.h | 41 #define NS_TO_JIFFIES(TIME) ((unsigned long)(TIME) / (NSEC_PER_SEC / HZ))
|
D | core.c | 1501 ktime_t to = ktime_set(0, NSEC_PER_SEC/HZ); in wait_task_inactive() 8285 const u64 max_cfs_quota_period = 1 * NSEC_PER_SEC; /* 1s */
|
/linux-4.4.14/kernel/power/ |
D | wakelock.c | 119 if (idle_time_ns < ((u64)WL_GC_TIME_SEC * NSEC_PER_SEC)) in __wakelocks_gc()
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | emulate.c | 75 dec_nsec = do_div(dec_time, NSEC_PER_SEC); in kvmppc_emulate_dec()
|
D | book3s_hv.c | 1723 dec_nsec = (vcpu->arch.dec_expires - now) * NSEC_PER_SEC in kvmppc_set_timer()
|
/linux-4.4.14/drivers/mtd/nand/gpmi-nand/ |
D | gpmi-lib.c | 373 clock_period_in_ns = NSEC_PER_SEC / clock_frequency_in_hz; in gpmi_nfc_compute_hardware_timing() 893 clk_period = NSEC_PER_SEC / (rate / 10); in gpmi_compute_edo_timing() 1061 clock_period_in_ns = NSEC_PER_SEC / clk_get_rate(r->clock[0]); in gpmi_begin()
|
/linux-4.4.14/net/sched/ |
D | sch_fq.c | 498 u64 len = (u64)plen * NSEC_PER_SEC; in fq_dequeue() 506 if (unlikely(len > NSEC_PER_SEC)) { in fq_dequeue() 507 len = NSEC_PER_SEC; in fq_dequeue()
|
D | sch_htb.c | 903 next_event = q->now + 5LLU * NSEC_PER_SEC; in htb_dequeue() 913 event = q->now + NSEC_PER_SEC; in htb_dequeue() 1455 cl->mbuffer = 60ULL * NSEC_PER_SEC; /* 1min */ in htb_change_class()
|
D | sch_tbf.c | 130 do_div(len, NSEC_PER_SEC); in psched_ns_t2l()
|
D | sch_generic.c | 978 u64 factor = NSEC_PER_SEC; in psched_ratecfg_precompute()
|
D | sch_netem.c | 356 ticks = (u64)len * NSEC_PER_SEC; in packet_len_2_sched_time()
|
D | sch_api.c | 1891 (u32)NSEC_PER_SEC / hrtimer_resolution); in psched_show()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 289 do_div(ns, NSEC_PER_SEC / 2 / HZ); in mlx4_en_init_timestamp()
|
/linux-4.4.14/drivers/media/usb/uvc/ |
D | uvc_video.c | 671 y1 = NSEC_PER_SEC; in uvc_video_clock_update() 672 y2 = (ts.tv_sec + 1) * NSEC_PER_SEC + ts.tv_nsec; in uvc_video_clock_update() 689 div = div_u64_rem(y, NSEC_PER_SEC, &rem); in uvc_video_clock_update() 692 if (ts.tv_nsec >= NSEC_PER_SEC) { in uvc_video_clock_update() 694 ts.tv_nsec -= NSEC_PER_SEC; in uvc_video_clock_update()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | alias_GUID.c | 313 rec->time_to_run = ktime_get_real_ns() + 1 * NSEC_PER_SEC; in aliasguid_query_handler() 420 resched_delay_sec * NSEC_PER_SEC; in aliasguid_query_handler() 714 div_u64((low_record_time - curr_time), NSEC_PER_SEC); in get_low_record_time_index()
|
/linux-4.4.14/arch/mips/kvm/ |
D | emulate.c | 272 return div_u64(delta * vcpu->arch.count_hz, NSEC_PER_SEC); in kvm_mips_ktime_to_count() 432 delta = div_u64(delta * NSEC_PER_SEC, vcpu->arch.count_hz); in kvm_mips_resume_hrtimer() 475 vcpu->arch.count_period = div_u64((u64)NSEC_PER_SEC << 32, in kvm_mips_init_count() 502 if (count_hz <= 0 || count_hz > NSEC_PER_SEC) in kvm_mips_set_count_hz() 519 vcpu->arch.count_period = div_u64((u64)NSEC_PER_SEC << 32, count_hz); in kvm_mips_set_count_hz() 691 delta = div_u64(delta * NSEC_PER_SEC, in kvm_mips_set_count_ctl()
|
/linux-4.4.14/drivers/staging/iio/trigger/ |
D | iio-trig-bfin-timer.c | 234 do_div(val, NSEC_PER_SEC); in iio_bfin_tmr_trigger_probe()
|
/linux-4.4.14/kernel/trace/ |
D | ring_buffer_benchmark.c | 245 timeout = ktime_add_ns(start_time, RUN_TIME * NSEC_PER_SEC); in ring_buffer_producer()
|
D | trace_functions_graph.c | 644 usecs_rem = do_div(t, NSEC_PER_SEC); in print_graph_abs_time()
|
D | blktrace.c | 1142 unsigned long nsec_rem = do_div(ts, NSEC_PER_SEC); in blk_log_action_classic()
|
/linux-4.4.14/drivers/cpufreq/ |
D | qoriq-cpufreq.c | 278 u64temp = 12ULL * NSEC_PER_SEC; in qoriq_cpufreq_cpu_init()
|
/linux-4.4.14/arch/x86/xen/ |
D | time.c | 468 clocksource_register_hz(&xen_clocksource, NSEC_PER_SEC); in xen_time_init()
|
/linux-4.4.14/drivers/ptp/ |
D | ptp_clock.c | 146 if ((unsigned long) ts.tv_nsec >= NSEC_PER_SEC) in ptp_clock_adjtime()
|
/linux-4.4.14/arch/s390/kernel/ |
D | time.c | 228 nsecps = (u64) NSEC_PER_SEC << tk->tkr_mono.shift; in update_vsyscall() 241 while (vdso_data->wtom_coarse_nsec >= NSEC_PER_SEC) { in update_vsyscall() 242 vdso_data->wtom_coarse_nsec -= NSEC_PER_SEC; in update_vsyscall()
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | ptp.c | 425 #define NS_TO_S27_MULT (((1ULL << 63) + NSEC_PER_SEC / 2) / NSEC_PER_SEC) 453 u32 ns = (u32)(((u64)nic_minor * NSEC_PER_SEC + in efx_ptp_s27_to_ktime() 699 end_ns += NSEC_PER_SEC; in efx_ptp_read_timeset()
|
/linux-4.4.14/drivers/memory/tegra/ |
D | mc.c | 84 do_div(tick, NSEC_PER_SEC); in tegra_mc_setup_latency_allowance()
|
/linux-4.4.14/drivers/iio/adc/ |
D | cc10001_adc.c | 375 adc_dev->eoc_delay_ns = NSEC_PER_SEC / adc_clk_rate; in cc10001_adc_probe()
|
D | vf610_adc.c | 213 adck_period = NSEC_PER_SEC / adck_rate; in vf610_adc_calculate_rates()
|
/linux-4.4.14/fs/ |
D | select.c | 61 if (tv->tv_sec > MAX_SLACK / (NSEC_PER_SEC/divfactor)) in __estimate_accuracy() 65 slack += tv->tv_sec * (NSEC_PER_SEC/divfactor); in __estimate_accuracy()
|
/linux-4.4.14/drivers/hv/ |
D | hv.c | 254 clocksource_register_hz(&hyperv_cs_tsc, NSEC_PER_SEC/100); in hv_init()
|
/linux-4.4.14/drivers/net/ethernet/octeon/ |
D | octeon_mgmt.c | 716 u64 clock_comp = (NSEC_PER_SEC << 32) / octeon_get_io_clock_rate(); in octeon_mgmt_ioctl_hwtstamp() 720 (NSEC_PER_SEC << 32) / clock_comp); in octeon_mgmt_ioctl_hwtstamp() 726 (NSEC_PER_SEC << 32) / clock_comp); in octeon_mgmt_ioctl_hwtstamp()
|
/linux-4.4.14/drivers/media/pci/cx88/ |
D | cx88-input.c | 551 ev.duration = (bits * (NSEC_PER_SEC / 1000)) / ir_samplerate; in cx88_ir_irq()
|
/linux-4.4.14/kernel/ |
D | watchdog.c | 219 sample_period = get_softlockup_thresh() * ((u64)NSEC_PER_SEC / 5); in set_sample_period()
|
D | sysctl.c | 265 static int max_sched_granularity_ns = NSEC_PER_SEC; /* 1 second */ 267 static int max_wakeup_granularity_ns = NSEC_PER_SEC; /* 1 second */
|
/linux-4.4.14/tools/perf/util/ |
D | util.c | 420 *ptime = time_sec * NSEC_PER_SEC + time_nsec; in parse_nsec_time()
|
/linux-4.4.14/drivers/input/keyboard/ |
D | pmic8xxx-keypad.c | 446 cycles = (row_hold_ns * KEYP_CLOCK_FREQ) / NSEC_PER_SEC; in pmic8xxx_kpd_init()
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
D | comedi_test.c | 314 limit = rounddown(limit, (unsigned int)NSEC_PER_SEC); in waveform_ai_cmdtest()
|
/linux-4.4.14/arch/x86/lguest/ |
D | boot.c | 1041 clocksource_register_hz(&lguest_clock, NSEC_PER_SEC); in lguest_time_init()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | time.c | 802 BUG_ON(wall_time->tv_nsec >= NSEC_PER_SEC); in update_vsyscall_old()
|
D | asm-offsets.c | 425 DEFINE(NSEC_PER_SEC, NSEC_PER_SEC); in main()
|
/linux-4.4.14/drivers/mmc/host/ |
D | omap.c | 180 tick_ns = DIV_ROUND_UP(NSEC_PER_SEC, slot->fclk_freq); in mmc_omap_fclk_offdelay() 438 tick_ns = DIV_ROUND_UP(NSEC_PER_SEC, slot->fclk_freq); in mmc_omap_send_stop_work()
|
D | mmci.c | 798 do_div(clks, NSEC_PER_SEC); in mmci_start_data()
|
/linux-4.4.14/drivers/hwmon/ |
D | ibmaem.c | 867 (unsigned long long)div64_u64(delta * NSEC_PER_SEC, time)); in aem_show_power()
|
/linux-4.4.14/drivers/pci/ |
D | xen-pcifront.c | 137 ns_timeout = ktime_get_ns() + 2 * (s64)NSEC_PER_SEC; in do_pci_op()
|
/linux-4.4.14/drivers/scsi/ufs/ |
D | ufs-qcom.c | 421 core_clk_period_in_ns = NSEC_PER_SEC / core_clk_rate; in ufs_qcom_cfg_timers()
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dev.c | 1220 nsec *= NSEC_PER_SEC; in xgbe_get_tstamp_time() 1236 nsec *= NSEC_PER_SEC; in xgbe_get_tx_tstamp()
|
/linux-4.4.14/kernel/events/ |
D | core.c | 188 #define DEFAULT_SAMPLE_PERIOD_NS (NSEC_PER_SEC / DEFAULT_MAX_SAMPLE_RATE) 220 perf_sample_period_ns = NSEC_PER_SEC / sysctl_perf_event_sample_rate; in perf_proc_update_handler() 299 perf_sample_period_ns = NSEC_PER_SEC / sysctl_perf_event_sample_rate; in perf_sample_event_took() 2887 u64 sec = NSEC_PER_SEC; in perf_calculate_period() 7230 event->attr.sample_period = NSEC_PER_SEC / freq; in perf_swevent_init_hrtimer()
|
/linux-4.4.14/drivers/gpu/drm/tegra/ |
D | dsi.c | 917 state->period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, plld); in tegra_dsi_encoder_atomic_check()
|
/linux-4.4.14/drivers/mtd/nand/ |
D | sunxi_nand.c | 986 chip->clk_rate = (2 * NSEC_PER_SEC) / min_clk_period; in sunxi_nand_chip_set_timings()
|
/linux-4.4.14/net/core/ |
D | pktgen.c | 1027 pkt_dev->delay = NSEC_PER_SEC/value; in pktgen_if_write() 3224 pps = div64_u64(pkt_dev->sofar * NSEC_PER_SEC, in show_results()
|
/linux-4.4.14/drivers/crypto/ |
D | hifn_795x.c | 822 dev->rng_wait_time = DIV_ROUND_UP_ULL(NSEC_PER_SEC, in hifn_register_rng()
|
/linux-4.4.14/fs/logfs/ |
D | readwrite.c | 111 return cpu_to_be64((u64)tsp.tv_sec * NSEC_PER_SEC + tsp.tv_nsec); in timespec_to_be64()
|
/linux-4.4.14/fs/ext4/ |
D | ext4.h | 1463 return (inode->i_sb->s_time_gran < NSEC_PER_SEC) ? in ext4_current_time()
|
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/ |
D | lio_main.c | 1621 clock_comp = (u64)NSEC_PER_SEC << 32; in liquidio_ptp_init()
|
/linux-4.4.14/fs/btrfs/ |
D | disk-io.c | 2593 fs_info->avg_delayed_ref_runtime = NSEC_PER_SEC >> 6; /* div by 64 */ in open_ctree()
|
D | extent-tree.c | 2806 if (num_entries * avg_runtime >= NSEC_PER_SEC) in btrfs_should_throttle_delayed_refs() 2808 if (val >= NSEC_PER_SEC / 2) in btrfs_should_throttle_delayed_refs()
|
/linux-4.4.14/fs/nfs/ |
D | nfs4proc.c | 5039 verf[1] = cpu_to_be32(NSEC_PER_SEC + 1); in nfs4_init_boot_verifier()
|