| /linux/kernel/time/ |
| H A D | posix-stubs.c | 29 struct timespec64 new_tp; in SYSCALL_DEFINE2() 39 static int do_clock_gettime(clockid_t which_clock, struct timespec64 *tp) in do_clock_gettime() 64 struct timespec64 kernel_tp; in SYSCALL_DEFINE2() 77 struct timespec64 rtn_tp = { in SYSCALL_DEFINE2() 98 struct timespec64 t; in SYSCALL_DEFINE4() 132 struct timespec64 new_tp; in SYSCALL_DEFINE2() 146 struct timespec64 kernel_tp; in SYSCALL_DEFINE2() 160 struct timespec64 rtn_tp = { in SYSCALL_DEFINE2() 181 struct timespec64 t; in SYSCALL_DEFINE4()
|
| H A D | ntp_internal.h | 13 extern int ntp_adjtimex(unsigned int tkid, struct __kernel_timex *txc, const struct timespec64 *ts, 15 extern void __hardpps(const struct timespec64 *phase_ts, const struct timespec64 *raw_ts);
|
| H A D | ntp.c | 88 struct timespec64 pps_fbase; 782 struct timespec64 *to_set, in ntp_adjtimex() 783 const struct timespec64 *now) in ntp_adjtimex() 787 struct timespec64 delay = {.tv_sec = -1, in ntp_adjtimex() 806 int __weak update_persistent_clock64(struct timespec64 now64) in ntp_adjtimex() 811 static inline int update_persistent_clock64(struct timespec64 now64) in ntp_adjtimex() 819 static int update_rtc(struct timespec64 *to_set, unsigned long *offset_nsec) in ntp_adjtimex() 846 static inline int update_rtc(struct timespec64 *to_set, unsigned long *offset_nsec) in ntp_adjtimex() 877 struct timespec64 now, to_set; in pps_normalize_ts() 1012 int ntp_adjtimex(unsigned int tkid, struct __kernel_timex *txc, const struct timespec64 *t in hardpps_update_phase() [all...] |
| /linux/Documentation/core-api/ |
| H A D | timekeeping.rst | 59 nanosecond, timespec64, and second output 75 .. c:function:: void ktime_get_ts64( struct timespec64 * ) 76 void ktime_get_boottime_ts64( struct timespec64 * ) 77 void ktime_get_real_ts64( struct timespec64 * ) 78 void ktime_get_clocktai_ts64( struct timespec64 * ) 79 void ktime_get_raw_ts64( struct timespec64 * ) 81 Same above, but returns the time in a 'struct timespec64', split 112 .. c:function:: void ktime_get_coarse_ts64( struct timespec64 * ) 113 void ktime_get_coarse_boottime_ts64( struct timespec64 * ) 114 void ktime_get_coarse_real_ts64( struct timespec64 * ) [all …]
|
| /linux/drivers/ptp/ |
| H A D | ptp_kvm_common.c | 32 struct timespec64 tspec; in ptp_kvm_get_time_fn() 80 const struct timespec64 *ts) in ptp_kvm_settime() 85 static int ptp_kvm_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_kvm_gettime() 88 struct timespec64 tspec; in ptp_kvm_gettime() 100 memcpy(ts, &tspec, sizeof(struct timespec64)); in ptp_kvm_gettime()
|
| H A D | ptp_s390.c | 23 static struct timespec64 eitod_to_timespec64(union tod_clock *clk) in eitod_to_timespec64() 28 static struct timespec64 tod_to_timespec64(unsigned long tod) in tod_to_timespec64() 34 struct timespec64 *ts) in ptp_s390_stcke_gettime() 47 struct timespec64 *ts) in ptp_s390_qpt_gettime() 57 const struct timespec64 *ts) in ptp_s390_settime()
|
| H A D | ptp_vclock.c | 75 struct timespec64 *ts) in ptp_vclock_gettime() 90 struct timespec64 *ts, in ptp_vclock_gettimex() 95 struct timespec64 pts; in ptp_vclock_gettimex() 114 const struct timespec64 *ts) in ptp_vclock_settime() 152 struct timespec64 ts; in ptp_vclock_refresh() 178 struct timespec64 ts = {}; in ptp_vclock_read()
|
| H A D | ptp_mock.c | 77 const struct timespec64 *ts) in mock_phc_settime64() 89 static int mock_phc_gettime64(struct ptp_clock_info *info, struct timespec64 *ts) in mock_phc_gettime64() 105 struct timespec64 ts; in mock_phc_refresh()
|
| /linux/include/linux/ |
| H A D | ptp_kvm.h | 14 struct timespec64; 18 int kvm_arch_ptp_get_clock(struct timespec64 *ts); 20 struct timespec64 *tspec, enum clocksource_ids *cs_id);
|
| H A D | posix-clock.h | 44 int (*clock_gettime)(struct posix_clock *pc, struct timespec64 *ts); 46 int (*clock_getres) (struct posix_clock *pc, struct timespec64 *ts); 49 const struct timespec64 *ts);
|
| H A D | time.h | 11 int get_timespec64(struct timespec64 *ts, 13 int put_timespec64(const struct timespec64 *ts, 30 extern long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, int flags);
|
| H A D | poll.h | 107 extern u64 select_estimate_accuracy(struct timespec64 *tv); 112 fd_set __user *exp, struct timespec64 *end_time); 114 extern int poll_select_set_timeout(struct timespec64 *to, time64_t sec,
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_clock.c | 23 static inline u64 timespec_to_us(const struct timespec64 *ts) in timespec_to_us() 28 static inline u64 timespec_to_ms(const struct timespec64 *ts) in timespec_to_ms() 35 struct timespec64 ts; in adf_clock_get_current_time() 43 struct timespec64 ts1, ts2, ts3, ts4; in measure_clock()
|
| /linux/drivers/input/misc/ |
| H A D | hp_sdc_rtc.c | 183 static inline int hp_sdc_rtc_read_rt(struct timespec64 *res) { in hp_sdc_rtc_read_rt() 202 static inline int hp_sdc_rtc_read_fhs(struct timespec64 *res) { in hp_sdc_rtc_read_fhs() 219 static inline int hp_sdc_rtc_read_mt(struct timespec64 *res) { in hp_sdc_rtc_read_mt() 236 static inline int hp_sdc_rtc_read_dt(struct timespec64 *res) { in hp_sdc_rtc_read_dt() 253 static inline int hp_sdc_rtc_read_ct(struct timespec64 *res) { in hp_sdc_rtc_read_ct() 273 struct timespec64 tv; in hp_sdc_rtc_proc_show()
|
| /linux/drivers/net/ethernet/cadence/ |
| H A D | macb_ptp.c | 43 static int gem_tsu_get_time(struct ptp_clock_info *ptp, struct timespec64 *ts, in gem_tsu_get_time() 80 const struct timespec64 *ts) in gem_tsu_set_time() 162 struct timespec64 now, then = ns_to_timespec64(delta); in gem_ptp_adjtime() 175 (const struct timespec64 *)&now); in gem_ptp_adjtime() 224 struct timespec64 ts; in gem_ptp_init_tsu() 249 u32 dma_desc_ts_2, struct timespec64 *ts) in gem_hw_timestamp() 251 struct timespec64 tsu; in gem_hw_timestamp() 281 struct timespec64 ts; in gem_ptp_rxstamp() 302 struct timespec64 ts; in gem_ptp_txstamp()
|
| /linux/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2_tai.c | 63 struct timespec64 stamp; 90 static void mvpp22_tai_read_ts(struct timespec64 *ts, void __iomem *base) in mvpp22_tai_read_ts() 104 static void mvpp2_tai_write_tlv(const struct timespec64 *ts, u32 frac, in mvpp2_tai_write_tlv() 208 struct timespec64 ts; in mvpp22_tai_adjtime() 236 struct timespec64 *ts, in mvpp22_tai_gettimex64() 277 const struct timespec64 *ts) in mvpp22_tai_settime64() 348 struct timespec64 ts; in mvpp22_tai_tstamp()
|
| /linux/fs/fat/ |
| H A D | fat_test.c | 56 struct timespec64 ts; 65 struct timespec64 ts; 74 struct timespec64 ts; 75 struct timespec64 expected; 260 struct timespec64 ts; in fat_time_fat2unix_test() 334 struct timespec64 ts = { in fat_time_unix2fat_no_csec_test() 356 struct timespec64 actual; in fat_truncate_atime_test()
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz_ptp.h | 30 struct timespec64 clock_time; 32 struct timespec64 perout_target_time_first; /* start of first pulse */ 33 struct timespec64 perout_period;
|
| /linux/fs/nfsd/ |
| H A D | state.h | 188 struct timespec64 ncf_cb_mtime; 189 struct timespec64 ncf_cb_atime; 300 struct timespec64 dl_atime; 301 struct timespec64 dl_mtime; 302 struct timespec64 dl_ctime; 326 bool nfsd4_vet_deleg_time(struct timespec64 *cb, const struct timespec64 *orig, 327 const struct timespec64 *now); 548 struct timespec64 cl_nii_time;
|
| /linux/fs/xfs/ |
| H A D | xfs_exchrange.h | 32 struct timespec64 file2_mtime; 33 struct timespec64 file2_ctime;
|
| /linux/arch/arm/kernel/ |
| H A D | time.c | 63 static void dummy_clock_access(struct timespec64 *ts) in dummy_clock_access() 71 void read_persistent_clock64(struct timespec64 *ts) in read_persistent_clock64()
|
| /linux/arch/x86/include/asm/ |
| H A D | mc146818rtc.h | 98 extern int mach_set_cmos_time(const struct timespec64 *now); 99 extern void mach_get_cmos_time(struct timespec64 *now);
|
| /linux/fs/smb/server/ |
| H A D | misc.c | 323 struct timespec64 ksmbd_NTtimeToUnix(__le64 ntutc) in ksmbd_NTtimeToUnix() 325 struct timespec64 ts; in ksmbd_NTtimeToUnix() 351 inline u64 ksmbd_UnixTimeToNT(struct timespec64 t) in ksmbd_UnixTimeToNT() 359 struct timespec64 ts; in ksmbd_systime()
|
| /linux/include/soc/mscc/ |
| H A D | ocelot_ptp.h | 48 int ocelot_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts); 50 const struct timespec64 *ts);
|
| /linux/fs/isofs/ |
| H A D | util.c | 19 struct timespec64 iso_date(u8 *p, int flags) in iso_date() 22 struct timespec64 ts; in iso_date()
|