| /f-stack/dpdk/lib/librte_eal/include/ |
| H A D | rte_time.h | 21 uint64_t nsec; member 70 tc->nsec += ns_offset; in rte_timecounter_update() 72 return tc->nsec; in rte_timecounter_update() 88 rte_ns_to_timespec(uint64_t nsec) in rte_ns_to_timespec() argument 92 if (nsec == 0) in rte_ns_to_timespec() 95 ts.tv_sec = nsec / NSEC_PER_SEC; in rte_ns_to_timespec() 96 ts.tv_nsec = nsec % NSEC_PER_SEC; in rte_ns_to_timespec()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/include/sodium/ |
| H A D | crypto_aead_aes256gcm.h | 71 const unsigned char *nsec, 78 unsigned char *nsec, 95 const unsigned char *nsec, 101 unsigned char *nsec, 124 const unsigned char *nsec, 131 unsigned char *nsec, 148 const unsigned char *nsec, 154 unsigned char *nsec,
|
| H A D | crypto_aead_chacha20poly1305.h | 46 const unsigned char *nsec, 53 unsigned char *nsec, 70 const unsigned char *nsec, 76 unsigned char *nsec, 119 const unsigned char *nsec, 126 unsigned char *nsec, 143 const unsigned char *nsec, 149 unsigned char *nsec,
|
| H A D | crypto_aead_xchacha20poly1305.h | 42 const unsigned char *nsec, 49 unsigned char *nsec, 66 const unsigned char *nsec, 72 unsigned char *nsec,
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/ |
| H A D | aead_chacha20poly1305.c | 27 const unsigned char *nsec, in crypto_aead_chacha20poly1305_encrypt_detached() argument 35 (void) nsec; in crypto_aead_chacha20poly1305_encrypt_detached() 66 const unsigned char *nsec, in crypto_aead_chacha20poly1305_encrypt() argument 106 (void) nsec; in crypto_aead_chacha20poly1305_ietf_encrypt_detached() 167 unsigned char *nsec, in crypto_aead_chacha20poly1305_decrypt_detached() argument 183 (void) nsec; in crypto_aead_chacha20poly1305_decrypt_detached() 218 unsigned char *nsec, in crypto_aead_chacha20poly1305_decrypt() argument 231 (m, nsec, in crypto_aead_chacha20poly1305_decrypt() 263 (void) nsec; in crypto_aead_chacha20poly1305_ietf_decrypt_detached() 302 unsigned char *nsec, in crypto_aead_chacha20poly1305_ietf_decrypt() argument [all …]
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_aead/xchacha20poly1305/sodium/ |
| H A D | aead_xchacha20poly1305.c | 24 const unsigned char *nsec, in crypto_aead_xchacha20poly1305_ietf_encrypt_detached() argument 36 (c, mac, maclen_p, m, mlen, ad, adlen, nsec, npub2, k2); in crypto_aead_xchacha20poly1305_ietf_encrypt_detached() 49 const unsigned char *nsec, in crypto_aead_xchacha20poly1305_ietf_encrypt() argument 60 (c, c + mlen, NULL, m, mlen, ad, adlen, nsec, npub, k); in crypto_aead_xchacha20poly1305_ietf_encrypt() 72 unsigned char *nsec, in crypto_aead_xchacha20poly1305_ietf_decrypt_detached() argument 89 (m, nsec, c, clen, mac, ad, adlen, npub2, k2); in crypto_aead_xchacha20poly1305_ietf_decrypt_detached() 99 unsigned char *nsec, in crypto_aead_xchacha20poly1305_ietf_decrypt() argument 112 (m, nsec, in crypto_aead_xchacha20poly1305_ietf_decrypt()
|
| /f-stack/freebsd/x86/x86/ |
| H A D | pvclock.c | 157 uint32_t *nsec) in pvclock_read_wall_clock() argument 165 *nsec = wc->nsec; in pvclock_read_wall_clock() 198 uint32_t sec, nsec; in pvclock_get_wallclock() local 200 pvclock_read_wall_clock(wc, &sec, &nsec); in pvclock_get_wallclock() 202 ts->tv_nsec = nsec; in pvclock_get_wallclock()
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | time.h | 64 #define NSEC_TO_TICK(nsec) ((nsec) / (NANOSEC / hz)) argument 70 hrtime_t nsec; in gethrtime() local 73 nsec = ((hrtime_t)ts.tv_sec * NANOSEC) + ts.tv_nsec; in gethrtime() 74 return (nsec); in gethrtime()
|
| /f-stack/lib/ |
| H A D | ff_host_interface.c | 153 ff_clock_gettime(int id, int64_t *sec, long *nsec) in ff_clock_gettime() argument 178 *nsec = (long)ts.tv_nsec; in ff_clock_gettime() 185 long nsec; in ff_clock_gettime_ns() local 187 ff_clock_gettime(id, &sec, &nsec); in ff_clock_gettime_ns() 189 return ((uint64_t)sec * ff_NSEC_PER_SEC + nsec); in ff_clock_gettime_ns() 193 ff_get_current_time(time_t *sec, long *nsec) in ff_get_current_time() argument 199 if (nsec) { in ff_get_current_time() 200 *nsec = current_ts.tv_nsec; in ff_get_current_time()
|
| H A D | ff_host_interface.h | 57 void ff_clock_gettime(int id, int64_t *sec, long *nsec); 61 void ff_get_current_time(int64_t *sec, long *nsec);
|
| /f-stack/freebsd/kern/ |
| H A D | subr_clock.c | 191 ts->tv_nsec = ct->nsec; in clock_ct_to_ts() 234 ct.nsec = bct->nsec; in clock_bcd_to_ts() 285 ct->nsec = ts->tv_nsec; in clock_ts_to_ct() 333 bct->nsec = ct.nsec; in clock_ts_to_bcd() 346 nsdigits, nsdigits, bct->nsec / nsdivisors[nsdigits]); in clock_print_bcd() 364 nsdigits, nsdigits, ct->nsec / nsdivisors[nsdigits]); in clock_print_ct()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_aead/aes256gcm/aesni/ |
| H A D | aead_aes256gcm_aesni.c | 525 (void) nsec; in crypto_aead_aes256gcm_encrypt_detached_afternm() 664 (void) nsec; in crypto_aead_aes256gcm_decrypt_detached_afternm() 801 unsigned char *nsec, in crypto_aead_aes256gcm_decrypt_afternm() argument 842 (c, mac, maclen_p, m, mlen, ad, adlen, nsec, npub, in crypto_aead_aes256gcm_encrypt_detached() 853 const unsigned char *nsec, in crypto_aead_aes256gcm_encrypt() argument 863 (c, clen_p, m, mlen, ad, adlen, nsec, npub, in crypto_aead_aes256gcm_encrypt() 872 unsigned char *nsec, in crypto_aead_aes256gcm_decrypt_detached() argument 886 (m, nsec, c, clen, mac, ad, adlen, npub, in crypto_aead_aes256gcm_decrypt_detached() 893 unsigned char *nsec, in crypto_aead_aes256gcm_decrypt() argument 907 (m, mlen_p, nsec, c, clen, ad, adlen, npub, in crypto_aead_aes256gcm_decrypt() [all …]
|
| /f-stack/dpdk/examples/ptpclient/ |
| H A D | ptpclient.c | 150 ns_to_timeval(int64_t nsec) in ns_to_timeval() argument 156 if (nsec == 0) in ns_to_timeval() 158 rem = nsec % NSEC_PER_SEC; in ns_to_timeval() 159 t_spec.tv_sec = nsec / NSEC_PER_SEC; in ns_to_timeval() 263 int64_t nsec; in print_clock_info() local 305 nsec = (int64_t)timespec64_to_ns(&net_time) - in print_clock_info() 307 ptp_data->new_adj = ns_to_timeval(nsec); in print_clock_info() 317 nsec); in print_clock_info() 492 int64_t nsec; in update_kernel_time() local 501 ptp_data.new_adj = ns_to_timeval(nsec); in update_kernel_time() [all …]
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_ptp.c | 386 dev->systime_tc.nsec += delta; in otx2_nix_timesync_adjust_time() 387 dev->rx_tstamp_tc.nsec += delta; in otx2_nix_timesync_adjust_time() 388 dev->tx_tstamp_tc.nsec += delta; in otx2_nix_timesync_adjust_time() 402 dev->systime_tc.nsec = ns; in otx2_nix_timesync_write_time() 403 dev->rx_tstamp_tc.nsec = ns; in otx2_nix_timesync_write_time() 404 dev->tx_tstamp_tc.nsec = ns; in otx2_nix_timesync_write_time()
|
| /f-stack/dpdk/drivers/net/axgbe/ |
| H A D | axgbe_ethdev.c | 108 unsigned int nsec); 1547 uint64_t nsec; in axgbe_timesync_read_time() local 1551 nsec *= NSEC_PER_SEC; in axgbe_timesync_read_time() 1592 unsigned int nsec) in axgbe_set_tstamp_time() argument 1617 uint64_t nsec; in axgbe_timesync_enable() local 1671 nsec = rte_timecounter_update(&pdata->systime_tc, nsec); in axgbe_timesync_enable() 1697 uint64_t nsec = 0; in axgbe_timesync_read_rx_timestamp() local 1721 flags, nsec); in axgbe_timesync_read_rx_timestamp() 1733 uint64_t nsec; in axgbe_timesync_read_tx_timestamp() local 1750 nsec = tx_ssr; in axgbe_timesync_read_tx_timestamp() [all …]
|
| /f-stack/freebsd/sys/ |
| H A D | clock.h | 82 long nsec; /* nano seconds */ member 118 long nsec; /* nanoseconds */ member
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/src/ |
| H A D | nstime.c | 17 nstime_init2(nstime_t *time, uint64_t sec, uint64_t nsec) { in nstime_init2() argument 18 time->ns = sec * BILLION + nsec; in nstime_init2()
|
| /f-stack/freebsd/x86/include/ |
| H A D | pvclock.h | 49 uint32_t nsec; member
|
| /f-stack/freebsd/contrib/ncsw/inc/ |
| H A D | ncsw_ext.h | 157 #define NSEC_TO_CLK(nsec,clk) DIV_CEIL(((nsec) * (clk)), 1000) argument
|
| /f-stack/freebsd/contrib/openzfs/include/sys/fm/ |
| H A D | util.h | 68 uint64_t nsec; /* nanoseconds past ed_tod_base.sec */ member
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/include/jemalloc/internal/ |
| H A D | nstime.h | 13 void nstime_init2(nstime_t *time, uint64_t sec, uint64_t nsec);
|
| /f-stack/freebsd/arm/nvidia/ |
| H A D | as3722_rtc.c | 58 ct.nsec = 0; in as3722_rtc_gettime()
|
| /f-stack/freebsd/arm/mv/ |
| H A D | rtc.c | 141 ct.nsec = 0; in mv_rtc_gettime()
|
| /f-stack/freebsd/mips/atheros/ |
| H A D | pcf2123_rtc.c | 128 ct.nsec = 0; in pcf2123_rtc_gettime()
|
| /f-stack/freebsd/arm/ti/am335x/ |
| H A D | am335x_rtc.c | 171 ct.nsec = 0; in am335x_rtc_pmic_pwr_toggle()
|