Lines Matching refs:statbuf

225 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf)  in cp_old_stat()  argument
259 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_old_stat()
263 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
272 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
276 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
285 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
288 SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
294 error = cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
313 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) in cp_new_stat() argument
349 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat()
353 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
360 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
364 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
373 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
378 struct stat __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
386 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE4()
390 SYSCALL_DEFINE2(newfstat, unsigned int, fd, struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
396 error = cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
458 static long cp_new_stat64(struct kstat *stat, struct stat64 __user *statbuf) in cp_new_stat64() argument
490 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat64()
494 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
500 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
506 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
512 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
517 SYSCALL_DEFINE2(fstat64, unsigned long, fd, struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
523 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
529 struct stat64 __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
537 return cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE4()
650 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
658 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
662 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
670 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
676 struct compat_stat __user *, statbuf, int, flag) in COMPAT_SYSCALL_DEFINE4() argument
684 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE4()
689 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
695 error = cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()