/arch/sparc/kernel/ |
D | sys_sparc32.c | 143 struct compat_stat64 __user *statbuf) in cp_compat_stat64() argument 147 err = put_user(huge_encode_dev(stat->dev), &statbuf->st_dev); in cp_compat_stat64() 148 err |= put_user(stat->ino, &statbuf->st_ino); in cp_compat_stat64() 149 err |= put_user(stat->mode, &statbuf->st_mode); in cp_compat_stat64() 150 err |= put_user(stat->nlink, &statbuf->st_nlink); in cp_compat_stat64() 151 err |= put_user(stat->uid, &statbuf->st_uid); in cp_compat_stat64() 152 err |= put_user(stat->gid, &statbuf->st_gid); in cp_compat_stat64() 153 err |= put_user(huge_encode_dev(stat->rdev), &statbuf->st_rdev); in cp_compat_stat64() 154 err |= put_user(0, (unsigned long __user *) &statbuf->__pad3[0]); in cp_compat_stat64() 155 err |= put_user(stat->size, &statbuf->st_size); in cp_compat_stat64() [all …]
|
/arch/parisc/hpux/ |
D | fs.c | 151 static int cp_hpux_stat(struct kstat *stat, struct hpux_stat64 __user *statbuf) in cp_hpux_stat() argument 174 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_hpux_stat() 177 long hpux_stat64(char __user *filename, struct hpux_stat64 __user *statbuf) in hpux_stat64() argument 183 error = cp_hpux_stat(&stat, statbuf); in hpux_stat64() 188 long hpux_fstat64(unsigned int fd, struct hpux_stat64 __user *statbuf) in hpux_fstat64() argument 194 error = cp_hpux_stat(&stat, statbuf); in hpux_fstat64() 199 long hpux_lstat64(char __user *filename, struct hpux_stat64 __user *statbuf) in hpux_lstat64() argument 205 error = cp_hpux_stat(&stat, statbuf); in hpux_lstat64()
|
/arch/arm/kernel/ |
D | sys_oabi-compat.c | 117 struct oldabi_stat64 __user *statbuf) in cp_oldabi_stat64() argument 140 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_oldabi_stat64() 144 struct oldabi_stat64 __user * statbuf) in sys_oabi_stat64() argument 149 error = cp_oldabi_stat64(&stat, statbuf); in sys_oabi_stat64() 154 struct oldabi_stat64 __user * statbuf) in sys_oabi_lstat64() argument 159 error = cp_oldabi_stat64(&stat, statbuf); in sys_oabi_lstat64() 164 struct oldabi_stat64 __user * statbuf) in sys_oabi_fstat64() argument 169 error = cp_oldabi_stat64(&stat, statbuf); in sys_oabi_fstat64() 175 struct oldabi_stat64 __user *statbuf, in sys_oabi_fstatat64() argument 190 error = cp_oldabi_stat64(&stat, statbuf); in sys_oabi_fstatat64()
|
/arch/s390/kernel/ |
D | compat_linux.h | 215 long sys32_stat64(char __user * filename, struct stat64_emu31 __user * statbuf); 217 struct stat64_emu31 __user * statbuf); 218 long sys32_fstat64(unsigned long fd, struct stat64_emu31 __user * statbuf); 220 struct stat64_emu31 __user* statbuf, int flag);
|
D | compat_linux.c | 674 asmlinkage long sys32_stat64(char __user * filename, struct stat64_emu31 __user * statbuf) in sys32_stat64() argument 679 ret = cp_stat64(statbuf, &stat); in sys32_stat64() 683 asmlinkage long sys32_lstat64(char __user * filename, struct stat64_emu31 __user * statbuf) in sys32_lstat64() argument 688 ret = cp_stat64(statbuf, &stat); in sys32_lstat64() 692 asmlinkage long sys32_fstat64(unsigned long fd, struct stat64_emu31 __user * statbuf) in sys32_fstat64() argument 697 ret = cp_stat64(statbuf, &stat); in sys32_fstat64() 702 struct stat64_emu31 __user* statbuf, int flag) in sys32_fstatat64() argument 716 error = cp_stat64(statbuf, &stat); in sys32_fstatat64()
|
/arch/x86/ia32/ |
D | sys_ia32.c | 99 struct stat64 __user *statbuf) in sys32_stat64() argument 105 ret = cp_stat64(statbuf, &stat); in sys32_stat64() 110 struct stat64 __user *statbuf) in sys32_lstat64() argument 115 ret = cp_stat64(statbuf, &stat); in sys32_lstat64() 119 asmlinkage long sys32_fstat64(unsigned int fd, struct stat64 __user *statbuf) in sys32_fstat64() argument 124 ret = cp_stat64(statbuf, &stat); in sys32_fstat64() 129 struct stat64 __user *statbuf, int flag) in sys32_fstatat() argument 143 error = cp_stat64(statbuf, &stat); in sys32_fstatat()
|
/arch/ia64/ia32/ |
D | sys_ia32.c | 1865 sys32_stat64 (char __user *filename, struct stat64 __user *statbuf) in sys32_stat64() argument 1870 ret = putstat64(statbuf, &s); in sys32_stat64() 1875 sys32_lstat64 (char __user *filename, struct stat64 __user *statbuf) in sys32_lstat64() argument 1880 ret = putstat64(statbuf, &s); in sys32_lstat64() 1885 sys32_fstat64 (unsigned int fd, struct stat64 __user *statbuf) in sys32_fstat64() argument 1890 ret = putstat64(statbuf, &s); in sys32_fstat64()
|