Home
last modified time | relevance | path

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

12345678910>>...20

/linux/include/linux/
H A Dtime64.h13 struct timespec64 { struct
19 struct timespec64 it_interval; argument
20 struct timespec64 it_value;
46 static inline int timespec64_equal(const struct timespec64 *a, in timespec64_equal()
47 const struct timespec64 *b) in timespec64_equal()
52 static inline bool timespec64_is_epoch(const struct timespec64 *ts) in timespec64_is_epoch()
62 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs) in timespec64_compare()
71 extern void set_normalized_timespec64(struct timespec64 *ts, time64_t sec, s64 nsec);
73 static inline struct timespec64 timespec64_add(struct timespec64 lhs, in timespec64_add()
74 struct timespec64 rhs) in timespec64_add()
[all …]
H A Dtimekeeping.h20 extern int do_settimeofday64(const struct timespec64 *ts);
21 extern int do_sys_settimeofday64(const struct timespec64 *tv,
42 extern void ktime_get_raw_ts64(struct timespec64 *ts);
43 extern void ktime_get_ts64(struct timespec64 *ts);
44 extern void ktime_get_real_ts64(struct timespec64 *tv);
45 extern void ktime_get_coarse_ts64(struct timespec64 *ts);
46 extern void ktime_get_coarse_real_ts64(struct timespec64 *ts);
47 extern void ktime_get_clock_ts64(clockid_t id, struct timespec64 *ts);
50 extern void ktime_get_coarse_real_ts64_mg(struct timespec64 *ts);
51 extern void ktime_get_real_ts64_mg(struct timespec64 *ts);
[all …]
H A Dtime_namespace.h19 struct timespec64 monotonic;
20 struct timespec64 boottime;
68 struct timespec64 val;
74 static inline void timens_add_monotonic(struct timespec64 *ts) in timens_add_monotonic()
81 static inline void timens_add_boottime(struct timespec64 *ts) in timens_add_boottime()
95 static inline void timens_sub_boottime(struct timespec64 *ts) in timens_sub_boottime()
162 static inline void timens_add_monotonic(struct timespec64 *ts) { } in timens_add_monotonic()
163 static inline void timens_add_boottime(struct timespec64 *ts) { } in timens_add_boottime()
170 static inline void timens_sub_boottime(struct timespec64 *ts) { } in timens_sub_boottime()
H A Ddelayacct.h73 struct timespec64 blkio_delay_max_ts;
74 struct timespec64 swapin_delay_max_ts;
75 struct timespec64 freepages_delay_max_ts;
76 struct timespec64 thrashing_delay_max_ts;
77 struct timespec64 compact_delay_max_ts;
78 struct timespec64 wpcopy_delay_max_ts;
79 struct timespec64 irq_delay_max_ts;
H A Dptp_clock_kernel.h53 struct timespec64 pre_ts;
54 struct timespec64 post_ts;
208 int (*gettime64)(struct ptp_clock_info *ptp, struct timespec64 *ts);
209 int (*gettimex64)(struct ptp_clock_info *ptp, struct timespec64 *ts,
213 int (*settime64)(struct ptp_clock_info *p, const struct timespec64 *ts);
214 int (*getcycles64)(struct ptp_clock_info *ptp, struct timespec64 *ts);
215 int (*getcyclesx64)(struct ptp_clock_info *ptp, struct timespec64 *ts,
H A Dstat.h47 struct timespec64 atime;
48 struct timespec64 mtime;
49 struct timespec64 ctime;
50 struct timespec64 btime; /* File creation time */
H A Dptp_kvm.h14 struct timespec64;
18 int kvm_arch_ptp_get_clock(struct timespec64 *ts);
20 struct timespec64 *tspec, enum clocksource_ids *cs_id);
H A Dpps_kernel.h37 struct timespec64 ts_raw;
39 struct timespec64 ts_real;
94 struct timespec64 ts) in timespec_to_pps_ktime()
112 static inline void pps_sub_ts(struct pps_event_time *ts, struct timespec64 delta) in pps_sub_ts()
/linux/kernel/time/
H A Dtime.c83 struct timespec64 tv; in SYSCALL_DEFINE1()
121 struct timespec64 tv; in SYSCALL_DEFINE1()
144 struct timespec64 ts; in SYSCALL_DEFINE2()
169 int do_sys_settimeofday64(const struct timespec64 *tv, const struct timezone *tz) in do_sys_settimeofday64()
202 struct timespec64 new_ts; in SYSCALL_DEFINE2()
228 struct timespec64 ts; in COMPAT_SYSCALL_DEFINE2()
246 struct timespec64 new_ts; in COMPAT_SYSCALL_DEFINE2()
467 struct timespec64 ts = ns_to_timespec64(nsec); in ns_to_kernel_old_timeval()
490 void set_normalized_timespec64(struct timespec64 *ts, time64_t sec, s64 nsec) in set_normalized_timespec64()
518 struct timespec64 ns_to_timespec64(s64 nsec) in ns_to_timespec64()
[all …]
H A Dposix-stubs.c29 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 Dtimekeeping.c65 static inline bool tk_get_aux_ts64(unsigned int tkid, struct timespec64 *ts) in tk_get_aux_ts64()
75 static inline bool tk_get_aux_ts64(unsigned int tkid, struct timespec64 *ts) in tk_get_aux_ts64()
202 static inline struct timespec64 tk_xtime(const struct timekeeper *tk) in tk_xtime()
204 struct timespec64 ts; in tk_xtime()
211 static inline struct timespec64 tk_xtime_coarse(const struct timekeeper *tk) in tk_xtime_coarse()
213 struct timespec64 ts; in tk_xtime_coarse()
234 static void tk_set_xtime(struct timekeeper *tk, const struct timespec64 *ts) in tk_set_xtime()
241 static void tk_xtime_add(struct timekeeper *tk, const struct timespec64 *ts) in tk_xtime_add()
249 static void tk_set_wall_to_mono(struct timekeeper *tk, struct timespec64 wtm) in tk_set_wall_to_mono()
251 struct timespec64 tmp; in tk_set_wall_to_mono()
[all …]
H A Dposix-timers.h12 struct timespec64 *tp);
14 const struct timespec64 *tp);
17 struct timespec64 *tp);
23 const struct timespec64 *);
H A Dntp_internal.h11 extern int ntp_adjtimex(unsigned int tkid, struct __kernel_timex *txc, const struct timespec64 *ts,
13 extern void __hardpps(const struct timespec64 *phase_ts, const struct timespec64 *raw_ts);
/linux/Documentation/core-api/
H A Dtimekeeping.rst59 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/fs/fat/
H A Dmisc.c204 void fat_time_fat2unix(struct msdos_sb_info *sbi, struct timespec64 *ts, in fat_time_fat2unix()
243 void fat_time_unix2fat(struct msdos_sb_info *sbi, struct timespec64 *ts, in fat_time_unix2fat()
279 static inline struct timespec64 fat_timespec64_trunc_2secs(struct timespec64 ts) in fat_timespec64_trunc_2secs()
281 return (struct timespec64){ ts.tv_sec & ~1ULL, 0 }; in fat_timespec64_trunc_2secs()
287 struct timespec64 fat_truncate_atime(const struct msdos_sb_info *sbi, in fat_truncate_atime()
288 const struct timespec64 *ts) in fat_truncate_atime()
298 return (struct timespec64){ seconds, 0 }; in fat_truncate_atime()
309 void fat_truncate_time(struct inode *inode, struct timespec64 *now, in fat_truncate_time()
313 struct timespec64 ts; in fat_truncate_time()
327 struct timespec64 mtime = fat_timespec64_trunc_2secs(*now); in fat_truncate_time()
/linux/fs/
H A Dutimes.c21 int vfs_utimes(const struct path *path, struct timespec64 *times) in vfs_utimes()
83 struct timespec64 *times, int flags) in do_utimes_path()
108 static int do_utimes_fd(int fd, struct timespec64 *times, int flags) in do_utimes_fd()
134 long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, in do_utimes()
145 struct timespec64 tstimes[2]; in SYSCALL_DEFINE4()
172 struct timespec64 tstimes[2]; in do_futimesat()
211 struct timespec64 tv[2]; in SYSCALL_DEFINE2()
233 struct timespec64 tv[2]; in SYSCALL_DEFINE2()
248 struct timespec64 tv[2]; in SYSCALL_DEFINE4()
265 struct timespec64 tv[2]; in do_compat_futimesat()
H A Dselect.c53 static long __estimate_accuracy(struct timespec64 *tv) in __estimate_accuracy()
76 u64 select_estimate_accuracy(struct timespec64 *tv) in select_estimate_accuracy()
79 struct timespec64 now; in select_estimate_accuracy()
271 int poll_select_set_timeout(struct timespec64 *to, time64_t sec, long nsec) in poll_select_set_timeout()
273 struct timespec64 ts = {.tv_sec = sec, .tv_nsec = nsec}; in poll_select_set_timeout()
295 static int poll_select_finish(struct timespec64 *end_time, in poll_select_finish()
299 struct timespec64 rts; in poll_select_finish()
483 static noinline_for_stack int do_select(int n, fd_set_bits *fds, struct timespec64 *end_time) in do_select()
622 fd_set __user *exp, struct timespec64 *end_time) in core_sys_select()
703 struct timespec64 end_time, *to = NULL; in kern_select()
[all …]
/linux/drivers/ptp/
H A Dptp_s390.c23 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 Dptp_kvm_common.c32 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()
/linux/arch/x86/include/asm/
H A Dx86_init.h201 struct timespec64;
318 void (*get_wallclock)(struct timespec64 *ts);
319 int (*set_wallclock)(const struct timespec64 *ts);
352 extern int set_rtc_noop(const struct timespec64 *now);
353 extern void get_rtc_noop(struct timespec64 *now);
/linux/drivers/net/ethernet/renesas/
H A Drcar_gen4_ptp.c56 struct timespec64 *ts) in _rcar_gen4_ptp_gettime()
68 struct timespec64 *ts) in rcar_gen4_ptp_gettime()
82 const struct timespec64 *ts) in _rcar_gen4_ptp_settime()
97 const struct timespec64 *ts) in rcar_gen4_ptp_settime()
112 struct timespec64 ts; in rcar_gen4_ptp_adjtime()
208 struct timespec64 *ts) in rcar_gen4_ptp_gettime64()
/linux/arch/x86/kernel/
H A Drtc.c35 int mach_set_cmos_time(const struct timespec64 *now) in mach_set_cmos_time()
56 void mach_get_cmos_time(struct timespec64 *now) in mach_get_cmos_time()
102 int update_persistent_clock64(struct timespec64 now) in update_persistent_clock64()
108 void read_persistent_clock64(struct timespec64 *ts) in read_persistent_clock64()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_clock.c23 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/fs/smb/client/
H A Dnetmisc.c118 struct timespec64
121 struct timespec64 ts; in cifs_NTtimeToUnix()
149 cifs_UnixTimeToNT(struct timespec64 t) in cifs_UnixTimeToNT()
159 struct timespec64 cnvrtDosUnixTm(__le16 le_date, __le16 le_time, int offset) in cnvrtDosUnixTm()
161 struct timespec64 ts; in cnvrtDosUnixTm()
/linux/include/trace/events/
H A Dtimestamp.h16 struct timespec64 *ctime),
44 struct timespec64 *ctime),
49 struct timespec64 *ctime),
90 struct timespec64 *ctime,
91 struct timespec64 *mtime),

12345678910>>...20