• Home
  • Raw
  • Download

Lines Matching refs:stat

115 static long cp_oldabi_stat64(struct kstat *stat,  in cp_oldabi_stat64()  argument
120 tmp.st_dev = huge_encode_dev(stat->dev); in cp_oldabi_stat64()
122 tmp.__st_ino = stat->ino; in cp_oldabi_stat64()
123 tmp.st_mode = stat->mode; in cp_oldabi_stat64()
124 tmp.st_nlink = stat->nlink; in cp_oldabi_stat64()
125 tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid); in cp_oldabi_stat64()
126 tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid); in cp_oldabi_stat64()
127 tmp.st_rdev = huge_encode_dev(stat->rdev); in cp_oldabi_stat64()
128 tmp.st_size = stat->size; in cp_oldabi_stat64()
129 tmp.st_blocks = stat->blocks; in cp_oldabi_stat64()
131 tmp.st_blksize = stat->blksize; in cp_oldabi_stat64()
132 tmp.st_atime = stat->atime.tv_sec; in cp_oldabi_stat64()
133 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_oldabi_stat64()
134 tmp.st_mtime = stat->mtime.tv_sec; in cp_oldabi_stat64()
135 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_oldabi_stat64()
136 tmp.st_ctime = stat->ctime.tv_sec; in cp_oldabi_stat64()
137 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_oldabi_stat64()
138 tmp.st_ino = stat->ino; in cp_oldabi_stat64()
145 struct kstat stat; in sys_oabi_stat64() local
146 int error = vfs_stat(filename, &stat); in sys_oabi_stat64()
148 error = cp_oldabi_stat64(&stat, statbuf); in sys_oabi_stat64()
155 struct kstat stat; in sys_oabi_lstat64() local
156 int error = vfs_lstat(filename, &stat); in sys_oabi_lstat64()
158 error = cp_oldabi_stat64(&stat, statbuf); in sys_oabi_lstat64()
165 struct kstat stat; in sys_oabi_fstat64() local
166 int error = vfs_fstat(fd, &stat); in sys_oabi_fstat64()
168 error = cp_oldabi_stat64(&stat, statbuf); in sys_oabi_fstat64()
177 struct kstat stat; in sys_oabi_fstatat64() local
180 error = vfs_fstatat(dfd, filename, &stat, flag); in sys_oabi_fstatat64()
183 return cp_oldabi_stat64(&stat, statbuf); in sys_oabi_fstatat64()