Home
last modified time | relevance | path

Searched refs:timespec (Results 1 – 200 of 341) sorted by relevance

12

/linux-4.4.14/include/linux/
Dtime.h13 static inline int timespec_equal(const struct timespec *a, in timespec_equal()
14 const struct timespec *b) in timespec_equal()
24 static inline int timespec_compare(const struct timespec *lhs, const struct timespec *rhs) in timespec_compare()
57 extern void set_normalized_timespec(struct timespec *ts, time_t sec, s64 nsec);
64 extern struct timespec timespec_add_safe(const struct timespec lhs,
65 const struct timespec rhs);
68 static inline struct timespec timespec_add(struct timespec lhs, in timespec_add()
69 struct timespec rhs) in timespec_add()
71 struct timespec ts_delta; in timespec_add()
80 static inline struct timespec timespec_sub(struct timespec lhs, in timespec_sub()
[all …]
Dtimekeeping.h14 extern int do_sys_settimeofday(const struct timespec *tv,
23 struct timespec __current_kernel_time(void);
25 static inline struct timespec current_kernel_time(void) in current_kernel_time()
49 static inline int do_settimeofday(const struct timespec *ts) in do_settimeofday()
54 static inline int __getnstimeofday(struct timespec *ts) in __getnstimeofday()
59 static inline void getnstimeofday(struct timespec *ts) in getnstimeofday()
64 static inline void ktime_get_ts(struct timespec *ts) in ktime_get_ts()
69 static inline void ktime_get_real_ts(struct timespec *ts) in ktime_get_real_ts()
74 static inline void getrawmonotonic(struct timespec *ts) in getrawmonotonic()
79 static inline struct timespec get_monotonic_coarse(void) in get_monotonic_coarse()
[all …]
Dtime64.h14 # define timespec64 timespec
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()
81 struct timespec ret; in timespec64_to_timespec()
88 static inline struct timespec64 timespec_to_timespec64(const struct timespec ts) in timespec_to_timespec64()
Dpoll.h99 extern long select_estimate_accuracy(struct timespec *tv);
156 extern int do_select(int n, fd_set_bits *fds, struct timespec *end_time);
158 struct timespec *end_time);
160 fd_set __user *exp, struct timespec *end_time);
162 extern int poll_select_set_timeout(struct timespec *to, long sec, long nsec);
Dposix-timers.h100 int (*clock_getres) (const clockid_t which_clock, struct timespec *tp);
102 const struct timespec *tp);
103 int (*clock_get) (const clockid_t which_clock, struct timespec * tp);
107 struct timespec *, struct timespec __user *);
Dstat.h30 struct timespec atime;
31 struct timespec mtime;
32 struct timespec ctime;
Dposix-clock.h62 int (*clock_gettime)(struct posix_clock *pc, struct timespec *ts);
64 int (*clock_getres) (struct posix_clock *pc, struct timespec *ts);
67 const struct timespec *ts);
Dtimekeeper_internal.h135 extern void update_vsyscall_old(struct timespec *ts, struct timespec *wtm,
Dpstore.h60 int *count, struct timespec *time, char **buf,
71 int count, struct timespec time,
Dsyscalls.h53 struct timespec;
221 asmlinkage long sys_nanosleep(struct timespec __user *rqtp, struct timespec __user *rmtp);
276 const struct timespec __user *tp);
278 struct timespec __user *tp);
282 struct timespec __user *tp);
284 const struct timespec __user *rqtp,
285 struct timespec __user *rmtp);
310 struct timespec __user *interval);
336 struct timespec __user *utime, u32 __user *uaddr2,
370 const struct timespec __user *uts,
[all …]
Dthread_info.h13 struct timespec;
34 struct timespec __user *rmtp;
Daudit.h229 struct timespec *t, unsigned int *serial);
249 …q_sendrecv(mqd_t mqdes, size_t msg_len, unsigned int msg_prio, const struct timespec *abs_timeout);
295 …mq_sendrecv(mqd_t mqdes, size_t msg_len, unsigned int msg_prio, const struct timespec *abs_timeout) in audit_mq_sendrecv()
387 struct timespec *t, unsigned int *serial) in auditsc_get_stamp()
420 const struct timespec *abs_timeout) in audit_mq_sendrecv()
Dlguest.h38 struct timespec time;
Dktime.h81 static inline ktime_t timespec_to_ktime(struct timespec ts) in timespec_to_ktime()
245 struct timespec *ts) in ktime_to_timespec_cond()
Djiffies.h415 static inline unsigned long timespec_to_jiffies(const struct timespec *value) in timespec_to_jiffies()
423 struct timespec *value) in jiffies_to_timespec()
Dsocket.h332 struct timespec;
338 unsigned int flags, struct timespec *timeout);
Dnfs_xdr.h64 struct timespec atime;
65 struct timespec mtime;
66 struct timespec ctime;
70 struct timespec pre_mtime; /* pre_op_attr.mtime */
71 struct timespec pre_ctime; /* pre_op_attr.ctime */
140 struct timespec time_delta; /* server time granularity */
795 struct timespec guardtime;
Dhrtimer.h471 extern long hrtimer_nanosleep(struct timespec *rqtp,
472 struct timespec __user *rmtp,
Dsignal.h243 struct timespec;
252 const struct timespec *);
Dfs.h252 struct timespec ia_atime;
253 struct timespec ia_mtime;
254 struct timespec ia_ctime;
619 struct timespec i_atime;
620 struct timespec i_mtime;
621 struct timespec i_ctime;
1062 extern void lease_get_mtime(struct inode *, struct timespec *time);
1177 static inline void lease_get_mtime(struct inode *inode, struct timespec *time) in lease_get_mtime()
1388 extern struct timespec current_fs_time(struct super_block *sb);
1672 int (*update_time)(struct inode *, struct timespec *, int);
[all …]
Dnfs_fs_sb.h156 struct timespec time_delta; /* smallest time granularity */
Dcompat.h153 extern int compat_get_timespec(struct timespec *, const void __user *);
154 extern int compat_put_timespec(const struct timespec *, void __user *);
164 extern int compat_convert_timespec(struct timespec __user **,
/linux-4.4.14/tools/testing/selftests/timers/
Draw_skew.c58 unsigned long long ts_to_nsec(struct timespec ts) in ts_to_nsec()
63 struct timespec nsec_to_ts(long long ns) in nsec_to_ts()
65 struct timespec ts; in nsec_to_ts()
72 long long diff_timespec(struct timespec start, struct timespec end) in diff_timespec()
81 void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw) in get_monotonic_and_raw()
83 struct timespec start, mid, end; in get_monotonic_and_raw()
106 struct timespec mon, raw, start, end; in main()
Dadjtick.c55 unsigned long long ts_to_nsec(struct timespec ts) in ts_to_nsec()
60 struct timespec nsec_to_ts(long long ns) in nsec_to_ts()
62 struct timespec ts; in nsec_to_ts()
70 long long diff_timespec(struct timespec start, struct timespec end) in diff_timespec()
80 void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw) in get_monotonic_and_raw()
82 struct timespec start, mid, end; in get_monotonic_and_raw()
109 struct timespec mon_start, raw_start, mon_end, raw_end; in get_ppm_drift()
180 struct timespec raw; in main()
Dmqueue-lat.c51 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub()
59 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add()
74 struct timespec start, end, now, target; in mqueue_lat_test()
Dnanosleep.c91 static inline int in_order(struct timespec a, struct timespec b) in in_order()
102 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add()
114 struct timespec now, target, rel; in nanosleep_test()
Dleap-a-day.c71 static inline int in_order(struct timespec a, struct timespec b) in in_order()
82 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add()
173 struct timespec now, target; in test_hrtimer_failure()
223 struct timespec ts; in main()
248 struct timespec ts; in main()
341 struct timespec tai; in main()
Dnsleep-lat.c90 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add()
101 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub()
111 struct timespec start, end, target; in nanosleep_lat_test()
Dalarmtimer-suspend.c65 struct timespec start_time;
98 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub()
111 struct timespec ts; in sigalarm()
Dinconsistency-check.c91 static inline int in_order(struct timespec a, struct timespec b) in in_order()
107 struct timespec list[CALLS_PER_LOOP]; in consistency_test()
170 struct timespec ts; in main()
Dthreadtest.c49 struct timespec global_list[LISTSIZE];
53 void checklist(struct timespec *list, int size) in checklist()
56 struct timespec *a, *b; in checklist()
117 struct timespec my_list[LISTSIZE]; in independent_thread()
Dset-timer-lat.c64 struct timespec start_time;
97 long long timespec_sub(struct timespec a, struct timespec b) in timespec_sub()
109 struct timespec ts; in sigalarm()
Dleapcrash.c74 struct timespec ts; in main()
/linux-4.4.14/arch/arm/vdso/
Dvgettimeofday.c63 struct timespec *_ts) in clock_gettime_fallback()
65 register struct timespec *ts asm("r1") = _ts; in clock_gettime_fallback()
79 static notrace int do_realtime_coarse(struct timespec *ts, in do_realtime_coarse()
95 static notrace int do_monotonic_coarse(struct timespec *ts, in do_monotonic_coarse()
98 struct timespec tomono; in do_monotonic_coarse()
136 static notrace int do_realtime(struct timespec *ts, struct vdso_data *vdata) in do_realtime()
158 static notrace int do_monotonic(struct timespec *ts, struct vdso_data *vdata) in do_monotonic()
160 struct timespec tomono; in do_monotonic()
187 static notrace int do_realtime(struct timespec *ts, struct vdso_data *vdata) in do_realtime()
192 static notrace int do_monotonic(struct timespec *ts, struct vdso_data *vdata) in do_monotonic()
[all …]
/linux-4.4.14/kernel/time/
Dtime.c84 struct timespec tv; in SYSCALL_DEFINE1()
143 struct timespec adjust; in warp_clock()
163 int do_sys_settimeofday(const struct timespec *tv, const struct timezone *tz) in do_sys_settimeofday()
197 struct timespec new_ts; in SYSCALL_DEFINE2()
240 struct timespec current_fs_time(struct super_block *sb) in current_fs_time()
242 struct timespec now = current_kernel_time(); in current_fs_time()
297 struct timespec timespec_trunc(struct timespec t, unsigned gran) in timespec_trunc()
361 void set_normalized_timespec(struct timespec *ts, time_t sec, s64 nsec) in set_normalized_timespec()
389 struct timespec ns_to_timespec(const s64 nsec) in ns_to_timespec()
391 struct timespec ts; in ns_to_timespec()
[all …]
Dposix-timers.c132 static int common_nsleep(const clockid_t, int flags, struct timespec *t,
133 struct timespec __user *rmtp);
206 static int posix_clock_realtime_get(clockid_t which_clock, struct timespec *tp) in posix_clock_realtime_get()
214 const struct timespec *tp) in posix_clock_realtime_set()
228 static int posix_ktime_get_ts(clockid_t which_clock, struct timespec *tp) in posix_ktime_get_ts()
237 static int posix_get_monotonic_raw(clockid_t which_clock, struct timespec *tp) in posix_get_monotonic_raw()
244 static int posix_get_realtime_coarse(clockid_t which_clock, struct timespec *tp) in posix_get_realtime_coarse()
251 struct timespec *tp) in posix_get_monotonic_coarse()
257 static int posix_get_coarse_res(const clockid_t which_clock, struct timespec *tp) in posix_get_coarse_res()
263 static int posix_get_boottime(const clockid_t which_clock, struct timespec *tp) in posix_get_boottime()
[all …]
Dposix-cpu-timers.c55 timespec_to_sample(const clockid_t which_clock, const struct timespec *tp) in timespec_to_sample()
70 struct timespec *tp) in sample_to_timespec()
144 posix_cpu_clock_getres(const clockid_t which_clock, struct timespec *tp) in posix_cpu_clock_getres()
163 posix_cpu_clock_set(const clockid_t which_clock, const struct timespec *tp) in posix_cpu_clock_set()
289 struct timespec *tp) in posix_cpu_clock_get_task()
309 static int posix_cpu_clock_get(const clockid_t which_clock, struct timespec *tp) in posix_cpu_clock_get()
1296 struct timespec *rqtp, struct itimerspec *it) in do_cpu_nanosleep()
1383 struct timespec *rqtp, struct timespec __user *rmtp) in posix_cpu_nsleep()
1420 struct timespec t; in posix_cpu_nsleep_restart()
1429 struct timespec __user *rmtp = restart_block->nanosleep.rmtp; in posix_cpu_nsleep_restart()
[all …]
Dalarmtimer.c493 static int alarm_clock_getres(const clockid_t which_clock, struct timespec *tp) in alarm_clock_getres()
510 static int alarm_clock_get(clockid_t which_clock, struct timespec *tp) in alarm_clock_get()
679 struct timespec __user *rmtp) in update_rmtp()
681 struct timespec rmt; in update_rmtp()
707 struct timespec __user *rmtp; in alarm_timer_nsleep_restart()
744 struct timespec *tsreq, struct timespec __user *rmtp) in alarm_timer_nsleep()
Dtest_udelay.c46 struct timespec ts1, ts2; in udelay_test_single()
90 struct timespec ts; in udelay_test_show()
Dtimekeeping.h13 extern int timekeeping_inject_offset(struct timespec *ts);
Dhrtimer.c1502 static int update_rmtp(struct hrtimer *timer, struct timespec __user *rmtp) in update_rmtp()
1504 struct timespec rmt; in update_rmtp()
1521 struct timespec __user *rmtp; in hrtimer_nanosleep_restart()
1545 long hrtimer_nanosleep(struct timespec *rqtp, struct timespec __user *rmtp, in hrtimer_nanosleep()
1586 SYSCALL_DEFINE2(nanosleep, struct timespec __user *, rqtp, in SYSCALL_DEFINE2()
1587 struct timespec __user *, rmtp) in SYSCALL_DEFINE2()
1589 struct timespec tu; in SYSCALL_DEFINE2()
Dposix-clock.c300 static int pc_clock_gettime(clockid_t id, struct timespec *ts) in pc_clock_gettime()
319 static int pc_clock_getres(clockid_t id, struct timespec *ts) in pc_clock_getres()
338 static int pc_clock_settime(clockid_t id, const struct timespec *ts) in pc_clock_settime()
Dtimekeeping.c442 struct timespec xt, wm; in update_vsyscall()
954 int timekeeping_inject_offset(struct timespec *ts) in timekeeping_inject_offset()
1173 void __weak read_persistent_clock(struct timespec *ts) in read_persistent_clock()
1181 struct timespec ts; in read_persistent_clock64()
1876 struct timespec __current_kernel_time(void) in __current_kernel_time()
1988 struct timespec delta; in do_adjtimex()
Dtimer_stats.c282 struct timespec period; in tstats_show()
Dntp.c490 int __weak update_persistent_clock(struct timespec now) in update_persistent_clock()
497 struct timespec now; in update_persistent_clock64()
Ditimer.c134 struct timespec ts; in cputime_sub_ns()
/linux-4.4.14/drivers/firmware/efi/
Defi-pstore.c35 struct timespec *timespec; member
66 cb_data->timespec->tv_sec = time; in efi_pstore_read_func()
67 cb_data->timespec->tv_nsec = 0; in efi_pstore_read_func()
76 cb_data->timespec->tv_sec = time; in efi_pstore_read_func()
77 cb_data->timespec->tv_nsec = 0; in efi_pstore_read_func()
88 cb_data->timespec->tv_sec = time; in efi_pstore_read_func()
89 cb_data->timespec->tv_nsec = 0; in efi_pstore_read_func()
211 int *count, struct timespec *timespec, in efi_pstore_read() argument
221 data.timespec = timespec; in efi_pstore_read()
269 struct timespec time;
[all …]
/linux-4.4.14/arch/sh/kernel/
Dtime.c27 static void null_rtc_get_time(struct timespec *tv) in null_rtc_get_time()
38 void (*rtc_sh_get_time)(struct timespec *) = null_rtc_get_time;
41 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
47 int update_persistent_clock(struct timespec now) in update_persistent_clock()
56 struct timespec tv; in get_rtc_time()
/linux-4.4.14/arch/tile/kernel/vdso/
Dvgettimeofday.c64 static inline int do_realtime(struct vdso_data *vdso, struct timespec *ts) in do_realtime()
83 static inline int do_monotonic(struct vdso_data *vdso, struct timespec *ts) in do_monotonic()
103 struct timespec *ts) in do_realtime_coarse()
117 struct timespec *ts) in do_monotonic_coarse()
149 do_realtime(vdso, (struct timespec *)tv); in __vdso_gettimeofday()
159 struct timespec *ts) in vdso_fallback_gettime()
174 struct timespec *ts) in __vdso_clock_gettime()
197 int clock_gettime(clockid_t clock, struct timespec *ts)
/linux-4.4.14/arch/x86/entry/vdso/
Dvclock_gettime.c25 extern int __vdso_clock_gettime(clockid_t clock, struct timespec *ts);
46 notrace static long vdso_fallback_gettime(long clock, struct timespec *ts) in vdso_fallback_gettime()
135 notrace static long vdso_fallback_gettime(long clock, struct timespec *ts) in vdso_fallback_gettime()
218 notrace static int __always_inline do_realtime(struct timespec *ts) in do_realtime()
239 notrace static int __always_inline do_monotonic(struct timespec *ts) in do_monotonic()
260 notrace static void do_realtime_coarse(struct timespec *ts) in do_realtime_coarse()
270 notrace static void do_monotonic_coarse(struct timespec *ts) in do_monotonic_coarse()
280 notrace int __vdso_clock_gettime(clockid_t clock, struct timespec *ts) in __vdso_clock_gettime()
305 int clock_gettime(clockid_t, struct timespec *)
311 if (unlikely(do_realtime((struct timespec *)tv) == VCLOCK_NONE)) in __vdso_gettimeofday()
/linux-4.4.14/arch/um/os-Linux/
Dtime.c27 static inline long long timespec_to_ns(const struct timespec *ts) in timespec_to_ns()
34 struct timespec realtime_tp; in os_persistent_clock_emulation()
152 struct timespec ts; in os_vnsecs()
160 struct timespec ts; in os_nsecs()
172 struct timespec ts; in os_idle_sleep()
178 ts = ((struct timespec) { in os_idle_sleep()
Daio.c47 struct io_event *events, struct timespec *timeout) in io_getevents()
/linux-4.4.14/fs/ntfs/
Dtime.h48 static inline sle64 utc2ntfs(const struct timespec ts) in utc2ntfs()
85 static inline struct timespec ntfs2utc(const sle64 time) in ntfs2utc()
87 struct timespec ts; in ntfs2utc()
/linux-4.4.14/arch/mips/vdso/
Dgettimeofday.c23 static __always_inline int do_realtime_coarse(struct timespec *ts, in do_realtime_coarse()
38 static __always_inline int do_monotonic_coarse(struct timespec *ts, in do_monotonic_coarse()
124 static __always_inline int do_realtime(struct timespec *ts, in do_realtime()
146 static __always_inline int do_monotonic(struct timespec *ts, in do_monotonic()
185 struct timespec ts; in __vdso_gettimeofday()
207 int __vdso_clock_gettime(clockid_t clkid, struct timespec *ts) in __vdso_clock_gettime()
/linux-4.4.14/kernel/
Dcompat.c112 struct timespec new_ts; in COMPAT_SYSCALL_DEFINE2()
143 static int __compat_get_timespec(struct timespec *ts, const struct compat_timespec __user *cts) in __compat_get_timespec()
150 static int __compat_put_timespec(const struct timespec *ts, struct compat_timespec __user *cts) in __compat_put_timespec()
175 int compat_get_timespec(struct timespec *ts, const void __user *uts) in compat_get_timespec()
184 int compat_put_timespec(const struct timespec *ts, void __user *uts) in compat_put_timespec()
193 int compat_convert_timespec(struct timespec __user **kts, in compat_convert_timespec()
196 struct timespec ts; in compat_convert_timespec()
197 struct timespec __user *uts; in compat_convert_timespec()
200 *kts = (struct timespec __user *)cts; in compat_convert_timespec()
219 struct timespec rmt; in compat_nanosleep_restart()
[all …]
Daudit.h114 struct timespec ctime; /* time of syscall entry */
183 struct timespec abs_timeout;
Dfutex_compat.c178 struct timespec ts; in COMPAT_SYSCALL_DEFINE6()
/linux-4.4.14/include/uapi/linux/
Dtime.h9 struct timespec { struct
35 struct timespec it_interval; /* timer period */
36 struct timespec it_value; /* timer expiration */
Dcoda.h89 struct timespec { struct
114 struct timespec { struct
223 struct timespec va_atime; /* time of last access */
224 struct timespec va_mtime; /* time of last modification */
225 struct timespec va_ctime; /* time file changed */
Derrqueue.h33 struct timespec ts[3];
/linux-4.4.14/fs/hostfs/
Dhostfs.h46 struct timespec ia_atime;
47 struct timespec ia_mtime;
48 struct timespec ia_ctime;
58 struct timespec atime, mtime, ctime;
/linux-4.4.14/fs/
Dutimes.c29 struct timespec tv[2]; in SYSCALL_DEFINE2()
51 static int utimes_common(struct path *path, struct timespec *times) in utimes_common()
136 long do_utimes(int dfd, const char __user *filename, struct timespec *times, in do_utimes()
186 struct timespec __user *, utimes, int, flags) in SYSCALL_DEFINE4()
188 struct timespec tstimes[2]; in SYSCALL_DEFINE4()
207 struct timespec tstimes[2]; in SYSCALL_DEFINE3()
Dselect.c50 static long __estimate_accuracy(struct timespec *tv) in __estimate_accuracy()
73 long select_estimate_accuracy(struct timespec *tv) in select_estimate_accuracy()
76 struct timespec now; in select_estimate_accuracy()
272 int poll_select_set_timeout(struct timespec *to, long sec, long nsec) in poll_select_set_timeout()
274 struct timespec ts = {.tv_sec = sec, .tv_nsec = nsec}; in poll_select_set_timeout()
289 static int poll_select_copy_remaining(struct timespec *end_time, void __user *p, in poll_select_copy_remaining()
292 struct timespec rts; in poll_select_copy_remaining()
399 int do_select(int n, fd_set_bits *fds, struct timespec *end_time) in do_select()
548 fd_set __user *exp, struct timespec *end_time) in core_sys_select()
625 struct timespec end_time, *to = NULL; in SYSCALL_DEFINE5()
[all …]
Dcompat.c78 struct timespec tv[2]; in COMPAT_SYSCALL_DEFINE2()
92 struct timespec tv[2]; in COMPAT_SYSCALL_DEFINE4()
107 struct timespec tv[2]; in COMPAT_SYSCALL_DEFINE3()
529 struct timespec t; in COMPAT_SYSCALL_DEFINE5()
530 struct timespec __user *ut = NULL; in COMPAT_SYSCALL_DEFINE5()
1106 static int poll_select_copy_remaining(struct timespec *end_time, void __user *p, in poll_select_copy_remaining()
1109 struct timespec ts; in poll_select_copy_remaining()
1236 struct timespec *end_time) in compat_core_sys_select()
1309 struct timespec end_time, *to = NULL; in COMPAT_SYSCALL_DEFINE5()
1356 struct timespec end_time, *to = NULL; in do_compat_pselect()
[all …]
Dinode.c1535 struct timespec now) in relatime_need_update()
1563 int generic_update_time(struct inode *inode, struct timespec *time, int flags) in generic_update_time()
1587 static int update_time(struct inode *inode, struct timespec *time, int flags) in update_time()
1589 int (*update_time)(struct inode *, struct timespec *, int); in update_time()
1609 struct timespec now; in atime_needs_update()
1638 struct timespec now; in touch_atime()
1773 struct timespec now; in file_update_time()
Dattr.c195 struct timespec now; in notify_change()
/linux-4.4.14/include/uapi/sound/
Dasound.h441 struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
442 struct timespec tstamp; /* reference timestamp */
451 struct timespec audio_tstamp; /* sample counter, wall clock, PHC or on-demand sync'ed */
452 struct timespec driver_tstamp; /* useful in case reference system tstamp is reported with delay */
454 unsigned char reserved[52-2*sizeof(struct timespec)]; /* must be filled with zero */
461 struct timespec tstamp; /* Timestamp */
463 struct timespec audio_tstamp; /* from sample counter or wall clock */
632 struct timespec tstamp; /* Timestamp */
744 struct timespec tstamp; /* Timestamp - last update */
794 struct timespec tstamp;
[all …]
/linux-4.4.14/arch/x86/include/asm/
Dintel_mid_vrtc.h6 extern void vrtc_get_time(struct timespec *now);
7 extern int vrtc_set_mmss(const struct timespec *now);
Dx86_init.h144 struct timespec;
160 void (*get_wallclock)(struct timespec *ts);
161 int (*set_wallclock)(const struct timespec *ts);
Dmc146818rtc.h98 extern int mach_set_rtc_mmss(const struct timespec *now);
99 extern void mach_get_cmos_time(struct timespec *now);
Dpvclock.h14 struct timespec *ts);
/linux-4.4.14/tools/testing/selftests/futex/include/
Dfutextest.h82 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) in futex_wait()
102 futex_wait_bitset(futex_t *uaddr, futex_t val, struct timespec *timeout, in futex_wait_bitset()
125 futex_lock_pi(futex_t *uaddr, struct timespec *timeout, int detect, in futex_lock_pi()
190 struct timespec *timeout, int opflags) in futex_wait_requeue_pi()
/linux-4.4.14/arch/ia64/kernel/
Dfsyscall_gtod_data.h10 struct timespec wall_time;
11 struct timespec monotonic_time;
Dtime.c358 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
399 void update_vsyscall_old(struct timespec *wall, struct timespec *wtm, in update_vsyscall_old()
/linux-4.4.14/arch/x86/kernel/
Drtc.c41 int mach_set_rtc_mmss(const struct timespec *now) in mach_set_rtc_mmss()
62 void mach_get_cmos_time(struct timespec *now) in mach_get_cmos_time()
138 int update_persistent_clock(struct timespec now) in update_persistent_clock()
144 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
Dpvclock.c120 struct timespec *ts) in pvclock_read_wallclock()
124 struct timespec now; in pvclock_read_wallclock()
Dkvmclock.c53 static void kvm_get_wallclock(struct timespec *now) in kvm_get_wallclock()
72 static int kvm_set_wallclock(const struct timespec *now) in kvm_set_wallclock()
/linux-4.4.14/arch/xtensa/include/asm/
Dsyscall.h22 fd_set __user *exp, struct timespec __user *tsp,
25 struct timespec __user *tsp,
/linux-4.4.14/arch/x86/xen/
Dtime.c172 static void xen_read_wallclock(struct timespec *ts) in xen_read_wallclock()
183 static void xen_get_wallclock(struct timespec *now) in xen_get_wallclock()
188 static int xen_set_wallclock(const struct timespec *now) in xen_set_wallclock()
197 static struct timespec next_sync; in xen_pvclock_gtod_notify()
200 struct timespec now; in xen_pvclock_gtod_notify()
462 struct timespec tp; in xen_time_init()
/linux-4.4.14/arch/x86/um/vdso/
Dum_vdso.c19 int __vdso_clock_gettime(clockid_t clock, struct timespec *ts) in __vdso_clock_gettime()
28 int clock_gettime(clockid_t, struct timespec *)
/linux-4.4.14/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.h59 extern long long timespec_diff_us(struct timespec start, struct timespec end);
Dcpupower-monitor.c53 long long timespec_diff_us(struct timespec start, struct timespec end) in timespec_diff_us()
55 struct timespec temp; in timespec_diff_us()
282 struct timespec start, end; in fork_it()
Damd_fam14h_idle.c86 struct timespec start_time;
90 struct timespec dbg_time;
249 struct timespec end_time; in amd_fam14h_stop()
Dcpuidle_sysfs.c24 struct timespec start_time;
65 struct timespec end_time; in cpuidle_stop()
Dmperf_monitor.c33 static struct timespec time_start, time_end;
/linux-4.4.14/fs/proc/
Duptime.c12 struct timespec uptime; in uptime_proc_show()
13 struct timespec idle; in uptime_proc_show()
Dstat.c89 struct timespec boottime; in show_stat()
/linux-4.4.14/tools/perf/bench/
Dfutex.h43 futex_wait(u_int32_t *uaddr, u_int32_t val, struct timespec *timeout, int opflags) in futex_wait()
63 futex_lock_pi(u_int32_t *uaddr, struct timespec *timeout, int detect, in futex_lock_pi()
/linux-4.4.14/arch/powerpc/include/asm/
Dvdso_datapage.h87 struct timespec stamp_xtime; /* xtime as at tb_orig_stamp */
108 struct timespec stamp_xtime; /* xtime as at tb_orig_stamp */
Dcputime.h159 static inline void cputime_to_timespec(const cputime_t ct, struct timespec *p) in cputime_to_timespec()
171 static inline cputime_t timespec_to_cputime(const struct timespec *p) in timespec_to_cputime()
/linux-4.4.14/fs/udf/
Dudftime.c87 struct timespec *
88 udf_disk_stamp_to_time(struct timespec *dest, struct timestamp src) in udf_disk_stamp_to_time()
120 udf_time_to_disk_stamp(struct timestamp *dest, struct timespec ts) in udf_time_to_disk_stamp()
Dudfdecl.h251 extern struct timespec *udf_disk_stamp_to_time(struct timespec *dest,
253 extern struct timestamp *udf_time_to_disk_stamp(struct timestamp *dest, struct timespec src);
Dudf_i.h30 struct timespec i_crtime;
Dudf_sb.h138 struct timespec s_record_time;
/linux-4.4.14/arch/mn10300/kernel/
Drtc.c26 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
112 int update_persistent_clock(struct timespec now) in update_persistent_clock()
/linux-4.4.14/drivers/pps/generators/
Dpps_gen_parport.c73 struct timespec expire_time, ts1, ts2, ts3, dts; in hrtimer_event()
164 struct timespec a, b; in calibrate_port()
183 struct timespec ts; in next_intr_time()
/linux-4.4.14/Documentation/networking/timestamping/
Dtimestamping.c161 struct timespec ts; in printpacket()
189 struct timespec *stamp = in printpacket()
190 (struct timespec *)CMSG_DATA(cmsg); in printpacket()
197 struct timespec *stamp = in printpacket()
198 (struct timespec *)CMSG_DATA(cmsg); in printpacket()
Dtxtimestamp.c78 static struct timespec ts_prev;
80 static void __print_timestamp(const char *name, struct timespec *cur, in __print_timestamp()
108 struct timespec ts; in print_timestamp_usr()
/linux-4.4.14/include/linux/sunrpc/
Dcache.h165 struct timespec boot; in seconds_since_boot()
172 struct timespec boot; in convert_to_wallclock()
299 struct timespec boot; in get_expiry()
/linux-4.4.14/drivers/media/dvb-core/
Ddvb_demux.h86 struct timespec timeout;
137 struct timespec speed_last_time; /* for TS speed check */
Ddemux.h103 struct timespec timeout);
/linux-4.4.14/drivers/ptp/
Dptp_clock.c100 static int ptp_clock_getres(struct posix_clock *pc, struct timespec *tp) in ptp_clock_getres()
107 static int ptp_clock_settime(struct posix_clock *pc, const struct timespec *tp) in ptp_clock_settime()
115 static int ptp_clock_gettime(struct posix_clock *pc, struct timespec *tp) in ptp_clock_gettime()
136 struct timespec ts; in ptp_clock_adjtime()
/linux-4.4.14/include/asm-generic/
Dcputime_nsecs.h76 static inline cputime_t timespec_to_cputime(const struct timespec *val) in timespec_to_cputime()
81 static inline void cputime_to_timespec(const cputime_t ct, struct timespec *val) in cputime_to_timespec()
/linux-4.4.14/arch/s390/include/asm/
Dcputime.h86 static inline cputime_t timespec_to_cputime(const struct timespec *value) in timespec_to_cputime()
93 struct timespec *value) in cputime_to_timespec()
/linux-4.4.14/include/sound/
Dtimer.h105 struct timespec * tstamp,
128 void snd_timer_notify(struct snd_timer *timer, int event, struct timespec *tstamp);
Dpcm.h78 struct timespec *system_ts, struct timespec *audio_ts,
343 struct timespec trigger_tstamp; /* trigger timestamp */
419 struct timespec driver_tstamp;
1142 struct timespec *tv) in snd_pcm_gettime()
/linux-4.4.14/arch/x86/platform/intel-mid/
Dintel_mid_vrtc.c59 void vrtc_get_time(struct timespec *now) in vrtc_get_time()
89 int vrtc_set_mmss(const struct timespec *now) in vrtc_set_mmss()
/linux-4.4.14/tools/perf/
Dbuiltin-stat.c71 static void print_counters(struct timespec *ts, int argc, const char **argv);
122 static struct timespec ref_time;
136 static inline void diff_timespec(struct timespec *r, struct timespec *a, in diff_timespec()
137 struct timespec *b) in diff_timespec()
237 struct timespec ts, rs; in process_interval()
280 struct timespec ts; in __run_perf_stat()
765 static void print_interval(char *prefix, struct timespec *ts) in print_interval()
844 static void print_counters(struct timespec *ts, int argc, const char **argv) in print_counters()
1278 struct timespec tm; in cmd_stat()
Dperf.h26 struct timespec ts; in rdclock()
/linux-4.4.14/fs/nfs/
Dcallback.h73 struct timespec ctime;
74 struct timespec mtime;
Dnetns.h32 struct timespec boot_time;
Dfscache-index.c159 struct timespec mtime;
160 struct timespec ctime;
Dnfs2xdr.c225 static __be32 *xdr_encode_time(__be32 *p, const struct timespec *timep) in xdr_encode_time()
243 const struct timespec *timep) in xdr_encode_current_server_time()
250 static __be32 *xdr_decode_time(__be32 *p, struct timespec *timep) in xdr_decode_time()
/linux-4.4.14/drivers/char/
Dmmtimer.c471 static struct timespec sgi_clock_offset;
478 static struct timespec sgi_clock_offset;
481 static int sgi_clock_get(clockid_t clockid, struct timespec *tp) in sgi_clock_get()
492 static int sgi_clock_set(const clockid_t clockid, const struct timespec *tp) in sgi_clock_set()
702 struct timespec n; in sgi_timer_set()
768 static int sgi_clock_getres(const clockid_t which_clock, struct timespec *tp) in sgi_clock_getres()
/linux-4.4.14/arch/mips/loongson64/common/
Dtime.c32 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
/linux-4.4.14/sound/core/
Dpcm_compat.c259 struct timespec trigger_tstamp;
260 struct timespec tstamp;
269 struct timespec audio_tstamp;
270 struct timespec driver_tstamp;
272 unsigned char reserved[52-2*sizeof(struct timespec)];
552 struct timespec tstamp;
554 struct timespec audio_tstamp;
Drawmidi_compat.c102 struct timespec tstamp;
Dpcm_lib.c178 snd_pcm_gettime(runtime, (struct timespec *)&runtime->status->tstamp); in xrun()
236 struct timespec *curr_tstamp, in update_audio_tstamp()
237 struct timespec *audio_tstamp) in update_audio_tstamp()
241 struct timespec driver_tstamp; in update_audio_tstamp()
274 snd_pcm_gettime(substream->runtime, (struct timespec *)&driver_tstamp); in update_audio_tstamp()
287 struct timespec curr_tstamp; in snd_pcm_update_hw_ptr0()
288 struct timespec audio_tstamp; in snd_pcm_update_hw_ptr0()
311 snd_pcm_gettime(runtime, (struct timespec *)&curr_tstamp); in snd_pcm_update_hw_ptr0()
313 snd_pcm_gettime(runtime, (struct timespec *)&curr_tstamp); in snd_pcm_update_hw_ptr0()
Dtimer.c74 struct timespec tstamp; /* trigger tstamp */
401 struct timespec tstamp; in snd_timer_notify1()
934 int event, struct timespec *tstamp,
958 void snd_timer_notify(struct snd_timer *timer, int event, struct timespec *tstamp) in snd_timer_notify()
1238 struct timespec *tstamp, in snd_timer_user_ccallback()
1266 struct timespec tstamp; in snd_timer_user_tinterrupt()
/linux-4.4.14/drivers/lguest/
Dhypercalls.c303 struct timespec now; in write_timestamp()
306 &now, sizeof(struct timespec))) in write_timestamp()
/linux-4.4.14/arch/sh/include/uapi/asm/
Dsockios.h13 #define SIOCGSTAMPNS _IOR('s', 101, struct timespec) /* Get stamp (timespec) */
/linux-4.4.14/arch/sh/include/asm/
Drtc.h6 extern void (*rtc_sh_get_time)(struct timespec *);
/linux-4.4.14/ipc/
Dcompat_mq.c72 struct timespec __user *u_ts; in COMPAT_SYSCALL_DEFINE5()
86 struct timespec __user *u_ts; in COMPAT_SYSCALL_DEFINE5()
Dsyscall.c31 (const struct timespec __user *)fifth); in SYSCALL_DEFINE6()
Dmqueue.c668 static int prepare_timeout(const struct timespec __user *u_abs_timeout, in prepare_timeout()
669 ktime_t *expires, struct timespec *ts) in prepare_timeout()
671 if (copy_from_user(ts, u_abs_timeout, sizeof(struct timespec))) in prepare_timeout()
960 const struct timespec __user *, u_abs_timeout) in SYSCALL_DEFINE5()
969 struct timespec ts; in SYSCALL_DEFINE5()
1081 const struct timespec __user *, u_abs_timeout) in SYSCALL_DEFINE5()
1090 struct timespec ts; in SYSCALL_DEFINE5()
/linux-4.4.14/arch/mips/kernel/
Dtime.c47 int update_persistent_clock(struct timespec now) in update_persistent_clock()
/linux-4.4.14/arch/sh/boards/mach-dreamcast/
Drtc.c33 static void aica_rtc_gettimeofday(struct timespec *ts) in aica_rtc_gettimeofday()
/linux-4.4.14/drivers/misc/mic/cosm/
Dcosm_main.h48 struct timespec64 timespec; member
Dcosm_scif_server.c182 getnstimeofday64(&msg.timespec); in cosm_send_time()
/linux-4.4.14/net/sctp/
Dprobe.c68 struct timespec tstart;
141 struct timespec now; in jsctp_sf_eat_sack()
/linux-4.4.14/fs/pstore/
Dinternal.h64 size_t size, struct timespec time,
Dram.c152 static int ramoops_read_kmsg_hdr(char *buffer, struct timespec *time, in ramoops_read_kmsg_hdr()
182 int *count, struct timespec *time, in ramoops_pstore_read()
248 struct timespec timestamp; in ramoops_write_kmsg_hdr()
333 struct timespec time, struct pstore_info *psi) in ramoops_pstore_erase()
/linux-4.4.14/samples/bpf/
Dtracex4_user.c25 struct timespec ts; in time_get_ns()
Dtrace_output_user.c120 struct timespec ts; in time_get_ns()
/linux-4.4.14/drivers/media/v4l2-core/
Dv4l2-event.c111 const struct timespec *ts) in __v4l2_event_queue_fh()
173 struct timespec timestamp; in v4l2_event_queue()
192 struct timespec timestamp; in v4l2_event_queue_fh()
/linux-4.4.14/tools/testing/selftests/futex/functional/
Dfutex_wait_wouldblock.c44 struct timespec to = {.tv_sec = 0, .tv_nsec = timeout_ns}; in main()
Dfutex_wait_timeout.c45 struct timespec to; in main()
Dfutex_wait_private_mapped_file.c44 struct timespec wait_timeout = { .tv_sec = 5, .tv_nsec = 0};
Dfutex_requeue_pi.c54 struct timespec *timeout;
287 struct timespec ts, *tsp = NULL; in unit_test()
/linux-4.4.14/drivers/mmc/card/
Dmmc_test.c100 struct timespec ts;
490 static unsigned int mmc_test_rate(uint64_t bytes, struct timespec *ts) in mmc_test_rate()
517 unsigned int count, unsigned int sectors, struct timespec ts, in mmc_test_save_transfer_result()
542 struct timespec *ts1, struct timespec *ts2) in mmc_test_print_rate()
545 struct timespec ts; in mmc_test_print_rate()
566 unsigned int count, struct timespec *ts1, in mmc_test_print_avg_rate()
567 struct timespec *ts2) in mmc_test_print_avg_rate()
571 struct timespec ts; in mmc_test_print_avg_rate()
1394 struct timespec ts1, ts2; in mmc_test_area_io_seq()
1692 struct timespec ts1, ts2; in mmc_test_profile_trim_perf()
[all …]
/linux-4.4.14/fs/nfsd/
Dnfsfh.h42 struct timespec fh_pre_mtime; /* mtime before oper */
43 struct timespec fh_pre_ctime; /* ctime before oper */
/linux-4.4.14/arch/mips/mti-sead3/
Dsead3-time.c66 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
/linux-4.4.14/arch/powerpc/kernel/
Dtime.c718 int update_persistent_clock(struct timespec now) in update_persistent_clock()
732 static void __read_persistent_clock(struct timespec *ts) in __read_persistent_clock()
760 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
783 void update_vsyscall_old(struct timespec *wall_time, struct timespec *wtm, in update_vsyscall_old()
/linux-4.4.14/arch/m68k/kernel/
Dtime.c73 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
/linux-4.4.14/include/net/
Dcompat.h33 int compat_sock_get_timestampns(struct sock *, struct timespec __user *);
/linux-4.4.14/security/keys/
Dpermission.c103 struct timespec now = current_kernel_time(); in key_validate()
Dkey.c539 struct timespec now; in key_reject_and_link()
681 struct timespec now; in key_set_timeout()
982 struct timespec now; in key_revoke()
Dinternal.h128 struct timespec now;
/linux-4.4.14/fs/ceph/
Dsuper.h172 struct timespec mtime, atime, ctime;
293 struct timespec i_rctime;
767 u64 time_warp_seq, struct timespec *ctime,
768 struct timespec *mtime, struct timespec *atime);
Dmds_client.h205 struct timespec r_stamp;
/linux-4.4.14/arch/cris/include/uapi/asm/
Dsync_serial.h129 struct timespec ts; /* The time the data was sampled. */
/linux-4.4.14/fs/cifs/
Dcache.c224 struct timespec last_write_time;
225 struct timespec last_change_time;
Dcifsproto.h129 extern struct timespec cifs_NTtimeToUnix(__le64 utc_nanoseconds_since_1601);
130 extern u64 cifs_UnixTimeToNT(struct timespec);
131 extern struct timespec cnvrtDosUnixTm(__le16 le_date, __le16 le_time,
Dnetmisc.c921 struct timespec
924 struct timespec ts; in cifs_NTtimeToUnix()
952 cifs_UnixTimeToNT(struct timespec t) in cifs_UnixTimeToNT()
962 struct timespec cnvrtDosUnixTm(__le16 le_date, __le16 le_time, int offset) in cnvrtDosUnixTm()
964 struct timespec ts; in cnvrtDosUnixTm()
Dcifsglob.h1388 struct timespec cf_atime;
1389 struct timespec cf_mtime;
1390 struct timespec cf_ctime;
/linux-4.4.14/fs/fat/
Dmisc.c189 void fat_time_fat2unix(struct msdos_sb_info *sbi, struct timespec *ts, in fat_time_fat2unix()
227 void fat_time_unix2fat(struct msdos_sb_info *sbi, struct timespec *ts, in fat_time_unix2fat()
Dfat.h303 extern int fat_alloc_new_dir(struct inode *dir, struct timespec *ts);
404 extern void fat_time_fat2unix(struct msdos_sb_info *sbi, struct timespec *ts,
406 extern void fat_time_unix2fat(struct msdos_sb_info *sbi, struct timespec *ts,
Dnamei_msdos.c227 struct timespec *ts, struct fat_slot_info *sinfo) in msdos_add_entry()
268 struct timespec ts; in msdos_create()
350 struct timespec ts; in msdos_mkdir()
438 struct timespec ts; in do_msdos_rename()
Dnamei_vfat.c580 struct timespec *ts, in vfat_build_slots()
656 int cluster, struct timespec *ts, in vfat_add_entry()
775 struct timespec ts; in vfat_create()
864 struct timespec ts; in vfat_mkdir()
912 struct timespec ts; in vfat_rename()
/linux-4.4.14/arch/arm/kernel/
Dsys_oabi-compat.c311 const struct timespec __user *timeout) in sys_oabi_semtimedop()
314 struct timespec local_timeout; in sys_oabi_semtimedop()
365 (const struct timespec __user *)fifth); in sys_oabi_ipc()
/linux-4.4.14/arch/frv/kernel/
Dtime.c88 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
/linux-4.4.14/include/linux/ceph/
Ddecode.h137 static inline void ceph_decode_timespec(struct timespec *ts, in ceph_decode_timespec()
144 const struct timespec *ts) in ceph_encode_timespec()
Dosd_client.h325 struct timespec *mtime);
367 struct timespec *mtime,
Dmessenger.h247 struct timespec last_keepalive_ack; /* keepalive2 ack stamp */
/linux-4.4.14/arch/mips/sibyte/swarm/
Dsetup.c90 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
/linux-4.4.14/drivers/media/usb/uvc/
Duvcvideo.h421 struct timespec start_ts; /* Stream start timestamp */
422 struct timespec stop_ts; /* Stream stop timestamp */
505 struct timespec host_ts;
Duvc_video.c372 static inline void uvc_video_get_ts(struct timespec *ts) in uvc_video_get_ts()
389 struct timespec ts; in uvc_video_clock_decode()
616 struct timespec ts; in uvc_video_clock_update()
871 struct timespec ts; in uvc_video_stats_dump()
1022 struct timespec ts; in uvc_video_decode_start()
/linux-4.4.14/arch/um/kernel/
Dtime.c122 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
/linux-4.4.14/arch/blackfin/kernel/
Dtime.c135 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
Dtime-ts.c356 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
/linux-4.4.14/fs/xfs/
Dxfs_trans_inode.c71 struct timespec tv; in xfs_trans_ichgtime()
/linux-4.4.14/drivers/scsi/fnic/
Dfnic_trace.h75 struct timespec time_stamp;
Dfnic_trace.c114 struct timespec val; in fnic_get_trace_data()
220 struct timespec val1, val2; in fnic_get_stats_data()
/linux-4.4.14/arch/avr32/kernel/
Dtime.c125 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
/linux-4.4.14/arch/mips/lasat/
Dds1603.c138 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
/linux-4.4.14/arch/mips/sni/
Dtime.c175 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
/linux-4.4.14/arch/mips/mti-malta/
Dmalta-time.c114 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
/linux-4.4.14/arch/arm64/kernel/
Dasm-offsets.c100 DEFINE(TSPEC_TV_SEC, offsetof(struct timespec, tv_sec)); in main()
101 DEFINE(TSPEC_TV_NSEC, offsetof(struct timespec, tv_nsec)); in main()
/linux-4.4.14/net/
Dcompat.c227 struct timespec *ts = (struct timespec *)data; in put_cmsg_compat()
458 int compat_sock_get_timestampns(struct sock *sk, struct timespec __user *userstamp) in compat_sock_get_timestampns()
462 struct timespec ts; in compat_sock_get_timestampns()
751 struct timespec ktspec; in COMPAT_SYSCALL_DEFINE5()
/linux-4.4.14/arch/m32r/kernel/
Dtime.c140 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
/linux-4.4.14/arch/mips/dec/
Dtime.c21 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
/linux-4.4.14/fs/afs/
Dmain.c40 struct timespec ts; in afs_get_client_UUID()
/linux-4.4.14/crypto/
Djitterentropy-kcapi.c92 struct timespec ts; in jent_get_nstime()
/linux-4.4.14/drivers/media/platform/vivid/
Dvivid-radio-tx.c39 struct timespec ts; in vivid_radio_tx_write()
/linux-4.4.14/arch/parisc/kernel/
Dtime.c236 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
/linux-4.4.14/drivers/scsi/snic/
Dsnic_trc.c68 struct timespec tmspec; in snic_fmt_trc_data()
/linux-4.4.14/fs/ubifs/
Dmisc.h231 static inline struct timespec ubifs_current_time(struct inode *inode) in ubifs_current_time()
Dfile.c1349 const struct timespec *now) in mctime_update_needed()
1364 int ubifs_update_time(struct inode *inode, struct timespec *time, in ubifs_update_time()
1408 struct timespec now = ubifs_current_time(inode); in update_mctime()
1480 struct timespec now = ubifs_current_time(inode); in ubifs_vm_page_mkwrite()
/linux-4.4.14/arch/sh/boards/mach-sh03/
Drtc.c80 void sh03_rtc_gettimeofday(struct timespec *tv) in sh03_rtc_gettimeofday()
/linux-4.4.14/tools/testing/selftests/vm/
Dtranshuge-stress.c62 struct timespec a, b; in main()
/linux-4.4.14/fs/btrfs/
Dbtrfs_inode.h193 struct timespec i_otime;
/linux-4.4.14/drivers/acpi/apei/
Derst.c931 struct timespec *time, char **buf,
937 struct timespec time, struct pstore_info *psi);
991 struct timespec *time, char **buf, in erst_reader()
1113 struct timespec time, struct pstore_info *psi) in erst_clearer()
/linux-4.4.14/tools/testing/selftests/x86/
Dtest_syscall_vdso.c176 struct timespec timeout;
/linux-4.4.14/drivers/misc/mic/cosm_client/
Dcosm_scif_client.c64 int rc = do_settimeofday64(&msg->timespec); in cosm_set_time()
/linux-4.4.14/lib/
Dcrc32.c982 struct timespec start, stop;
1068 struct timespec start, stop;
/linux-4.4.14/fs/hfs/
Dhfs_fs.h258 #define hfs_m_to_utime(time) (struct timespec){ .tv_sec = __hfs_m_to_utime(time) }
/linux-4.4.14/arch/nios2/kernel/
Dtime.c310 void read_persistent_clock(struct timespec *ts) in read_persistent_clock()
/linux-4.4.14/drivers/media/pci/solo6x10/
Dsolo6x10-core.c50 struct timespec ts; in solo_set_time()
61 struct timespec ts; in solo_timer_sync()
/linux-4.4.14/net/ipv4/
Dip_options.c61 struct timespec tv; in ip_options_build()
418 struct timespec tv; in ip_options_compile()
/linux-4.4.14/drivers/hv/
Dhv_util.c169 struct timespec host_ts; in do_adj_guesttime()

12