Lines Matching refs:statbuf
288 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) in cp_old_stat() argument
322 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_old_stat()
326 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
335 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
339 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
348 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
351 SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
357 error = cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
376 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) in cp_new_stat() argument
412 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat()
416 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
423 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
427 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
436 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
441 struct stat __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
449 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE4()
453 SYSCALL_DEFINE2(newfstat, unsigned int, fd, struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
459 error = cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
521 static long cp_new_stat64(struct kstat *stat, struct stat64 __user *statbuf) in cp_new_stat64() argument
553 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat64()
557 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
563 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
569 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
575 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
580 SYSCALL_DEFINE2(fstat64, unsigned long, fd, struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
586 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
592 struct stat64 __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
600 return cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE4()
729 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
737 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
741 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
749 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
755 struct compat_stat __user *, statbuf, int, flag) in COMPAT_SYSCALL_DEFINE4() argument
763 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE4()
768 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
774 error = cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()