Home
last modified time | relevance | path

Searched refs:txc_p (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/arch/sparc/kernel/
Dsys_sparc_64.c551 SYSCALL_DEFINE1(sparc_adjtimex, struct __kernel_timex __user *, txc_p) in SYSCALL_DEFINE1() argument
561 if (copy_from_user(&txc, txc_p, sizeof(txc))) in SYSCALL_DEFINE1()
572 return copy_to_user(txc_p, &txc, sizeof(txc)) ? -EFAULT : ret; in SYSCALL_DEFINE1()
576 struct __kernel_timex __user *, txc_p) in SYSCALL_DEFINE2() argument
594 if (copy_from_user(&txc, txc_p, sizeof(txc))) in SYSCALL_DEFINE2()
605 return copy_to_user(txc_p, &txc, sizeof(txc)) ? -EFAULT : ret; in SYSCALL_DEFINE2()
/linux-6.1.9/arch/alpha/kernel/
Dosf_sys.c1190 SYSCALL_DEFINE1(old_adjtimex, struct timex32 __user *, txc_p) in SYSCALL_DEFINE1() argument
1196 if (copy_from_user(&txc, txc_p, offsetof(struct timex32, time)) || in SYSCALL_DEFINE1()
1197 copy_from_user(&txc.tick, &txc_p->tick, sizeof(struct timex32) - in SYSCALL_DEFINE1()
1206 if (copy_to_user(txc_p, &txc, offsetof(struct timex32, time)) || in SYSCALL_DEFINE1()
1207 (copy_to_user(&txc_p->tick, &txc.tick, sizeof(struct timex32) - in SYSCALL_DEFINE1()
1209 (put_user(txc.time.tv_sec, &txc_p->time.tv_sec)) || in SYSCALL_DEFINE1()
1210 (put_user(txc.time.tv_usec, &txc_p->time.tv_usec))) in SYSCALL_DEFINE1()
/linux-6.1.9/kernel/time/
Dtime.c269 SYSCALL_DEFINE1(adjtimex, struct __kernel_timex __user *, txc_p) in SYSCALL_DEFINE1() argument
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()
/linux-6.1.9/include/linux/
Dsyscalls.h779 asmlinkage long sys_adjtimex(struct __kernel_timex __user *txc_p);
780 asmlinkage long sys_adjtimex_time32(struct old_timex32 __user *txc_p);