Searched refs:NSEC_PER_MSEC (Results 1 – 23 of 23) sorted by relevance
337 avg = NSEC_PER_MSEC / hit; in ring_buffer_producer()355 avg = NSEC_PER_MSEC / (hit + missed); in ring_buffer_producer()
59 result = DIV_ROUND_UP((wanted * clk), NSEC_PER_MSEC) - 1; in aemif_calc_rate()
234 unsigned long sleep_time = NSEC_PER_MSEC / 1000; in __nouveau_fence_wait()253 if (sleep_time > NSEC_PER_MSEC) in __nouveau_fence_wait()254 sleep_time = NSEC_PER_MSEC; in __nouveau_fence_wait()
128 do_div(wrap, NSEC_PER_MSEC); in setup_sched_clock()
145 timespec_add_ns(tsp, delta * NSEC_PER_MSEC); in read_persistent_clock()
188 ((ts.tv_nsec > 990 * NSEC_PER_MSEC) ? 1 : 0), in next_intr_time()
38 #define NSEC_PER_MSEC 1000000L macro
63 midtime = htonl((tv.tv_sec % 86400) * MSEC_PER_SEC + tv.tv_nsec / NSEC_PER_MSEC); in ip_options_build()408 midtime = (tv.tv_sec % 86400) * MSEC_PER_SEC + tv.tv_nsec / NSEC_PER_MSEC; in ip_options_compile()
853 tv.tv_nsec / NSEC_PER_MSEC); in icmp_timestamp()
259 delta_t.tv_nsec > NSEC_PER_MSEC * 20) { in dcon_load_holdoff()380 delta_t.tv_nsec < NSEC_PER_MSEC * 20) { in dcon_source_switch()
131 if (time_since_request > 20 * NSEC_PER_MSEC) { in msmfb_start_dma()133 us = do_div(time_since_request, NSEC_PER_MSEC) / NSEC_PER_USEC; in msmfb_start_dma()
45 #define MAX_SLACK (100 * NSEC_PER_MSEC)919 NSEC_PER_MSEC * (timeout_msecs % MSEC_PER_SEC)); in SYSCALL_DEFINE3()
1362 .tv_nsec = NSEC_PER_MSEC * (ms % MSEC_PER_SEC), in ep_set_mstimeout()
622 *scale = (NSEC_PER_MSEC << CYC2NS_SCALE_FACTOR)/cpu_khz; in set_cyc2ns_scale()
1401 if (delta.tv64 > 100 * NSEC_PER_MSEC) in hrtimer_interrupt()1402 expires_next = ktime_add_ns(now, 100 * NSEC_PER_MSEC); in hrtimer_interrupt()
43 #define FIRMWARE_TIMEOUT (1 * NSEC_PER_MSEC)
58 #define FIRMWARE_TIMEOUT (1 * NSEC_PER_MSEC)
692 return time / NSEC_PER_MSEC; in spu_acct_time()
937 return (u64)sysctl_sched_time_avg * NSEC_PER_MSEC / 2; in sched_avg_period()
1835 static const u64 min_cfs_rq_runtime = 1 * NSEC_PER_MSEC;1837 static const u64 min_bandwidth_expiration = 2 * NSEC_PER_MSEC;1839 static const u64 cfs_bandwidth_slack_period = 5 * NSEC_PER_MSEC;
7937 const u64 min_cfs_quota_period = 1 * NSEC_PER_MSEC; /* 1ms */
118 cur_ts.tv_nsec / NSEC_PER_MSEC; in ovs_flow_used_time()
2359 return time / NSEC_PER_MSEC; in spufs_acct_time()