Home
last modified time | relevance | path

Searched refs:timex (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v4.19/tools/testing/selftests/timers/
Dvalid-adjtimex.c43 static int clock_adjtime(clockid_t id, struct timex *tx) in clock_adjtime()
52 struct timex tx; in clear_time_state()
116 struct timex tx; in validate_freq()
122 memset(&tx, 0, sizeof(struct timex)); in validate_freq()
197 struct timex tmx = {}; in set_offset()
232 struct timex tmx = {}; in set_bad_offset()
Dset-tai.c30 struct timex tx; in set_tai()
42 struct timex tx; in get_tai()
Dchange_skew.c38 struct timex tx; in change_skew_test()
60 struct timex tx; in main()
Dleapcrash.c30 struct timex tx; in clear_time_state()
60 struct timex tx; in main()
Dleap-a-day.c97 struct timex tx; in clear_time_state()
132 struct timex tx; in sigalarm()
239 struct timex tx; in main()
Dadjtick.c118 struct timex tx1; in check_tick_adj()
171 struct timex tx1; in main()
Dskew_consistency.c44 struct timex tx; in main()
Dfreq-step.c90 struct timex txc; in reset_ntp_error()
104 struct timex txc; in set_frequency()
Draw_skew.c96 struct timex tx1, tx2; in main()
/Linux-v4.19/kernel/time/
Dntp_internal.h11 extern int __do_adjtimex(struct timex *txc, const struct timespec64 *ts, s32 *time_tai);
Dntp.c192 static inline void pps_fill_timex(struct timex *txc) in pps_fill_timex()
224 static inline void pps_fill_timex(struct timex *txc) in pps_fill_timex()
645 static inline void process_adj_status(const struct timex *txc) in process_adj_status()
668 static inline void process_adjtimex_modes(const struct timex *txc, s32 *time_tai) in process_adjtimex_modes()
719 int __do_adjtimex(struct timex *txc, const struct timespec64 *ts, s32 *time_tai) in __do_adjtimex()
Dtime.c266 SYSCALL_DEFINE1(adjtimex, struct timex __user *, txc_p) in SYSCALL_DEFINE1()
268 struct timex txc; /* Local copy of parameter */ in SYSCALL_DEFINE1()
275 if (copy_from_user(&txc, txc_p, sizeof(struct timex))) in SYSCALL_DEFINE1()
278 return copy_to_user(txc_p, &txc, sizeof(struct timex)) ? -EFAULT : ret; in SYSCALL_DEFINE1()
285 struct timex txc; in COMPAT_SYSCALL_DEFINE1()
Dposix-timers.h11 int (*clock_adj)(const clockid_t which_clock, struct timex *tx);
Dposix-timers.c203 struct timex *t) in posix_clock_realtime_adj()
1075 struct timex __user *, utx) in SYSCALL_DEFINE2()
1078 struct timex ktx; in SYSCALL_DEFINE2()
1158 struct timex ktx; in COMPAT_SYSCALL_DEFINE2()
Dposix-clock.c244 static int pc_clock_adjtime(clockid_t id, struct timex *tx) in pc_clock_adjtime()
/Linux-v4.19/include/linux/
Dtimex.h154 extern int do_adjtimex(struct timex *);
Dposix-clock.h54 int (*clock_adjtime)(struct posix_clock *pc, struct timex *tx);
Dcompat.h166 struct timex;
167 int compat_get_timex(struct timex *, const struct compat_timex __user *);
168 int compat_put_timex(struct compat_timex __user *, const struct timex *);
/Linux-v4.19/arch/arm/include/asm/
DKbuild21 generic-y += timex.h
/Linux-v4.19/include/uapi/linux/
Dtimex.h64 struct timex { struct
/Linux-v4.19/kernel/
Dcompat.c33 int compat_get_timex(struct timex *txc, const struct compat_timex __user *utp) in compat_get_timex()
37 memset(txc, 0, sizeof(struct timex)); in compat_get_timex()
65 int compat_put_timex(struct compat_timex __user *utp, const struct timex *txc) in compat_put_timex()
/Linux-v4.19/tools/testing/selftests/ptp/
Dtestptp.c54 static int clock_adjtime(clockid_t id, struct timex *tx) in clock_adjtime()
150 struct timex tx; in main()
/Linux-v4.19/arch/h8300/include/asm/
DKbuild44 generic-y += timex.h
/Linux-v4.19/arch/nds32/include/asm/
DKbuild52 generic-y += timex.h
/Linux-v4.19/drivers/ptp/
Dptp_clock.c124 static int ptp_clock_adjtime(struct posix_clock *pc, struct timex *tx) in ptp_clock_adjtime()

12