/linux-4.4.14/include/linux/ |
D | time64.h | 14 # define timespec64 timespec macro 17 struct timespec64 { struct 23 struct timespec64 it_interval; argument 24 struct timespec64 it_value; 45 static inline struct timespec timespec64_to_timespec(const struct timespec64 ts64) in timespec64_to_timespec() 50 static inline struct timespec64 timespec_to_timespec64(const struct timespec ts) in timespec_to_timespec64() 79 static inline struct timespec timespec64_to_timespec(const struct timespec64 ts64) in timespec64_to_timespec() 88 static inline struct timespec64 timespec_to_timespec64(const struct timespec ts) in timespec_to_timespec64() 90 struct timespec64 ret; in timespec_to_timespec64() 115 static inline int timespec64_equal(const struct timespec64 *a, in timespec64_equal() [all …]
|
D | timekeeping.h | 13 extern int do_settimeofday64(const struct timespec64 *ts); 21 struct timespec64 current_kernel_time64(void); 27 struct timespec64 now = current_kernel_time64(); in current_kernel_time() 35 struct timespec64 get_monotonic_coarse64(void); 36 extern void getrawmonotonic64(struct timespec64 *ts); 37 extern void ktime_get_ts64(struct timespec64 *ts); 41 extern int __getnstimeofday64(struct timespec64 *tv); 42 extern void getnstimeofday64(struct timespec64 *tv); 43 extern void getboottime64(struct timespec64 *ts); 94 struct timespec64 ts64; in do_settimeofday() [all …]
|
D | pps_kernel.h | 51 struct timespec64 ts_raw; 53 struct timespec64 ts_real; 108 struct timespec64 ts) in timespec_to_pps_ktime() 131 static inline void pps_sub_ts(struct pps_event_time *ts, struct timespec64 delta) in pps_sub_ts()
|
D | timex.h | 155 extern void hardpps(const struct timespec64 *, const struct timespec64 *);
|
D | timekeeper_internal.h | 88 struct timespec64 wall_to_monotonic; 95 struct timespec64 raw_time;
|
D | ptp_clock_kernel.h | 107 int (*gettime64)(struct ptp_clock_info *ptp, struct timespec64 *ts); 108 int (*settime64)(struct ptp_clock_info *p, const struct timespec64 *ts);
|
D | jiffies.h | 412 extern unsigned long timespec64_to_jiffies(const struct timespec64 *value); 414 struct timespec64 *value); 417 struct timespec64 ts = timespec_to_timespec64(*value); in timespec_to_jiffies() 425 struct timespec64 ts; in jiffies_to_timespec()
|
D | ktime.h | 87 static inline ktime_t timespec64_to_ktime(struct timespec64 ts) in timespec64_to_ktime() 264 struct timespec64 *ts) in ktime_to_timespec64_cond()
|
D | rtc.h | 171 extern int rtc_set_ntp_time(struct timespec64 now);
|
/linux-4.4.14/kernel/time/ |
D | ntp_internal.h | 11 extern int __do_adjtimex(struct timex *, struct timespec64 *, s32 *); 12 extern void __hardpps(const struct timespec64 *, const struct timespec64 *);
|
D | timekeeping.c | 75 static inline struct timespec64 tk_xtime(struct timekeeper *tk) in tk_xtime() 77 struct timespec64 ts; in tk_xtime() 84 static void tk_set_xtime(struct timekeeper *tk, const struct timespec64 *ts) in tk_set_xtime() 90 static void tk_xtime_add(struct timekeeper *tk, const struct timespec64 *ts) in tk_xtime_add() 97 static void tk_set_wall_to_mono(struct timekeeper *tk, struct timespec64 wtm) in tk_set_wall_to_mono() 99 struct timespec64 tmp; in tk_set_wall_to_mono() 625 int __getnstimeofday64(struct timespec64 *ts) in __getnstimeofday64() 658 void getnstimeofday64(struct timespec64 *ts) in getnstimeofday64() 777 void ktime_get_ts64(struct timespec64 *ts) in ktime_get_ts64() 780 struct timespec64 tomono; in ktime_get_ts64() [all …]
|
D | ntp.c | 102 static struct timespec64 pps_fbase; /* beginning of the last freq interval */ 495 int __weak update_persistent_clock64(struct timespec64 now64) in update_persistent_clock64() 511 struct timespec64 now; in sync_cmos_clock() 512 struct timespec64 next; in sync_cmos_clock() 533 struct timespec64 adjust = now; in sync_cmos_clock() 578 static inline void process_adj_status(struct timex *txc, struct timespec64 *ts) in process_adj_status() 602 struct timespec64 *ts, in process_adjtimex_modes() 699 int __do_adjtimex(struct timex *txc, struct timespec64 *ts, s32 *time_tai) in __do_adjtimex() 782 static inline struct pps_normtime pps_normalize_ts(struct timespec64 ts) in pps_normalize_ts() 951 void __hardpps(const struct timespec64 *phase_ts, const struct timespec64 *raw_ts) in __hardpps()
|
D | time.c | 441 void set_normalized_timespec64(struct timespec64 *ts, time64_t sec, s64 nsec) in set_normalized_timespec64() 469 struct timespec64 ns_to_timespec64(const s64 nsec) in ns_to_timespec64() 471 struct timespec64 ts; in ns_to_timespec64() 475 return (struct timespec64) {0, 0}; in ns_to_timespec64() 568 timespec64_to_jiffies(const struct timespec64 *value) in timespec64_to_jiffies() 575 jiffies_to_timespec64(const unsigned long jiffies, struct timespec64 *value) in jiffies_to_timespec64()
|
D | timekeeping_internal.h | 10 extern void tk_debug_account_sleep_time(struct timespec64 *t);
|
D | timekeeping_debug.c | 70 void tk_debug_account_sleep_time(struct timespec64 *t) in tk_debug_account_sleep_time()
|
/linux-4.4.14/arch/arm/kernel/ |
D | time.c | 79 static void dummy_clock_access(struct timespec64 *ts) in dummy_clock_access() 88 void read_persistent_clock64(struct timespec64 *ts) in read_persistent_clock64() 93 void read_boot_clock64(struct timespec64 *ts) in read_boot_clock64()
|
D | vdso.c | 299 struct timespec64 *wtm = &tk->wall_to_monotonic; in update_vsyscall()
|
/linux-4.4.14/arch/arm/plat-omap/ |
D | counter_32k.c | 53 static struct timespec64 persistent_ts; 57 static void omap_read_persistent_clock64(struct timespec64 *ts) in omap_read_persistent_clock64()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_ptp.c | 59 static void i40e_ptp_read(struct i40e_pf *pf, struct timespec64 *ts) in i40e_ptp_read() 83 static void i40e_ptp_write(struct i40e_pf *pf, const struct timespec64 *ts) in i40e_ptp_write() 161 struct timespec64 now, then = ns_to_timespec64(delta); in i40e_ptp_adjtime() 168 i40e_ptp_write(pf, (const struct timespec64 *)&now); in i40e_ptp_adjtime() 183 static int i40e_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in i40e_ptp_gettime() 204 const struct timespec64 *ts) in i40e_ptp_settime() 674 struct timespec64 ts; in i40e_ptp_init()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | timex.h | 112 void tod_to_timeval(__u64 todval, struct timespec64 *xt); 115 void stck_to_timespec64(unsigned long long stck, struct timespec64 *ts) in stck_to_timespec64()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 120 struct timespec64 *ts) in igb_ptp_read_i210() 138 const struct timespec64 *ts) in igb_ptp_write_i210() 273 struct timespec64 now, then = ns_to_timespec64(delta); in igb_ptp_adjtime_i210() 279 igb_ptp_write_i210(igb, (const struct timespec64 *)&now); in igb_ptp_adjtime_i210() 287 struct timespec64 *ts) in igb_ptp_gettime_82576() 306 struct timespec64 *ts) in igb_ptp_gettime_i210() 322 const struct timespec64 *ts) in igb_ptp_settime_82576() 341 const struct timespec64 *ts) in igb_ptp_settime_i210() 482 struct timespec64 ts; in igb_ptp_feature_enable_i210() 660 struct timespec64 ts; in igb_ptp_overflow_check() [all …]
|
D | igb.h | 447 struct timespec64 start; 448 struct timespec64 period;
|
D | igb_main.c | 5395 struct timespec64 ts; in igb_tsync_interrupt()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | ptp.c | 109 static int e1000e_phc_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in e1000e_phc_gettime() 134 const struct timespec64 *ts) in e1000e_phc_settime() 172 struct timespec64 ts; in e1000e_systim_overflow_work()
|
/linux-4.4.14/drivers/rtc/ |
D | class.c | 48 static struct timespec64 old_rtc, old_system, old_delta; 55 struct timespec64 delta, delta_delta; in rtc_suspend() 101 struct timespec64 new_system, new_rtc; in rtc_resume() 102 struct timespec64 sleep_time; in rtc_resume()
|
D | systohc.c | 23 int rtc_set_ntp_time(struct timespec64 now) in rtc_set_ntp_time()
|
D | hctosys.c | 31 struct timespec64 tv64 = { in rtc_hctosys()
|
D | rtc-lib.c | 140 struct timespec64 ts; in rtc_ktime_to_tm()
|
/linux-4.4.14/drivers/net/ethernet/renesas/ |
D | ravb_ptp.c | 29 static int ravb_ptp_time_read(struct ravb_private *priv, struct timespec64 *ts) in ravb_ptp_time_read() 47 const struct timespec64 *ts) in ravb_ptp_time_write() 135 struct timespec64 ts; in ravb_ptp_adjtime() 152 static int ravb_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts) in ravb_ptp_gettime64() 167 const struct timespec64 *ts) in ravb_ptp_settime64()
|
D | ravb_main.c | 467 struct timespec64 ts; in ravb_get_tx_tstamp() 507 struct timespec64 ts; in ravb_rx()
|
/linux-4.4.14/drivers/input/misc/ |
D | hp_sdc_rtc.c | 201 static inline int hp_sdc_rtc_read_rt(struct timespec64 *res) { in hp_sdc_rtc_read_rt() 220 static inline int hp_sdc_rtc_read_fhs(struct timespec64 *res) { in hp_sdc_rtc_read_fhs() 237 static inline int hp_sdc_rtc_read_mt(struct timespec64 *res) { in hp_sdc_rtc_read_mt() 254 static inline int hp_sdc_rtc_read_dt(struct timespec64 *res) { in hp_sdc_rtc_read_dt() 271 static inline int hp_sdc_rtc_read_ct(struct timespec64 *res) { in hp_sdc_rtc_read_ct() 436 struct timespec64 tv; in hp_sdc_rtc_proc_show()
|
/linux-4.4.14/arch/arm/include/asm/mach/ |
D | time.h | 15 typedef void (*clock_access_fn)(struct timespec64 *);
|
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ptp.c | 108 static int stmmac_get_time(struct ptp_clock_info *ptp, struct timespec64 *ts) in stmmac_get_time() 136 const struct timespec64 *ts) in stmmac_set_time()
|
D | stmmac_main.c | 427 struct timespec64 now; in stmmac_hwtstamp_ioctl()
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ptp.c | 182 static int xgbe_gettime(struct ptp_clock_info *info, struct timespec64 *ts) in xgbe_gettime() 202 const struct timespec64 *ts) in xgbe_settime()
|
/linux-4.4.14/net/dccp/ |
D | probe.c | 51 struct timespec64 tstart; 58 struct timespec64 now; in printl()
|
/linux-4.4.14/drivers/clocksource/ |
D | tegra20_timer.c | 54 static struct timespec64 persistent_ts; 135 static void tegra_read_persistent_clock64(struct timespec64 *ts) in tegra_read_persistent_clock64()
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | ptp.c | 326 static int efx_phc_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts); 328 const struct timespec64 *e_ts); 404 struct timespec64 ts = ns_to_timespec64(ns); in efx_ptp_ns_to_s_ns() 434 struct timespec64 ts = ns_to_timespec64(ns); in efx_ptp_ns_to_s27() 649 struct timespec64 limit; in efx_ptp_send_times() 651 struct timespec64 start; in efx_ptp_send_times() 662 struct timespec64 update_time; in efx_ptp_send_times() 726 struct timespec64 delta; in efx_ptp_process_times() 740 struct timespec64 wait; in efx_ptp_process_times() 1850 static int efx_phc_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in efx_phc_gettime() [all …]
|
/linux-4.4.14/drivers/misc/mic/cosm/ |
D | cosm_main.h | 48 struct timespec64 timespec;
|
/linux-4.4.14/drivers/staging/lustre/lnet/selftest/ |
D | ping_test.c | 95 struct timespec64 ts; in ping_client_prep_rpc() 127 struct timespec64 ts; in ping_client_done_rpc()
|
D | brw_test.c | 137 struct timespec64 ts; in brw_inject_one_error()
|
/linux-4.4.14/drivers/net/ethernet/ti/ |
D | cpts.c | 170 static int cpts_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in cpts_ptp_gettime() 186 const struct timespec64 *ts) in cpts_ptp_settime() 223 struct timespec64 ts; in cpts_overflow_check()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 168 struct timespec64 *ts) in mlx4_en_phc_gettime() 193 const struct timespec64 *ts) in mlx4_en_phc_settime()
|
/linux-4.4.14/drivers/ptp/ |
D | ptp_ixp46x.c | 178 static int ptp_ixp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_ixp_gettime() 198 const struct timespec64 *ts) in ptp_ixp_settime()
|
D | ptp_clock.c | 110 struct timespec64 ts = timespec_to_timespec64(*tp); in ptp_clock_settime() 118 struct timespec64 ts; in ptp_clock_gettime()
|
D | ptp_pch.c | 452 static int ptp_pch_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_pch_gettime() 470 const struct timespec64 *ts) in ptp_pch_settime()
|
D | ptp_chardev.c | 127 struct timespec64 ts; in ptp_ioctl()
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 115 struct timespec64 ts; in fec_ptp_enable_pps() 392 static int fec_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in fec_ptp_gettime() 417 const struct timespec64 *ts) in fec_ptp_settime()
|
D | gianfar_ptp.c | 326 struct timespec64 *ts) in ptp_gianfar_gettime() 344 const struct timespec64 *ts) in ptp_gianfar_settime() 442 struct timespec64 now; in gianfar_ptp_probe()
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_ptp.c | 289 static int fm10k_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in fm10k_ptp_gettime() 307 const struct timespec64 *ts) in fm10k_ptp_settime()
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
D | super25.c | 95 struct timespec64 ts; in init_lustre_lite()
|
D | lproc_llite.c | 1147 struct timespec64 now; in ll_rw_extents_stats_pp_seq_show() 1226 struct timespec64 now; in ll_rw_extents_stats_seq_show() 1404 struct timespec64 now; in ll_rw_offset_stats_seq_show()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 282 static int ixgbe_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ixgbe_ptp_gettime() 307 const struct timespec64 *ts) in ixgbe_ptp_settime() 407 struct timespec64 ts; in ixgbe_ptp_overflow_check()
|
/linux-4.4.14/drivers/staging/rts5208/ |
D | rtsx.h | 148 struct timespec64 ts64; in get_current_time()
|
/linux-4.4.14/arch/tile/include/gxio/ |
D | mpipe.h | 1833 struct timespec64 *ts); 1843 const struct timespec64 *ts);
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | lustre_handles.c | 183 struct timespec64 ts; in class_handle_init()
|
D | lprocfs_status.c | 1146 struct timespec64 now; in lprocfs_stats_seq_show()
|
/linux-4.4.14/arch/mips/lasat/ |
D | sysctl.c | 63 struct timespec64 ts; in proc_dolasatrtc()
|
/linux-4.4.14/arch/tile/gxio/ |
D | mpipe.c | 434 const struct timespec64 *ts) in gxio_mpipe_set_timestamp() 444 struct timespec64 *ts) in gxio_mpipe_get_timestamp()
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/ |
D | linux-tracefile.c | 194 struct timespec64 ts; in cfs_set_ptldebug_header()
|
/linux-4.4.14/drivers/net/phy/ |
D | dp83640.c | 261 const struct timespec64 *ts, u16 cmd) in tdr_write() 415 struct timespec64 ts; in ptp_dp83640_adjtime() 432 struct timespec64 *ts) in ptp_dp83640_gettime() 457 const struct timespec64 *ts) in ptp_dp83640_settime() 618 struct timespec64 ts; in recalibrate()
|
/linux-4.4.14/drivers/staging/android/ |
D | sync_debug.c | 99 struct timespec64 ts64 = in sync_print_pt()
|
/linux-4.4.14/drivers/staging/lustre/lustre/osc/ |
D | lproc_osc.c | 601 struct timespec64 now; in osc_rpc_stats_seq_show() 722 struct timespec64 now; in osc_stats_seq_show()
|
/linux-4.4.14/arch/s390/kernel/ |
D | time.c | 82 void tod_to_timeval(__u64 todval, struct timespec64 *xt) in tod_to_timeval() 181 void read_persistent_clock64(struct timespec64 *ts) in read_persistent_clock64() 186 void read_boot_clock64(struct timespec64 *ts) in read_boot_clock64()
|
D | debug.c | 1460 struct timespec64 time_spec; in debug_dflt_header_fn()
|
/linux-4.4.14/drivers/char/ipmi/ |
D | ipmi_si_intf.c | 340 struct timespec64 t; in debug_timestamp() 1023 static inline void ipmi_si_set_not_busy(struct timespec64 *ts) in ipmi_si_set_not_busy() 1027 static inline int ipmi_si_is_busy(struct timespec64 *ts) in ipmi_si_is_busy() 1034 struct timespec64 *busy_until) in ipmi_thread_busy_wait() 1046 struct timespec64 now; in ipmi_thread_busy_wait() 1072 struct timespec64 busy_until; in ipmi_thread()
|
D | ipmi_ssif.c | 1045 struct timespec64 t; in sender()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | service.c | 1591 struct timespec64 work_start; in ptlrpc_server_handle_request() 1592 struct timespec64 work_end; in ptlrpc_server_handle_request() 1593 struct timespec64 timediff; in ptlrpc_server_handle_request() 1594 struct timespec64 arrived; in ptlrpc_server_handle_request()
|
D | client.c | 1167 struct timespec64 work_start; in after_reply()
|
/linux-4.4.14/drivers/net/ethernet/adi/ |
D | bfin_mac.c | 986 static int bfin_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in bfin_ptp_gettime() 1005 const struct timespec64 *ts) in bfin_ptp_settime()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_chardev.c | 736 struct timespec64 time; in kfd_ioctl_get_clock_counters()
|
/linux-4.4.14/drivers/net/ethernet/tile/ |
D | tilegx.c | 843 struct timespec64 *ts) in ptp_mpipe_gettime() 855 const struct timespec64 *ts) in ptp_mpipe_settime()
|
/linux-4.4.14/net/netfilter/ |
D | nfnetlink_log.c | 544 struct timespec64 kts = ktime_to_timespec64(skb->tstamp); in __build_packet_message()
|
D | nfnetlink_queue.c | 504 struct timespec64 kts = ktime_to_timespec64(skb->tstamp); in nfqnl_build_packet_message()
|
/linux-4.4.14/drivers/power/ |
D | ab8500_fg.c | 387 struct timespec64 ts64; in ab8500_fg_add_cap_sample() 447 struct timespec64 ts64; in ab8500_fg_fill_cap_sample()
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
D | lustre_net.h | 1437 struct timespec64 rq_arrival_time;
|
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/ |
D | router.c | 239 struct timespec64 ts; in lnet_shuffle_seed()
|
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/ |
D | lio_main.c | 1526 struct timespec64 *ts) in liquidio_ptp_gettime() 1551 const struct timespec64 *ts) in liquidio_ptp_settime()
|
/linux-4.4.14/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 1963 struct timespec64 ts; in ff_layout_encode_nfstime()
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
D | dummy_hcd.c | 836 struct timespec64 ts64; in dummy_g_get_frame()
|
/linux-4.4.14/Documentation/DocBook/ |
D | device-drivers.xml.db | 108 API-ktime-to-timespec64-cond
|
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 2752 struct timespec64 tv; in kiblnd_startup()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 13715 static int bnx2x_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in bnx2x_ptp_gettime() 13730 const struct timespec64 *ts) in bnx2x_ptp_settime()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | tg3.c | 6220 static int tg3_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in tg3_ptp_gettime() 6236 const struct timespec64 *ts) in tg3_ptp_settime()
|