Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/arch/alpha/kernel/
Dosf_sys.c1188 SYSCALL_DEFINE1(old_adjtimex, struct timex32 __user *, txc_p) in SYSCALL_DEFINE1() argument
1194 if (copy_from_user(&txc, txc_p, offsetof(struct timex32, time)) || in SYSCALL_DEFINE1()
1195 copy_from_user(&txc.tick, &txc_p->tick, sizeof(struct timex32) - in SYSCALL_DEFINE1()
1204 if (copy_to_user(txc_p, &txc, offsetof(struct timex32, time)) || in SYSCALL_DEFINE1()
1205 (copy_to_user(&txc_p->tick, &txc.tick, sizeof(struct timex32) - in SYSCALL_DEFINE1()
1207 (put_user(txc.time.tv_sec, &txc_p->time.tv_sec)) || in SYSCALL_DEFINE1()
1208 (put_user(txc.time.tv_usec, &txc_p->time.tv_usec))) in SYSCALL_DEFINE1()
/linux-6.6.21/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.6.21/include/linux/
Dsyscalls.h684 asmlinkage long sys_adjtimex(struct __kernel_timex __user *txc_p);
685 asmlinkage long sys_adjtimex_time32(struct old_timex32 __user *txc_p);