Lines Matching refs:statbuf
253 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) in cp_old_stat() argument
287 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_old_stat()
291 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
300 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
304 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
313 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
316 SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
322 error = cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
344 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) in cp_new_stat() argument
378 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat()
382 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
389 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
393 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
402 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
407 struct stat __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
415 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE4()
419 SYSCALL_DEFINE2(newfstat, unsigned int, fd, struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
425 error = cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
487 static long cp_new_stat64(struct kstat *stat, struct stat64 __user *statbuf) in cp_new_stat64() argument
519 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat64()
523 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
529 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
535 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
541 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
546 SYSCALL_DEFINE2(fstat64, unsigned long, fd, struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
552 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
558 struct stat64 __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
566 return cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE4()
677 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
685 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
689 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
697 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()
703 struct compat_stat __user *, statbuf, int, flag) in COMPAT_SYSCALL_DEFINE4() argument
711 return cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE4()
716 struct compat_stat __user *, statbuf) in COMPAT_SYSCALL_DEFINE2() argument
722 error = cp_compat_stat(&stat, statbuf); in COMPAT_SYSCALL_DEFINE2()