Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dtime32.h60 struct __kernel_timex;
61 int get_old_timex32(struct __kernel_timex *, const struct old_timex32 __user *);
62 int put_old_timex32(struct old_timex32 __user *, const struct __kernel_timex *);
Dtimex.h162 extern int do_adjtimex(struct __kernel_timex *);
163 extern int do_clock_adjtime(const clockid_t which_clock, struct __kernel_timex * ktx);
Dposix-clock.h41 int (*clock_adjtime)(struct posix_clock *pc, struct __kernel_timex *tx);
Dsyscalls.h53 struct __kernel_timex;
779 asmlinkage long sys_adjtimex(struct __kernel_timex __user *txc_p);
972 struct __kernel_timex __user *tx);
/linux-6.1.9/kernel/time/
Dtime.c269 SYSCALL_DEFINE1(adjtimex, struct __kernel_timex __user *, txc_p) in SYSCALL_DEFINE1()
271 struct __kernel_timex txc; /* Local copy of parameter */ in SYSCALL_DEFINE1()
278 if (copy_from_user(&txc, txc_p, sizeof(struct __kernel_timex))) in SYSCALL_DEFINE1()
281 return copy_to_user(txc_p, &txc, sizeof(struct __kernel_timex)) ? -EFAULT : ret; in SYSCALL_DEFINE1()
286 int get_old_timex32(struct __kernel_timex *txc, const struct old_timex32 __user *utp) in get_old_timex32()
290 memset(txc, 0, sizeof(struct __kernel_timex)); in get_old_timex32()
318 int put_old_timex32(struct old_timex32 __user *utp, const struct __kernel_timex *txc) in put_old_timex32()
351 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()
686 static inline void process_adj_status(const struct __kernel_timex *txc) in process_adj_status()
709 static inline void process_adjtimex_modes(const struct __kernel_timex *txc, in process_adjtimex_modes()
762 int __do_adjtimex(struct __kernel_timex *txc, const struct timespec64 *ts, in __do_adjtimex()
Dposix-timers.h14 int (*clock_adj)(const clockid_t which_clock, struct __kernel_timex *tx);
Dposix-timers.c189 struct __kernel_timex *t) in posix_clock_realtime_adj()
1109 int do_clock_adjtime(const clockid_t which_clock, struct __kernel_timex * ktx) in do_clock_adjtime()
1122 struct __kernel_timex __user *, utx) in SYSCALL_DEFINE2()
1124 struct __kernel_timex ktx; in SYSCALL_DEFINE2()
1194 struct __kernel_timex ktx; in SYSCALL_DEFINE2()
Dposix-clock.c226 static int pc_clock_adjtime(clockid_t id, struct __kernel_timex *tx) in pc_clock_adjtime()
Dtimekeeping.c2342 static int timekeeping_validate_timex(const struct __kernel_timex *txc) in timekeeping_validate_timex()
2422 int do_adjtimex(struct __kernel_timex *txc) in do_adjtimex()
/linux-6.1.9/arch/sparc/kernel/
Dsys_sparc_64.c551 SYSCALL_DEFINE1(sparc_adjtimex, struct __kernel_timex __user *, txc_p) in SYSCALL_DEFINE1()
553 struct __kernel_timex txc; in SYSCALL_DEFINE1()
576 struct __kernel_timex __user *, txc_p) in SYSCALL_DEFINE2()
578 struct __kernel_timex txc; in SYSCALL_DEFINE2()
/linux-6.1.9/include/uapi/linux/
Dtimex.h102 struct __kernel_timex { struct
/linux-6.1.9/arch/s390/kernel/
Dtime.c590 struct __kernel_timex txc; in stp_clear_leap()
608 struct __kernel_timex txc; in stp_check_leap()
/linux-6.1.9/drivers/ptp/
Dptp_clock.c100 static int ptp_clock_adjtime(struct posix_clock *pc, struct __kernel_timex *tx) in ptp_clock_adjtime()
/linux-6.1.9/arch/alpha/kernel/
Dosf_sys.c1192 struct __kernel_timex txc; in SYSCALL_DEFINE1()