Home
last modified time | relevance | path

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

/linux/include/linux/
H A 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 *);
H A Dtimex.h154 extern int do_adjtimex(struct __kernel_timex *);
155 extern int do_clock_adjtime(const clockid_t which_clock, struct __kernel_timex * ktx);
H A Dposix-clock.h42 int (*clock_adjtime)(struct posix_clock *pc, struct __kernel_timex *tx);
/linux/kernel/time/
H A 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()
H A Dntp_internal.h11 extern int ntp_adjtimex(unsigned int tkid, struct __kernel_timex *txc, const struct timespec64 *ts,
H A Dposix-clock.c224 static int pc_clock_adjtime(clockid_t id, struct __kernel_timex *tx) in pc_clock_adjtime()
H A Dtimekeeping.c2575 static int timekeeping_validate_timex(const struct __kernel_timex *txc, bool aux_clock) in timekeeping_validate_timex()
2672 static int __do_adjtimex(struct tk_data *tkd, struct __kernel_timex *txc, in __do_adjtimex()
2732 int do_adjtimex(struct __kernel_timex *txc) in do_adjtimex()
2946 static int aux_clock_adj(const clockid_t id, struct __kernel_timex *txc) in aux_clock_adj()
/linux/arch/sparc/kernel/
H A Dsys_sparc_64.c568 SYSCALL_DEFINE1(sparc_adjtimex, struct __kernel_timex __user *, txc_p) in SYSCALL_DEFINE1()
570 struct __kernel_timex txc; in SYSCALL_DEFINE1()
583 * is 32 bit wide instead of 64-bit in __kernel_timex in SYSCALL_DEFINE1()
593 struct __kernel_timex __user *, txc_p) in SYSCALL_DEFINE2()
595 struct __kernel_timex txc; in SYSCALL_DEFINE2()
616 * is 32 bit wide instead of 64-bit in __kernel_timex in SYSCALL_DEFINE2()
/linux/include/uapi/linux/
H A Dtimex.h102 struct __kernel_timex { struct
116 time__kernel_timex global() argument
117 tick__kernel_timex global() argument
119 ppsfreq__kernel_timex global() argument
120 jitter__kernel_timex global() argument
121 shift__kernel_timex global() argument
123 stabil__kernel_timex global() argument
124 jitcnt__kernel_timex global() argument
125 calcnt__kernel_timex global() argument
126 errcnt__kernel_timex global() argument
127 stbcnt__kernel_timex global() argument
129 tai__kernel_timex global() argument
/linux/drivers/ptp/
H A Dptp_clock.c118 static int ptp_clock_adjtime(struct posix_clock *pc, struct __kernel_timex *tx) in ptp_clock_adjtime()
/linux/arch/alpha/kernel/
H A Dosf_sys.c1189 struct __kernel_timex txc; in SYSCALL_DEFINE1()