Searched refs:NSEC_PER_SEC (Results 1 – 19 of 19) sorted by relevance
| /include/linux/ |
| A D | acct.h | 69 #if (TICK_NSEC % (NSEC_PER_SEC / AHZ)) == 0 in jiffies_to_AHZ() 77 do_div(tmp, (NSEC_PER_SEC / AHZ)); in jiffies_to_AHZ() 84 #if (NSEC_PER_SEC % AHZ) == 0 in nsec_to_AHZ() 85 do_div(x, (NSEC_PER_SEC / AHZ)); in nsec_to_AHZ() 88 do_div(x, (NSEC_PER_SEC / 512)); in nsec_to_AHZ() 96 do_div(x, (unsigned long)((9ull * NSEC_PER_SEC + (AHZ/2)) in nsec_to_AHZ()
|
| A D | time64.h | 32 #define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC) 33 #define KTIME_SEC_MIN (KTIME_MIN / NSEC_PER_SEC) 103 if ((unsigned long)ts->tv_nsec >= NSEC_PER_SEC) in timespec64_valid() 144 return ((s64) ts->tv_sec * NSEC_PER_SEC) + ts->tv_nsec; in timespec64_to_ns() 165 a->tv_sec += __iter_div_u64_rem(a->tv_nsec + ns, NSEC_PER_SEC, &ns); in timespec64_add_ns()
|
| A D | jiffies.h | 410 #if !((((NSEC_PER_SEC << 2) / TICK_NSEC) << (SEC_JIFFIE_SC - 2)) & 0x80000000) 415 #define SEC_CONVERSION ((unsigned long)((((u64)NSEC_PER_SEC << SEC_JIFFIE_SC) +\ 427 (long)((u64)((u64)MAX_JIFFY_OFFSET * TICK_NSEC) / NSEC_PER_SEC) 430 (SH_DIV((MAX_JIFFY_OFFSET >> SEC_JIFFIE_SC) * TICK_NSEC, NSEC_PER_SEC, 1) - 1)
|
| A D | timex.h | 152 #define NTP_INTERVAL_LENGTH (NSEC_PER_SEC/NTP_INTERVAL_FREQ)
|
| A D | timekeeping.h | 241 return ktime_divns(ktime_get_coarse_boottime(), NSEC_PER_SEC); in ktime_get_boottime_seconds() 256 return ktime_divns(ktime_get_coarse_clocktai(), NSEC_PER_SEC); in ktime_get_clocktai_seconds()
|
| A D | clockchips.h | 195 return clocks_calc_mult_shift(&ce->mult, &ce->shift, NSEC_PER_SEC, freq, maxsec); in clockevents_calc_mult_shift()
|
| A D | ktime.h | 41 return secs * NSEC_PER_SEC + (s64)nsecs; in ktime_set()
|
| A D | clocksource.h | 196 return clocksource_freq2mult(hz, shift_constant, NSEC_PER_SEC); in clocksource_hz2mult()
|
| /include/vdso/ |
| A D | jiffies.h | 9 #define TICK_NSEC ((NSEC_PER_SEC+HZ/2)/HZ)
|
| A D | time64.h | 11 #define NSEC_PER_SEC 1000000000L macro
|
| /include/asm-generic/ |
| A D | delay.h | 23 #define NDELAY_CONST_MULT ((unsigned long)DIV_ROUND_UP(1ULL << 32, NSEC_PER_SEC))
|
| A D | rqspinlock.h | 62 #define RES_DEF_TIMEOUT (NSEC_PER_SEC / 4)
|
| /include/linux/dsa/ |
| A D | ksz_common.h | 20 u64 ns = FIELD_GET(KSZ_TSTAMP_SEC_MASK, tstamp) * NSEC_PER_SEC + in ksz_decode_tstamp()
|
| /include/net/tc_act/ |
| A D | tc_police.h | 91 NSEC_PER_SEC); in tcf_police_burst() 139 NSEC_PER_SEC); in tcf_police_burst_pkt()
|
| /include/trace/stages/ |
| A D | stage3_trace_output.h | 140 do_div(____val, NSEC_PER_SEC); \ 148 (u32) do_div(____val, NSEC_PER_SEC); \
|
| /include/net/ |
| A D | pkt_sched.h | 58 #define PSCHED_TICKS_PER_SEC PSCHED_NS2TICKS(NSEC_PER_SEC)
|
| A D | sock.h | 2718 #define SK_DEFAULT_STAMP (-1L * NSEC_PER_SEC)
|
| /include/media/ |
| A D | v4l2-common.h | 630 return buf->timestamp.tv_sec * NSEC_PER_SEC + in v4l2_buffer_get_timestamp()
|
| /include/hyperv/ |
| A D | hvgdk_mini.h | 49 #define HV_CLOCK_HZ (NSEC_PER_SEC / 100)
|
Completed in 35 milliseconds