Home
last modified time | relevance | path

Searched refs:timespec64 (Results 1 – 84 of 84) sorted by relevance

/linux-4.4.14/include/linux/
Dtime64.h14 # 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 …]
Dtimekeeping.h13 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 …]
Dpps_kernel.h51 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()
Dtimex.h155 extern void hardpps(const struct timespec64 *, const struct timespec64 *);
Dtimekeeper_internal.h88 struct timespec64 wall_to_monotonic;
95 struct timespec64 raw_time;
Dptp_clock_kernel.h107 int (*gettime64)(struct ptp_clock_info *ptp, struct timespec64 *ts);
108 int (*settime64)(struct ptp_clock_info *p, const struct timespec64 *ts);
Djiffies.h412 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()
Dktime.h87 static inline ktime_t timespec64_to_ktime(struct timespec64 ts) in timespec64_to_ktime()
264 struct timespec64 *ts) in ktime_to_timespec64_cond()
Drtc.h171 extern int rtc_set_ntp_time(struct timespec64 now);
/linux-4.4.14/kernel/time/
Dntp_internal.h11 extern int __do_adjtimex(struct timex *, struct timespec64 *, s32 *);
12 extern void __hardpps(const struct timespec64 *, const struct timespec64 *);
Dtimekeeping.c75 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 …]
Dntp.c102 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()
Dtime.c441 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()
Dtimekeeping_internal.h10 extern void tk_debug_account_sleep_time(struct timespec64 *t);
Dtimekeeping_debug.c70 void tk_debug_account_sleep_time(struct timespec64 *t) in tk_debug_account_sleep_time()
/linux-4.4.14/arch/arm/kernel/
Dtime.c79 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()
Dvdso.c299 struct timespec64 *wtm = &tk->wall_to_monotonic; in update_vsyscall()
/linux-4.4.14/arch/arm/plat-omap/
Dcounter_32k.c53 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/
Di40e_ptp.c59 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/
Dtimex.h112 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/
Digb_ptp.c120 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 …]
Digb.h447 struct timespec64 start;
448 struct timespec64 period;
Digb_main.c5395 struct timespec64 ts; in igb_tsync_interrupt()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dptp.c109 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/
Dclass.c48 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()
Dsystohc.c23 int rtc_set_ntp_time(struct timespec64 now) in rtc_set_ntp_time()
Dhctosys.c31 struct timespec64 tv64 = { in rtc_hctosys()
Drtc-lib.c140 struct timespec64 ts; in rtc_ktime_to_tm()
/linux-4.4.14/drivers/net/ethernet/renesas/
Dravb_ptp.c29 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()
Dravb_main.c467 struct timespec64 ts; in ravb_get_tx_tstamp()
507 struct timespec64 ts; in ravb_rx()
/linux-4.4.14/drivers/input/misc/
Dhp_sdc_rtc.c201 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/
Dtime.h15 typedef void (*clock_access_fn)(struct timespec64 *);
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.c108 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()
Dstmmac_main.c427 struct timespec64 now; in stmmac_hwtstamp_ioctl()
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-ptp.c182 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/
Dprobe.c51 struct timespec64 tstart;
58 struct timespec64 now; in printl()
/linux-4.4.14/drivers/clocksource/
Dtegra20_timer.c54 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/
Dptp.c326 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/
Dcosm_main.h48 struct timespec64 timespec;
/linux-4.4.14/drivers/staging/lustre/lnet/selftest/
Dping_test.c95 struct timespec64 ts; in ping_client_prep_rpc()
127 struct timespec64 ts; in ping_client_done_rpc()
Dbrw_test.c137 struct timespec64 ts; in brw_inject_one_error()
/linux-4.4.14/drivers/net/ethernet/ti/
Dcpts.c170 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/
Den_clock.c168 struct timespec64 *ts) in mlx4_en_phc_gettime()
193 const struct timespec64 *ts) in mlx4_en_phc_settime()
/linux-4.4.14/drivers/ptp/
Dptp_ixp46x.c178 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()
Dptp_clock.c110 struct timespec64 ts = timespec_to_timespec64(*tp); in ptp_clock_settime()
118 struct timespec64 ts; in ptp_clock_gettime()
Dptp_pch.c452 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()
Dptp_chardev.c127 struct timespec64 ts; in ptp_ioctl()
/linux-4.4.14/drivers/net/ethernet/freescale/
Dfec_ptp.c115 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()
Dgianfar_ptp.c326 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/
Dfm10k_ptp.c289 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/
Dsuper25.c95 struct timespec64 ts; in init_lustre_lite()
Dlproc_llite.c1147 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/
Dixgbe_ptp.c282 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/
Drtsx.h148 struct timespec64 ts64; in get_current_time()
/linux-4.4.14/arch/tile/include/gxio/
Dmpipe.h1833 struct timespec64 *ts);
1843 const struct timespec64 *ts);
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dlustre_handles.c183 struct timespec64 ts; in class_handle_init()
Dlprocfs_status.c1146 struct timespec64 now; in lprocfs_stats_seq_show()
/linux-4.4.14/arch/mips/lasat/
Dsysctl.c63 struct timespec64 ts; in proc_dolasatrtc()
/linux-4.4.14/arch/tile/gxio/
Dmpipe.c434 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/
Dlinux-tracefile.c194 struct timespec64 ts; in cfs_set_ptldebug_header()
/linux-4.4.14/drivers/net/phy/
Ddp83640.c261 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/
Dsync_debug.c99 struct timespec64 ts64 = in sync_print_pt()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dlproc_osc.c601 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/
Dtime.c82 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()
Ddebug.c1460 struct timespec64 time_spec; in debug_dflt_header_fn()
/linux-4.4.14/drivers/char/ipmi/
Dipmi_si_intf.c340 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()
Dipmi_ssif.c1045 struct timespec64 t; in sender()
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dservice.c1591 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()
Dclient.c1167 struct timespec64 work_start; in after_reply()
/linux-4.4.14/drivers/net/ethernet/adi/
Dbfin_mac.c986 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/
Dkfd_chardev.c736 struct timespec64 time; in kfd_ioctl_get_clock_counters()
/linux-4.4.14/drivers/net/ethernet/tile/
Dtilegx.c843 struct timespec64 *ts) in ptp_mpipe_gettime()
855 const struct timespec64 *ts) in ptp_mpipe_settime()
/linux-4.4.14/net/netfilter/
Dnfnetlink_log.c544 struct timespec64 kts = ktime_to_timespec64(skb->tstamp); in __build_packet_message()
Dnfnetlink_queue.c504 struct timespec64 kts = ktime_to_timespec64(skb->tstamp); in nfqnl_build_packet_message()
/linux-4.4.14/drivers/power/
Dab8500_fg.c387 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/
Dlustre_net.h1437 struct timespec64 rq_arrival_time;
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Drouter.c239 struct timespec64 ts; in lnet_shuffle_seed()
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c1526 struct timespec64 *ts) in liquidio_ptp_gettime()
1551 const struct timespec64 *ts) in liquidio_ptp_settime()
/linux-4.4.14/fs/nfs/flexfilelayout/
Dflexfilelayout.c1963 struct timespec64 ts; in ff_layout_encode_nfstime()
/linux-4.4.14/drivers/usb/gadget/udc/
Ddummy_hcd.c836 struct timespec64 ts64; in dummy_g_get_frame()
/linux-4.4.14/Documentation/DocBook/
Ddevice-drivers.xml.db108 API-ktime-to-timespec64-cond
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c2752 struct timespec64 tv; in kiblnd_startup()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c13715 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/
Dtg3.c6220 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()