Lines Matching refs:statbuf

217 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf)  in cp_old_stat()  argument
251 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_old_stat()
255 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
264 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
268 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
277 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
280 SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
286 error = cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
308 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) in cp_new_stat() argument
342 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat()
346 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
353 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
357 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
366 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
371 struct stat __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
379 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE4()
383 SYSCALL_DEFINE2(newfstat, unsigned int, fd, struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
389 error = cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
451 static long cp_new_stat64(struct kstat *stat, struct stat64 __user *statbuf) in cp_new_stat64() argument
483 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat64()
487 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
493 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
499 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
505 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
510 SYSCALL_DEFINE2(fstat64, unsigned long, fd, struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
516 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
522 struct stat64 __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
530 return cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE4()
641 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
649 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
653 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
661 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
667 struct compat_stat __user *, statbuf, int, flag) in COMPAT_SYSCALL_DEFINE4() argument
675 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE4()
680 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
686 error = cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()