• Home
  • Raw
  • Download

Lines Matching refs:utp

55 static int compat_get_timex(struct timex *txc, struct compat_timex __user *utp)  in compat_get_timex()  argument
59 if (!access_ok(VERIFY_READ, utp, sizeof(struct compat_timex)) || in compat_get_timex()
60 __get_user(txc->modes, &utp->modes) || in compat_get_timex()
61 __get_user(txc->offset, &utp->offset) || in compat_get_timex()
62 __get_user(txc->freq, &utp->freq) || in compat_get_timex()
63 __get_user(txc->maxerror, &utp->maxerror) || in compat_get_timex()
64 __get_user(txc->esterror, &utp->esterror) || in compat_get_timex()
65 __get_user(txc->status, &utp->status) || in compat_get_timex()
66 __get_user(txc->constant, &utp->constant) || in compat_get_timex()
67 __get_user(txc->precision, &utp->precision) || in compat_get_timex()
68 __get_user(txc->tolerance, &utp->tolerance) || in compat_get_timex()
69 __get_user(txc->time.tv_sec, &utp->time.tv_sec) || in compat_get_timex()
70 __get_user(txc->time.tv_usec, &utp->time.tv_usec) || in compat_get_timex()
71 __get_user(txc->tick, &utp->tick) || in compat_get_timex()
72 __get_user(txc->ppsfreq, &utp->ppsfreq) || in compat_get_timex()
73 __get_user(txc->jitter, &utp->jitter) || in compat_get_timex()
74 __get_user(txc->shift, &utp->shift) || in compat_get_timex()
75 __get_user(txc->stabil, &utp->stabil) || in compat_get_timex()
76 __get_user(txc->jitcnt, &utp->jitcnt) || in compat_get_timex()
77 __get_user(txc->calcnt, &utp->calcnt) || in compat_get_timex()
78 __get_user(txc->errcnt, &utp->errcnt) || in compat_get_timex()
79 __get_user(txc->stbcnt, &utp->stbcnt)) in compat_get_timex()
85 static int compat_put_timex(struct compat_timex __user *utp, struct timex *txc) in compat_put_timex() argument
87 if (!access_ok(VERIFY_WRITE, utp, sizeof(struct compat_timex)) || in compat_put_timex()
88 __put_user(txc->modes, &utp->modes) || in compat_put_timex()
89 __put_user(txc->offset, &utp->offset) || in compat_put_timex()
90 __put_user(txc->freq, &utp->freq) || in compat_put_timex()
91 __put_user(txc->maxerror, &utp->maxerror) || in compat_put_timex()
92 __put_user(txc->esterror, &utp->esterror) || in compat_put_timex()
93 __put_user(txc->status, &utp->status) || in compat_put_timex()
94 __put_user(txc->constant, &utp->constant) || in compat_put_timex()
95 __put_user(txc->precision, &utp->precision) || in compat_put_timex()
96 __put_user(txc->tolerance, &utp->tolerance) || in compat_put_timex()
97 __put_user(txc->time.tv_sec, &utp->time.tv_sec) || in compat_put_timex()
98 __put_user(txc->time.tv_usec, &utp->time.tv_usec) || in compat_put_timex()
99 __put_user(txc->tick, &utp->tick) || in compat_put_timex()
100 __put_user(txc->ppsfreq, &utp->ppsfreq) || in compat_put_timex()
101 __put_user(txc->jitter, &utp->jitter) || in compat_put_timex()
102 __put_user(txc->shift, &utp->shift) || in compat_put_timex()
103 __put_user(txc->stabil, &utp->stabil) || in compat_put_timex()
104 __put_user(txc->jitcnt, &utp->jitcnt) || in compat_put_timex()
105 __put_user(txc->calcnt, &utp->calcnt) || in compat_put_timex()
106 __put_user(txc->errcnt, &utp->errcnt) || in compat_put_timex()
107 __put_user(txc->stbcnt, &utp->stbcnt) || in compat_put_timex()
108 __put_user(txc->tai, &utp->tai)) in compat_put_timex()
758 struct compat_timex __user *utp) in compat_sys_clock_adjtime() argument
764 err = compat_get_timex(&txc, utp); in compat_sys_clock_adjtime()
773 err = compat_put_timex(utp, &txc); in compat_sys_clock_adjtime()
1049 asmlinkage long compat_sys_adjtimex(struct compat_timex __user *utp) in compat_sys_adjtimex() argument
1054 err = compat_get_timex(&txc, utp); in compat_sys_adjtimex()
1060 err = compat_put_timex(utp, &txc); in compat_sys_adjtimex()