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
395 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat64()
399 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
405 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
411 struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
417 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
422 SYSCALL_DEFINE2(fstat64, unsigned long, fd, struct stat64 __user *, statbuf) in SYSCALL_DEFINE2() argument
428 error = cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE2()
434 struct stat64 __user *, statbuf, int, flag) in SYSCALL_DEFINE4() argument
442 return cp_new_stat64(&stat, statbuf); in SYSCALL_DEFINE4()