• Home
  • Raw
  • Download

Lines Matching refs:statbuf

279 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf)  in cp_old_stat()  argument
313 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_old_stat()
317 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
326 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
330 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
339 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
342 SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
348 error = cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
367 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) in cp_new_stat() argument
403 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat()
407 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
414 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
418 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
427 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
432 struct stat __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
440 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE4()
444 SYSCALL_DEFINE2(newfstat, unsigned int, fd, struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
450 error = cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
512 static long cp_new_stat64(struct kstat *stat, struct stat64 __user *statbuf) in cp_new_stat64() argument
544 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat64()
548 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
554 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
560 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
566 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
571 SYSCALL_DEFINE2(fstat64, unsigned long, fd, struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
577 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
583 struct stat64 __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
591 return cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE4()
713 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
721 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
725 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
733 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
739 struct compat_stat __user *, statbuf, int, flag) in COMPAT_SYSCALL_DEFINE4() argument
747 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE4()
752 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
758 error = cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()