statbuf 116 arch/arm/kernel/sys_oabi-compat.c struct oldabi_stat64 __user *statbuf) statbuf 139 arch/arm/kernel/sys_oabi-compat.c return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; statbuf 143 arch/arm/kernel/sys_oabi-compat.c struct oldabi_stat64 __user * statbuf) statbuf 148 arch/arm/kernel/sys_oabi-compat.c error = cp_oldabi_stat64(&stat, statbuf); statbuf 153 arch/arm/kernel/sys_oabi-compat.c struct oldabi_stat64 __user * statbuf) statbuf 158 arch/arm/kernel/sys_oabi-compat.c error = cp_oldabi_stat64(&stat, statbuf); statbuf 163 arch/arm/kernel/sys_oabi-compat.c struct oldabi_stat64 __user * statbuf) statbuf 168 arch/arm/kernel/sys_oabi-compat.c error = cp_oldabi_stat64(&stat, statbuf); statbuf 174 arch/arm/kernel/sys_oabi-compat.c struct oldabi_stat64 __user *statbuf, statbuf 183 arch/arm/kernel/sys_oabi-compat.c return cp_oldabi_stat64(&stat, statbuf); statbuf 150 arch/s390/kernel/compat_linux.c COMPAT_SYSCALL_DEFINE2(s390_stat64, const char __user *, filename, struct stat64_emu31 __user *, statbuf) statbuf 155 arch/s390/kernel/compat_linux.c ret = cp_stat64(statbuf, &stat); statbuf 159 arch/s390/kernel/compat_linux.c COMPAT_SYSCALL_DEFINE2(s390_lstat64, const char __user *, filename, struct stat64_emu31 __user *, statbuf) statbuf 164 arch/s390/kernel/compat_linux.c ret = cp_stat64(statbuf, &stat); statbuf 168 arch/s390/kernel/compat_linux.c COMPAT_SYSCALL_DEFINE2(s390_fstat64, unsigned int, fd, struct stat64_emu31 __user *, statbuf) statbuf 173 arch/s390/kernel/compat_linux.c ret = cp_stat64(statbuf, &stat); statbuf 178 arch/s390/kernel/compat_linux.c struct stat64_emu31 __user *, statbuf, int, flag) statbuf 186 arch/s390/kernel/compat_linux.c return cp_stat64(statbuf, &stat); statbuf 115 arch/s390/kernel/compat_linux.h long compat_sys_s390_stat64(const char __user *filename, struct stat64_emu31 __user *statbuf); statbuf 116 arch/s390/kernel/compat_linux.h long compat_sys_s390_lstat64(const char __user *filename, struct stat64_emu31 __user *statbuf); statbuf 117 arch/s390/kernel/compat_linux.h long compat_sys_s390_fstat64(unsigned int fd, struct stat64_emu31 __user *statbuf); statbuf 118 arch/s390/kernel/compat_linux.h long compat_sys_s390_fstatat64(unsigned int dfd, const char __user *filename, struct stat64_emu31 __user *statbuf, int flag); statbuf 66 arch/sparc/kernel/sys_sparc32.c struct compat_stat64 __user *statbuf) statbuf 70 arch/sparc/kernel/sys_sparc32.c err = put_user(huge_encode_dev(stat->dev), &statbuf->st_dev); statbuf 71 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->ino, &statbuf->st_ino); statbuf 72 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->mode, &statbuf->st_mode); statbuf 73 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->nlink, &statbuf->st_nlink); statbuf 74 arch/sparc/kernel/sys_sparc32.c err |= put_user(from_kuid_munged(current_user_ns(), stat->uid), &statbuf->st_uid); statbuf 75 arch/sparc/kernel/sys_sparc32.c err |= put_user(from_kgid_munged(current_user_ns(), stat->gid), &statbuf->st_gid); statbuf 76 arch/sparc/kernel/sys_sparc32.c err |= put_user(huge_encode_dev(stat->rdev), &statbuf->st_rdev); statbuf 77 arch/sparc/kernel/sys_sparc32.c err |= put_user(0, (unsigned long __user *) &statbuf->__pad3[0]); statbuf 78 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->size, &statbuf->st_size); statbuf 79 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->blksize, &statbuf->st_blksize); statbuf 80 arch/sparc/kernel/sys_sparc32.c err |= put_user(0, (unsigned int __user *) &statbuf->__pad4[0]); statbuf 81 arch/sparc/kernel/sys_sparc32.c err |= put_user(0, (unsigned int __user *) &statbuf->__pad4[4]); statbuf 82 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->blocks, &statbuf->st_blocks); statbuf 83 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->atime.tv_sec, &statbuf->st_atime); statbuf 84 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->atime.tv_nsec, &statbuf->st_atime_nsec); statbuf 85 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->mtime.tv_sec, &statbuf->st_mtime); statbuf 86 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->mtime.tv_nsec, &statbuf->st_mtime_nsec); statbuf 87 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->ctime.tv_sec, &statbuf->st_ctime); statbuf 88 arch/sparc/kernel/sys_sparc32.c err |= put_user(stat->ctime.tv_nsec, &statbuf->st_ctime_nsec); statbuf 89 arch/sparc/kernel/sys_sparc32.c err |= put_user(0, &statbuf->__unused4); statbuf 90 arch/sparc/kernel/sys_sparc32.c err |= put_user(0, &statbuf->__unused5); statbuf 96 arch/sparc/kernel/sys_sparc32.c struct compat_stat64 __user *, statbuf) statbuf 102 arch/sparc/kernel/sys_sparc32.c error = cp_compat_stat64(&stat, statbuf); statbuf 107 arch/sparc/kernel/sys_sparc32.c struct compat_stat64 __user *, statbuf) statbuf 113 arch/sparc/kernel/sys_sparc32.c error = cp_compat_stat64(&stat, statbuf); statbuf 118 arch/sparc/kernel/sys_sparc32.c struct compat_stat64 __user *, statbuf) statbuf 124 arch/sparc/kernel/sys_sparc32.c error = cp_compat_stat64(&stat, statbuf); statbuf 130 arch/sparc/kernel/sys_sparc32.c struct compat_stat64 __user *, statbuf, int, flag) statbuf 138 arch/sparc/kernel/sys_sparc32.c return cp_compat_stat64(&stat, statbuf); statbuf 60 arch/sparc/kernel/systbls.h struct compat_stat64 __user *statbuf); statbuf 62 arch/sparc/kernel/systbls.h struct compat_stat64 __user *statbuf); statbuf 64 arch/sparc/kernel/systbls.h struct compat_stat64 __user * statbuf); statbuf 67 arch/sparc/kernel/systbls.h struct compat_stat64 __user * statbuf, int flag); statbuf 97 arch/sparc/kernel/systbls.h struct compat_stat64 __user * statbuf); statbuf 100 arch/sparc/kernel/systbls.h struct compat_stat64 __user * statbuf, statbuf 101 arch/x86/ia32/sys_ia32.c struct stat64 __user *, statbuf) statbuf 107 arch/x86/ia32/sys_ia32.c ret = cp_stat64(statbuf, &stat); statbuf 112 arch/x86/ia32/sys_ia32.c struct stat64 __user *, statbuf) statbuf 117 arch/x86/ia32/sys_ia32.c ret = cp_stat64(statbuf, &stat); statbuf 122 arch/x86/ia32/sys_ia32.c struct stat64 __user *, statbuf) statbuf 127 arch/x86/ia32/sys_ia32.c ret = cp_stat64(statbuf, &stat); statbuf 133 arch/x86/ia32/sys_ia32.c struct stat64 __user *, statbuf, int, flag) statbuf 141 arch/x86/ia32/sys_ia32.c return cp_stat64(statbuf, &stat); statbuf 5417 drivers/net/ethernet/dec/tulip/de4x5.c struct pkt_stats statbuf; statbuf 5418 drivers/net/ethernet/dec/tulip/de4x5.c ioc->len = sizeof(statbuf); statbuf 5420 drivers/net/ethernet/dec/tulip/de4x5.c memcpy(&statbuf, &lp->pktStats, ioc->len); statbuf 5422 drivers/net/ethernet/dec/tulip/de4x5.c if (copy_to_user(ioc->data, &statbuf, ioc->len)) statbuf 209 fs/stat.c static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) statbuf 243 fs/stat.c return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; statbuf 247 fs/stat.c struct __old_kernel_stat __user *, statbuf) statbuf 256 fs/stat.c return cp_old_stat(&stat, statbuf); statbuf 260 fs/stat.c struct __old_kernel_stat __user *, statbuf) statbuf 269 fs/stat.c return cp_old_stat(&stat, statbuf); statbuf 272 fs/stat.c SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, statbuf) statbuf 278 fs/stat.c error = cp_old_stat(&stat, statbuf); statbuf 300 fs/stat.c static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) statbuf 334 fs/stat.c return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; statbuf 338 fs/stat.c struct stat __user *, statbuf) statbuf 345 fs/stat.c return cp_new_stat(&stat, statbuf); statbuf 349 fs/stat.c struct stat __user *, statbuf) statbuf 358 fs/stat.c return cp_new_stat(&stat, statbuf); statbuf 363 fs/stat.c struct stat __user *, statbuf, int, flag) statbuf 371 fs/stat.c return cp_new_stat(&stat, statbuf); statbuf 375 fs/stat.c SYSCALL_DEFINE2(newfstat, unsigned int, fd, struct stat __user *, statbuf) statbuf 381 fs/stat.c error = cp_new_stat(&stat, statbuf); statbuf 443 fs/stat.c static long cp_new_stat64(struct kstat *stat, struct stat64 __user *statbuf) statbuf 475 fs/stat.c return copy_to_user(statbuf,&tmp,sizeof(tmp)) ? -EFAULT : 0; statbuf 479 fs/stat.c struct stat64 __user *, statbuf) statbuf 485 fs/stat.c error = cp_new_stat64(&stat, statbuf); statbuf 491 fs/stat.c struct stat64 __user *, statbuf) statbuf 497 fs/stat.c error = cp_new_stat64(&stat, statbuf); statbuf 502 fs/stat.c SYSCALL_DEFINE2(fstat64, unsigned long, fd, struct stat64 __user *, statbuf) statbuf 508 fs/stat.c error = cp_new_stat64(&stat, statbuf); statbuf 514 fs/stat.c struct stat64 __user *, statbuf, int, flag) statbuf 522 fs/stat.c return cp_new_stat64(&stat, statbuf); statbuf 626 fs/stat.c struct compat_stat __user *, statbuf) statbuf 634 fs/stat.c return cp_compat_stat(&stat, statbuf); statbuf 638 fs/stat.c struct compat_stat __user *, statbuf) statbuf 646 fs/stat.c return cp_compat_stat(&stat, statbuf); statbuf 652 fs/stat.c struct compat_stat __user *, statbuf, int, flag) statbuf 660 fs/stat.c return cp_compat_stat(&stat, statbuf); statbuf 665 fs/stat.c struct compat_stat __user *, statbuf) statbuf 671 fs/stat.c error = cp_compat_stat(&stat, statbuf); statbuf 645 include/linux/compat.h struct compat_stat __user *statbuf, statbuf 648 include/linux/compat.h struct compat_stat __user *statbuf); statbuf 875 include/linux/compat.h struct compat_stat __user *statbuf); statbuf 877 include/linux/compat.h struct compat_stat __user *statbuf); statbuf 514 include/linux/syscalls.h struct stat __user *statbuf, int flag); statbuf 515 include/linux/syscalls.h asmlinkage long sys_newfstat(unsigned int fd, struct stat __user *statbuf); statbuf 517 include/linux/syscalls.h asmlinkage long sys_fstat64(unsigned long fd, struct stat64 __user *statbuf); statbuf 519 include/linux/syscalls.h struct stat64 __user *statbuf, int flag); statbuf 1053 include/linux/syscalls.h struct stat64 __user *statbuf); statbuf 1055 include/linux/syscalls.h struct stat64 __user *statbuf); statbuf 1070 include/linux/syscalls.h struct stat __user *statbuf); statbuf 1072 include/linux/syscalls.h struct stat __user *statbuf); statbuf 1186 include/linux/syscalls.h struct __old_kernel_stat __user *statbuf); statbuf 1188 include/linux/syscalls.h struct __old_kernel_stat __user *statbuf); statbuf 1190 include/linux/syscalls.h struct __old_kernel_stat __user *statbuf); statbuf 132 scripts/dtc/dtc.c struct stat statbuf; statbuf 136 scripts/dtc/dtc.c if (stat(fname, &statbuf) != 0) statbuf 139 scripts/dtc/dtc.c if (S_ISDIR(statbuf.st_mode)) statbuf 142 scripts/dtc/dtc.c if (!S_ISREG(statbuf.st_mode)) statbuf 94 tools/perf/examples/bpf/augmented_syscalls.c struct statbuf; statbuf 100 tools/perf/examples/bpf/augmented_syscalls.c struct stat *statbuf; statbuf 136 tools/perf/util/util.c struct stat statbuf; statbuf 139 tools/perf/util/util.c ret = lstat(path, &statbuf); statbuf 144 tools/perf/util/util.c if (!(statbuf.st_mode & S_IFDIR)) statbuf 166 tools/perf/util/util.c ret = lstat(namebuf, &statbuf); statbuf 172 tools/perf/util/util.c if (S_ISDIR(statbuf.st_mode)) statbuf 34 tools/power/cpupower/lib/cpuidle.c struct stat statbuf; statbuf 39 tools/power/cpupower/lib/cpuidle.c if (stat(path, &statbuf) != 0) statbuf 287 tools/power/cpupower/lib/cpuidle.c struct stat statbuf; statbuf 292 tools/power/cpupower/lib/cpuidle.c if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) statbuf 296 tools/power/cpupower/lib/cpuidle.c if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) statbuf 299 tools/power/cpupower/lib/cpuidle.c while (stat(file, &statbuf) == 0 && S_ISDIR(statbuf.st_mode)) { statbuf 54 tools/power/cpupower/lib/cpupower.c struct stat statbuf; statbuf 58 tools/power/cpupower/lib/cpupower.c if (stat(path, &statbuf) != 0) statbuf 66 tools/power/cpupower/lib/cpupower.c if (stat(path, &statbuf) != 0) statbuf 176 tools/power/cpupower/utils/cpupower.c struct stat statbuf; statbuf 215 tools/power/cpupower/utils/cpupower.c stat(pathname, &statbuf) != 0) { statbuf 55 tools/power/cpupower/utils/helpers/sysfs.c struct stat statbuf; statbuf 59 tools/power/cpupower/utils/helpers/sysfs.c if (stat(path, &statbuf) != 0) statbuf 67 tools/power/cpupower/utils/helpers/sysfs.c if (stat(path, &statbuf) != 0) statbuf 108 tools/power/cpupower/utils/helpers/sysfs.c struct stat statbuf; statbuf 113 tools/power/cpupower/utils/helpers/sysfs.c if (stat(path, &statbuf) != 0) statbuf 357 tools/power/cpupower/utils/helpers/sysfs.c struct stat statbuf; statbuf 362 tools/power/cpupower/utils/helpers/sysfs.c if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) statbuf 366 tools/power/cpupower/utils/helpers/sysfs.c if (stat(file, &statbuf) != 0 || !S_ISDIR(statbuf.st_mode)) statbuf 369 tools/power/cpupower/utils/helpers/sysfs.c while (stat(file, &statbuf) == 0 && S_ISDIR(statbuf.st_mode)) {