Home
last modified time | relevance | path

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

12345678910>>...17

/linux-6.3-rc2/include/linux/
A Dtime64.h13 struct timespec64 { struct
19 struct timespec64 it_interval; argument
20 struct timespec64 it_value;
57 static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs) in timespec64_compare()
68 static inline struct timespec64 timespec64_add(struct timespec64 lhs, in timespec64_add()
69 struct timespec64 rhs) in timespec64_add()
71 struct timespec64 ts_delta; in timespec64_add()
80 static inline struct timespec64 timespec64_sub(struct timespec64 lhs, in timespec64_sub()
81 struct timespec64 rhs) in timespec64_sub()
83 struct timespec64 ts_delta; in timespec64_sub()
[all …]
A Dtimekeeping.h19 extern int do_settimeofday64(const struct timespec64 *ts);
20 extern int do_sys_settimeofday64(const struct timespec64 *tv,
41 extern void ktime_get_raw_ts64(struct timespec64 *ts);
42 extern void ktime_get_ts64(struct timespec64 *ts);
43 extern void ktime_get_real_ts64(struct timespec64 *tv);
44 extern void ktime_get_coarse_ts64(struct timespec64 *ts);
45 extern void ktime_get_coarse_real_ts64(struct timespec64 *ts);
47 void getboottime64(struct timespec64 *ts);
118 struct timespec64 ts; in ktime_get_coarse()
305 extern void read_persistent_clock64(struct timespec64 *ts);
[all …]
A Dtime_namespace.h15 struct timespec64 monotonic;
16 struct timespec64 boottime;
60 struct timespec64 val;
66 static inline void timens_add_monotonic(struct timespec64 *ts) in timens_add_monotonic()
73 static inline void timens_add_boottime(struct timespec64 *ts) in timens_add_boottime()
87 static inline void timens_sub_boottime(struct timespec64 *ts) in timens_sub_boottime()
150 static inline void timens_add_monotonic(struct timespec64 *ts) { } in timens_add_monotonic()
151 static inline void timens_add_boottime(struct timespec64 *ts) { } in timens_add_boottime()
158 static inline void timens_sub_boottime(struct timespec64 *ts) { } in timens_sub_boottime()
A Dptp_clock_kernel.h52 struct timespec64 pre_ts;
53 struct timespec64 post_ts;
173 int (*gettime64)(struct ptp_clock_info *ptp, struct timespec64 *ts);
174 int (*gettimex64)(struct ptp_clock_info *ptp, struct timespec64 *ts,
178 int (*settime64)(struct ptp_clock_info *p, const struct timespec64 *ts);
179 int (*getcycles64)(struct ptp_clock_info *ptp, struct timespec64 *ts);
180 int (*getcyclesx64)(struct ptp_clock_info *ptp, struct timespec64 *ts,
A Dstat.h47 struct timespec64 atime;
48 struct timespec64 mtime;
49 struct timespec64 ctime;
50 struct timespec64 btime; /* File creation time */
A Dptp_kvm.h13 struct timespec64;
17 int kvm_arch_ptp_get_clock(struct timespec64 *ts);
19 struct timespec64 *tspec, struct clocksource **cs);
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()
A Dposix-clock.h43 int (*clock_gettime)(struct posix_clock *pc, struct timespec64 *ts);
45 int (*clock_getres) (struct posix_clock *pc, struct timespec64 *ts);
48 const struct timespec64 *ts);
A Dtime.h11 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);
/linux-6.3-rc2/kernel/time/
A Dtime.c83 struct timespec64 tv; in SYSCALL_DEFINE1()
121 struct timespec64 tv; in SYSCALL_DEFINE1()
144 struct timespec64 ts; in SYSCALL_DEFINE2()
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()
508 struct timespec64 ts = { 0, 0 }; in ns_to_timespec64()
765 struct timespec64 timespec64_add_safe(const struct timespec64 lhs, in timespec64_add_safe()
766 const struct timespec64 rhs) in timespec64_add_safe()
768 struct timespec64 res; in timespec64_add_safe()
[all …]
A Dposix-stubs.c63 struct timespec64 new_tp; in SYSCALL_DEFINE2()
73 static int do_clock_gettime(clockid_t which_clock, struct timespec64 *tp) in do_clock_gettime()
98 struct timespec64 kernel_tp; in SYSCALL_DEFINE2()
111 struct timespec64 rtn_tp = { in SYSCALL_DEFINE2()
132 struct timespec64 t; in SYSCALL_DEFINE4()
177 struct timespec64 new_tp; in SYSCALL_DEFINE2()
191 struct timespec64 kernel_tp; in SYSCALL_DEFINE2()
205 struct timespec64 rtn_tp = { in SYSCALL_DEFINE2()
226 struct timespec64 t; in SYSCALL_DEFINE4()
A Dposix-timers.h6 struct timespec64 *tp);
8 const struct timespec64 *tp);
11 struct timespec64 *tp);
17 const struct timespec64 *);
A Dntp_internal.h12 const struct timespec64 *ts,
14 extern void __hardpps(const struct timespec64 *phase_ts, const struct timespec64 *raw_ts);
A Dtimekeeping.c131 struct timespec64 ts; in tk_xtime()
153 struct timespec64 tmp; in tk_set_wall_to_mono()
972 struct timespec64 tomono; in ktime_get_ts64()
1315 struct timespec64 ts_delta, xt; in do_settimeofday64()
1366 struct timespec64 tmp; in timekeeping_inject_offset()
1425 struct timespec64 adjust; in timekeeping_warp_clock()
2086 struct timespec64 ts; in accumulate_nsecs_to_secs()
2271 struct timespec64 now, mono; in ktime_get_coarse_ts64()
2427 struct timespec64 ts; in do_adjtimex()
2439 struct timespec64 delta; in do_adjtimex()
[all …]
A Dntp.c107 static struct timespec64 pps_fbase; /* beginning of the last freq interval */
544 struct timespec64 *to_set, in rtc_tv_nsec_ok()
545 const struct timespec64 *now) in rtc_tv_nsec_ok()
549 struct timespec64 delay = {.tv_sec = -1, in rtc_tv_nsec_ok()
568 int __weak update_persistent_clock64(struct timespec64 now64) in update_persistent_clock64()
573 static inline int update_persistent_clock64(struct timespec64 now64) in update_persistent_clock64()
581 static int update_rtc(struct timespec64 *to_set, unsigned long *offset_nsec) in update_rtc()
630 struct timespec64 now, to_set; in sync_hw_clock()
762 int __do_adjtimex(struct __kernel_timex *txc, const struct timespec64 *ts, in __do_adjtimex()
861 static inline struct pps_normtime pps_normalize_ts(struct timespec64 ts) in pps_normalize_ts()
[all …]
A Dposix-timers.c183 const struct timespec64 *tp) in posix_clock_realtime_set()
227 struct timespec64 *tp) in posix_get_monotonic_coarse()
1080 struct timespec64 new_tp; in SYSCALL_DEFINE2()
1095 struct timespec64 kernel_tp; in SYSCALL_DEFINE2()
1142 struct timespec64 rtn_tp; in SYSCALL_DEFINE2()
1162 struct timespec64 ts; in SYSCALL_DEFINE2()
1177 struct timespec64 ts; in SYSCALL_DEFINE2()
1213 struct timespec64 ts; in SYSCALL_DEFINE2()
1232 const struct timespec64 *rqtp) in common_nsleep()
1259 struct timespec64 t; in SYSCALL_DEFINE4()
[all …]
/linux-6.3-rc2/fs/fat/
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()
304 struct timespec64 fat_truncate_mtime(const struct msdos_sb_info *sbi, in fat_truncate_mtime()
305 const struct timespec64 *ts) in fat_truncate_mtime()
317 struct timespec64 ts; in fat_truncate_time()
[all …]
A Dfat.h129 struct timespec64 i_crtime; /* File creation (birth) time */
336 extern int fat_alloc_new_dir(struct inode *dir, struct timespec64 *ts);
453 extern void fat_time_fat2unix(struct msdos_sb_info *sbi, struct timespec64 *ts,
455 extern void fat_time_unix2fat(struct msdos_sb_info *sbi, struct timespec64 *ts,
457 extern struct timespec64 fat_truncate_atime(const struct msdos_sb_info *sbi,
458 const struct timespec64 *ts);
459 extern struct timespec64 fat_truncate_mtime(const struct msdos_sb_info *sbi,
460 const struct timespec64 *ts);
461 extern int fat_truncate_time(struct inode *inode, struct timespec64 *now,
463 extern int fat_update_time(struct inode *inode, struct timespec64 *now,
/linux-6.3-rc2/fs/ntfs/
A Dtime.h34 static inline sle64 utc2ntfs(const struct timespec64 ts) in utc2ntfs()
52 struct timespec64 ts; in get_current_ntfs_time()
74 static inline struct timespec64 ntfs2utc(const sle64 time) in ntfs2utc()
76 struct timespec64 ts; in ntfs2utc()
/linux-6.3-rc2/Documentation/core-api/
A Dtimekeeping.rst59 nanosecond, timespec64, and second output
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 * )
160 void getnstimeofday64( struct timespec64 * )
168 struct timespec64 current_kernel_time64( void )
170 struct timespec64 get_monotonic_coarse64( void )
179 struct timespec64 getrawmonotonic64( void )
181 struct timespec64 timekeeping_clocktai64( void )
[all …]
/linux-6.3-rc2/fs/
A Dutimes.c20 int vfs_utimes(const struct path *path, struct timespec64 *times) in vfs_utimes()
81 struct timespec64 *times, int flags) in do_utimes_path()
109 static int do_utimes_fd(int fd, struct timespec64 *times, int flags) in do_utimes_fd()
140 long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, in do_utimes()
151 struct timespec64 tstimes[2]; in SYSCALL_DEFINE4()
178 struct timespec64 tstimes[2]; in do_futimesat()
217 struct timespec64 tv[2]; in SYSCALL_DEFINE2()
239 struct timespec64 tv[2]; in SYSCALL_DEFINE2()
254 struct timespec64 tv[2]; in SYSCALL_DEFINE4()
271 struct timespec64 tv[2]; in do_compat_futimesat()
/linux-6.3-rc2/drivers/ptp/
A Dptp_kvm_common.c33 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-6.3-rc2/arch/x86/kernel/
A Drtc.c36 int mach_set_cmos_time(const struct timespec64 *now) in mach_set_cmos_time()
57 void mach_get_cmos_time(struct timespec64 *now) in mach_get_cmos_time()
103 int update_persistent_clock64(struct timespec64 now) in update_persistent_clock64()
109 void read_persistent_clock64(struct timespec64 *ts) in read_persistent_clock64()
/linux-6.3-rc2/drivers/input/misc/
A Dhp_sdc_rtc.c183 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-6.3-rc2/drivers/net/ethernet/cadence/
A Dmacb_ptp.c41 static int gem_tsu_get_time(struct ptp_clock_info *ptp, struct timespec64 *ts, in gem_tsu_get_time()
78 const struct timespec64 *ts) in gem_tsu_set_time()
160 struct timespec64 now, then = ns_to_timespec64(delta); in gem_ptp_adjtime()
173 (const struct timespec64 *)&now); in gem_ptp_adjtime()
222 struct timespec64 ts; in gem_ptp_init_tsu()
247 u32 dma_desc_ts_2, struct timespec64 *ts) in gem_hw_timestamp()
249 struct timespec64 tsu; in gem_hw_timestamp()
279 struct timespec64 ts; in gem_ptp_rxstamp()
300 struct timespec64 ts; in gem_ptp_txstamp()

Completed in 39 milliseconds

12345678910>>...17