Lines Matching refs:statbuf
387 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) in cp_old_stat() argument
421 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_old_stat()
425 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
434 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
438 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
447 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
450 SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
459 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
470 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) in cp_new_stat() argument
506 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat()
510 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
519 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
523 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
532 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
537 struct stat __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
546 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE4()
550 SYSCALL_DEFINE2(newfstat, unsigned int, fd, struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
559 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
624 static long cp_new_stat64(struct kstat *stat, struct stat64 __user *statbuf) in cp_new_stat64() argument
656 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat64()
660 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
666 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
672 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
678 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
683 SYSCALL_DEFINE2(fstat64, unsigned long, fd, struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
689 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
695 struct stat64 __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
703 return cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE4()
866 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
874 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
878 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
886 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
892 struct compat_stat __user *, statbuf, int, flag) in COMPAT_SYSCALL_DEFINE4() argument
900 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE4()
905 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
911 error = cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()