Lines Matching refs:statbuf

384 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf)  in cp_old_stat()  argument
418 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_old_stat()
422 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
431 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
435 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
444 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
447 SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
453 error = cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
466 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) in cp_new_stat() argument
502 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat()
506 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
513 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
517 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
526 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
531 struct stat __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
539 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE4()
543 SYSCALL_DEFINE2(newfstat, unsigned int, fd, struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
549 error = cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
616 static long cp_new_stat64(struct kstat *stat, struct stat64 __user *statbuf) in cp_new_stat64() argument
648 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat64()
652 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
658 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
664 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
670 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
675 SYSCALL_DEFINE2(fstat64, unsigned long, fd, struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
681 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
687 struct stat64 __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
695 return cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE4()
857 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
865 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
869 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
877 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
883 struct compat_stat __user *, statbuf, int, flag) in COMPAT_SYSCALL_DEFINE4() argument
891 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE4()
896 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
902 error = cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()