Lines Matching refs:statbuf
353 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) in cp_old_stat() argument
387 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_old_stat()
391 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
400 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
404 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
413 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
416 SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
422 error = cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
435 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) in cp_new_stat() argument
471 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat()
475 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
482 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
486 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
495 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
500 struct stat __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
508 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE4()
512 SYSCALL_DEFINE2(newfstat, unsigned int, fd, struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
518 error = cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
585 static long cp_new_stat64(struct kstat *stat, struct stat64 __user *statbuf) in cp_new_stat64() argument
617 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat64()
621 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
627 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
633 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
639 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
644 SYSCALL_DEFINE2(fstat64, unsigned long, fd, struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
650 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
656 struct stat64 __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
664 return cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE4()
838 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
846 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
850 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
858 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
864 struct compat_stat __user *, statbuf, int, flag) in COMPAT_SYSCALL_DEFINE4() argument
872 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE4()
877 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
883 error = cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()