Home
last modified time | relevance | path

Searched refs:__kernel_timex (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/include/linux/
Dtimex.h154 extern int do_adjtimex(struct __kernel_timex *);
155 extern int do_clock_adjtime(const clockid_t which_clock, struct __kernel_timex * ktx);
Dtime32.h72 struct __kernel_timex;
73 int get_old_timex32(struct __kernel_timex *, const struct old_timex32 __user *);
74 int put_old_timex32(struct old_timex32 __user *, const struct __kernel_timex *);
Dposix-clock.h41 int (*clock_adjtime)(struct posix_clock *pc, struct __kernel_timex *tx);
Dsyscalls.h55 struct __kernel_timex;
739 asmlinkage long sys_adjtimex(struct __kernel_timex __user *txc_p);
929 struct __kernel_timex __user *tx);
/Linux-v5.4/kernel/time/
Dtime.c271 SYSCALL_DEFINE1(adjtimex, struct __kernel_timex __user *, txc_p) in SYSCALL_DEFINE1()
273 struct __kernel_timex txc; /* Local copy of parameter */ in SYSCALL_DEFINE1()
280 if (copy_from_user(&txc, txc_p, sizeof(struct __kernel_timex))) in SYSCALL_DEFINE1()
283 return copy_to_user(txc_p, &txc, sizeof(struct __kernel_timex)) ? -EFAULT : ret; in SYSCALL_DEFINE1()
288 int get_old_timex32(struct __kernel_timex *txc, const struct old_timex32 __user *utp) in get_old_timex32()
292 memset(txc, 0, sizeof(struct __kernel_timex)); in get_old_timex32()
320 int put_old_timex32(struct old_timex32 __user *utp, const struct __kernel_timex *txc) in put_old_timex32()
353 struct __kernel_timex txc; in SYSCALL_DEFINE1()
Dntp_internal.h11 extern int __do_adjtimex(struct __kernel_timex *txc,
Dntp.c193 static inline void pps_fill_timex(struct __kernel_timex *txc) in pps_fill_timex()
225 static inline void pps_fill_timex(struct __kernel_timex *txc) in pps_fill_timex()
638 static inline void process_adj_status(const struct __kernel_timex *txc) in process_adj_status()
661 static inline void process_adjtimex_modes(const struct __kernel_timex *txc, in process_adjtimex_modes()
714 int __do_adjtimex(struct __kernel_timex *txc, const struct timespec64 *ts, in __do_adjtimex()
Dposix-timers.h11 int (*clock_adj)(const clockid_t which_clock, struct __kernel_timex *tx);
Dposix-timers.c182 struct __kernel_timex *t) in posix_clock_realtime_adj()
1078 int do_clock_adjtime(const clockid_t which_clock, struct __kernel_timex * ktx) in do_clock_adjtime()
1091 struct __kernel_timex __user *, utx) in SYSCALL_DEFINE2()
1093 struct __kernel_timex ktx; in SYSCALL_DEFINE2()
1163 struct __kernel_timex ktx; in SYSCALL_DEFINE2()
Dposix-clock.c231 static int pc_clock_adjtime(clockid_t id, struct __kernel_timex *tx) in pc_clock_adjtime()
Dtimekeeping.c2247 static int timekeeping_validate_timex(const struct __kernel_timex *txc) in timekeeping_validate_timex()
2313 int do_adjtimex(struct __kernel_timex *txc) in do_adjtimex()
/Linux-v5.4/include/uapi/linux/
Dtimex.h100 struct __kernel_timex { struct
/Linux-v5.4/arch/sparc/kernel/
Dsys_sparc_64.c554 struct __kernel_timex *kt = (void *)&txc; in SYSCALL_DEFINE1()
578 struct __kernel_timex *kt = (void *)&txc; in SYSCALL_DEFINE2()
/Linux-v5.4/drivers/ptp/
Dptp_clock.c115 static int ptp_clock_adjtime(struct posix_clock *pc, struct __kernel_timex *tx) in ptp_clock_adjtime()
/Linux-v5.4/arch/alpha/kernel/
Dosf_sys.c1256 struct __kernel_timex txc; in SYSCALL_DEFINE1()