Lines Matching defs:statbuf

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