• Home
  • Raw
  • Download

Lines Matching refs:statbuf

209 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf)  in cp_old_stat()  argument
243 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_old_stat()
247 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
256 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
260 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
269 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
272 SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
278 error = cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
300 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) in cp_new_stat() argument
334 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat()
338 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
345 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
349 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
358 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
363 struct stat __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
371 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE4()
375 SYSCALL_DEFINE2(newfstat, unsigned int, fd, struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
381 error = cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
443 static long cp_new_stat64(struct kstat *stat, struct stat64 __user *statbuf) in cp_new_stat64() argument
475 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat64()
479 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
485 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
491 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
497 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
502 SYSCALL_DEFINE2(fstat64, unsigned long, fd, struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
508 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
514 struct stat64 __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
522 return cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE4()
626 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
634 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
638 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
646 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
652 struct compat_stat __user *, statbuf, int, flag) in COMPAT_SYSCALL_DEFINE4() argument
660 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE4()
665 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
671 error = cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()