| H A D | stat.c | 387 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) in cp_old_stat() 421 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in SYSCALL_DEFINE2() argument 425 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() 434 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2() argument 438 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() 447 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2() 450 SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() 459 return cp_old_stat(&stat, statbuf); 470 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) in cp_new_stat() 506 return copy_to_user(statbuf, in SYSCALL_DEFINE2() argument 383 cp_old_stat(struct kstat * stat,struct __old_kernel_stat __user * statbuf) cp_old_stat() argument 446 SYSCALL_DEFINE2(fstat,unsigned int,fd,struct __old_kernel_stat __user *,statbuf) SYSCALL_DEFINE2() argument 466 cp_new_stat(struct kstat * stat,struct stat __user * statbuf) cp_new_stat() argument 519 SYSCALL_DEFINE2(newlstat,const char __user *,filename,struct stat __user *,statbuf) SYSCALL_DEFINE2() argument 533 SYSCALL_DEFINE4(newfstatat,int,dfd,const char __user *,filename,struct stat __user *,statbuf,int,flag) SYSCALL_DEFINE4() argument 546 SYSCALL_DEFINE2(newfstat,unsigned int,fd,struct stat __user *,statbuf) SYSCALL_DEFINE2() argument 616 cp_new_stat64(struct kstat * stat,struct stat64 __user * statbuf) cp_new_stat64() argument 652 SYSCALL_DEFINE2(stat64,const char __user *,filename,struct stat64 __user *,statbuf) SYSCALL_DEFINE2() argument 664 SYSCALL_DEFINE2(lstat64,const char __user *,filename,struct stat64 __user *,statbuf) SYSCALL_DEFINE2() argument 675 SYSCALL_DEFINE2(fstat64,unsigned long,fd,struct stat64 __user *,statbuf) SYSCALL_DEFINE2() argument 687 SYSCALL_DEFINE4(fstatat64,int,dfd,const char __user *,filename,struct stat64 __user *,statbuf,int,flag) SYSCALL_DEFINE4() argument 854 COMPAT_SYSCALL_DEFINE2(newstat,const char __user *,filename,struct compat_stat __user *,statbuf) COMPAT_SYSCALL_DEFINE2() argument 866 COMPAT_SYSCALL_DEFINE2(newlstat,const char __user *,filename,struct compat_stat __user *,statbuf) COMPAT_SYSCALL_DEFINE2() argument 880 COMPAT_SYSCALL_DEFINE4(newfstatat,unsigned int,dfd,const char __user *,filename,struct compat_stat __user *,statbuf,int,flag) COMPAT_SYSCALL_DEFINE4() argument 893 COMPAT_SYSCALL_DEFINE2(newfstat,unsigned int,fd,struct compat_stat __user *,statbuf) COMPAT_SYSCALL_DEFINE2() argument [all...] |