/linux-2.6.39/fs/ |
D | stat.c | 119 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) in cp_old_stat() argument 153 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_old_stat() 157 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument 166 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2() 170 struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument 179 return cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2() 182 SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument 188 error = cp_old_stat(&stat, statbuf); in SYSCALL_DEFINE2() 195 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) in cp_new_stat() argument 242 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_new_stat() [all …]
|
D | compat.c | 173 struct compat_stat __user *statbuf) in compat_sys_newstat() argument 181 return cp_compat_stat(&stat, statbuf); in compat_sys_newstat() 185 struct compat_stat __user *statbuf) in compat_sys_newlstat() argument 193 return cp_compat_stat(&stat, statbuf); in compat_sys_newlstat() 199 struct compat_stat __user *statbuf, int flag) in compat_sys_newfstatat() argument 207 return cp_compat_stat(&stat, statbuf); in compat_sys_newfstatat() 212 struct compat_stat __user * statbuf) in compat_sys_newfstat() argument 218 error = cp_compat_stat(&stat, statbuf); in compat_sys_newfstat()
|
/linux-2.6.39/arch/sparc/kernel/ |
D | sys_sparc32.c | 135 struct compat_stat64 __user *statbuf) in cp_compat_stat64() argument 139 err = put_user(huge_encode_dev(stat->dev), &statbuf->st_dev); in cp_compat_stat64() 140 err |= put_user(stat->ino, &statbuf->st_ino); in cp_compat_stat64() 141 err |= put_user(stat->mode, &statbuf->st_mode); in cp_compat_stat64() 142 err |= put_user(stat->nlink, &statbuf->st_nlink); in cp_compat_stat64() 143 err |= put_user(stat->uid, &statbuf->st_uid); in cp_compat_stat64() 144 err |= put_user(stat->gid, &statbuf->st_gid); in cp_compat_stat64() 145 err |= put_user(huge_encode_dev(stat->rdev), &statbuf->st_rdev); in cp_compat_stat64() 146 err |= put_user(0, (unsigned long __user *) &statbuf->__pad3[0]); in cp_compat_stat64() 147 err |= put_user(stat->size, &statbuf->st_size); in cp_compat_stat64() [all …]
|
/linux-2.6.39/arch/parisc/hpux/ |
D | fs.c | 148 static int cp_hpux_stat(struct kstat *stat, struct hpux_stat64 __user *statbuf) in cp_hpux_stat() argument 171 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_hpux_stat() 174 long hpux_stat64(const char __user *filename, struct hpux_stat64 __user *statbuf) in hpux_stat64() argument 180 error = cp_hpux_stat(&stat, statbuf); in hpux_stat64() 185 long hpux_fstat64(unsigned int fd, struct hpux_stat64 __user *statbuf) in hpux_fstat64() argument 191 error = cp_hpux_stat(&stat, statbuf); in hpux_fstat64() 197 struct hpux_stat64 __user *statbuf) in hpux_lstat64() argument 203 error = cp_hpux_stat(&stat, statbuf); in hpux_lstat64()
|
/linux-2.6.39/arch/arm/kernel/ |
D | sys_oabi-compat.c | 118 struct oldabi_stat64 __user *statbuf) in cp_oldabi_stat64() argument 141 return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; in cp_oldabi_stat64() 145 struct oldabi_stat64 __user * statbuf) in sys_oabi_stat64() argument 150 error = cp_oldabi_stat64(&stat, statbuf); in sys_oabi_stat64() 155 struct oldabi_stat64 __user * statbuf) in sys_oabi_lstat64() argument 160 error = cp_oldabi_stat64(&stat, statbuf); in sys_oabi_lstat64() 165 struct oldabi_stat64 __user * statbuf) in sys_oabi_fstat64() argument 170 error = cp_oldabi_stat64(&stat, statbuf); in sys_oabi_fstat64() 176 struct oldabi_stat64 __user *statbuf, in sys_oabi_fstatat64() argument 185 return cp_oldabi_stat64(&stat, statbuf); in sys_oabi_fstatat64()
|
/linux-2.6.39/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 137 return cp_stat64(statbuf, &stat); in sys32_fstatat()
|
/linux-2.6.39/arch/s390/kernel/ |
D | compat_linux.h | 210 long sys32_stat64(const char __user * filename, struct stat64_emu31 __user * statbuf); 212 struct stat64_emu31 __user * statbuf); 213 long sys32_fstat64(unsigned long fd, struct stat64_emu31 __user * statbuf); 215 struct stat64_emu31 __user* statbuf, int flag);
|
D | compat_linux.c | 572 asmlinkage long sys32_stat64(const char __user * filename, struct stat64_emu31 __user * statbuf) in sys32_stat64() argument 577 ret = cp_stat64(statbuf, &stat); in sys32_stat64() 581 asmlinkage long sys32_lstat64(const char __user * filename, struct stat64_emu31 __user * statbuf) in sys32_lstat64() argument 586 ret = cp_stat64(statbuf, &stat); in sys32_lstat64() 590 asmlinkage long sys32_fstat64(unsigned long fd, struct stat64_emu31 __user * statbuf) in sys32_fstat64() argument 595 ret = cp_stat64(statbuf, &stat); in sys32_fstat64() 600 struct stat64_emu31 __user* statbuf, int flag) in sys32_fstatat64() argument 608 return cp_stat64(statbuf, &stat); in sys32_fstatat64()
|
/linux-2.6.39/include/linux/ |
D | syscalls.h | 403 struct __old_kernel_stat __user *statbuf); 412 struct __old_kernel_stat __user *statbuf); 414 struct __old_kernel_stat __user *statbuf); 416 struct stat __user *statbuf); 418 struct stat __user *statbuf); 419 asmlinkage long sys_newfstat(unsigned int fd, struct stat __user *statbuf); 423 struct stat64 __user *statbuf); 424 asmlinkage long sys_fstat64(unsigned long fd, struct stat64 __user *statbuf); 426 struct stat64 __user *statbuf); 779 struct stat __user *statbuf, int flag); [all …]
|
D | compat.h | 354 struct compat_stat __user *statbuf,
|
/linux-2.6.39/drivers/isdn/pcbit/ |
D | drv.c | 701 static char statbuf[STATBUF_LEN]; variable 719 if (copy_to_user(buf, statbuf + stat_st, len)) in pcbit_stat() 727 if (copy_to_user(buf, statbuf + stat_st, in pcbit_stat() 730 if (copy_to_user(buf, statbuf, in pcbit_stat() 738 if (copy_to_user(buf, statbuf + stat_st, len)) in pcbit_stat() 761 statbuf[i]=str[i]; in pcbit_logstat()
|
/linux-2.6.39/arch/tile/include/asm/ |
D | syscalls.h | 60 long sys_fstat64(unsigned long fd, struct stat64 __user *statbuf);
|
/linux-2.6.39/drivers/net/tulip/ |
D | de4x5.c | 5439 struct pkt_stats statbuf; in de4x5_ioctl() local 5440 ioc->len = sizeof(statbuf); in de4x5_ioctl() 5442 memcpy(&statbuf, &lp->pktStats, ioc->len); in de4x5_ioctl() 5444 if (copy_to_user(ioc->data, &statbuf, ioc->len)) in de4x5_ioctl()
|