Lines Matching refs:statbuf
140 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) in cp_old_stat() argument
174 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_old_stat()
178 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
187 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
191 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
200 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
203 SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
209 error = cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2()
229 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) in cp_new_stat() argument
263 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat()
267 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
274 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
278 struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
287 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
292 struct stat __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
300 return cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE4()
304 SYSCALL_DEFINE2(newfstat, unsigned int, fd, struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
310 error = cp_new_stat(&stat, statbuf); in SYSCALL_DEFINE2()
363 static long cp_new_stat64(struct kstat *stat, struct stat64 __user *statbuf) in cp_new_stat64() argument
397 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat64()
401 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
407 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
413 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
419 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
424 SYSCALL_DEFINE2(fstat64, unsigned long, fd, struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
430 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
436 struct stat64 __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
444 return cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE4()