Lines Matching refs:stat

121 static long cp_oldabi_stat64(struct kstat *stat,  in cp_oldabi_stat64()  argument
126 tmp.st_dev = huge_encode_dev(stat->dev); in cp_oldabi_stat64()
128 tmp.__st_ino = stat->ino; in cp_oldabi_stat64()
129 tmp.st_mode = stat->mode; in cp_oldabi_stat64()
130 tmp.st_nlink = stat->nlink; in cp_oldabi_stat64()
131 tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid); in cp_oldabi_stat64()
132 tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid); in cp_oldabi_stat64()
133 tmp.st_rdev = huge_encode_dev(stat->rdev); in cp_oldabi_stat64()
134 tmp.st_size = stat->size; in cp_oldabi_stat64()
135 tmp.st_blocks = stat->blocks; in cp_oldabi_stat64()
137 tmp.st_blksize = stat->blksize; in cp_oldabi_stat64()
138 tmp.st_atime = stat->atime.tv_sec; in cp_oldabi_stat64()
139 tmp.st_atime_nsec = stat->atime.tv_nsec; in cp_oldabi_stat64()
140 tmp.st_mtime = stat->mtime.tv_sec; in cp_oldabi_stat64()
141 tmp.st_mtime_nsec = stat->mtime.tv_nsec; in cp_oldabi_stat64()
142 tmp.st_ctime = stat->ctime.tv_sec; in cp_oldabi_stat64()
143 tmp.st_ctime_nsec = stat->ctime.tv_nsec; in cp_oldabi_stat64()
144 tmp.st_ino = stat->ino; in cp_oldabi_stat64()
151 struct kstat stat; in sys_oabi_stat64() local
152 int error = vfs_stat(filename, &stat); in sys_oabi_stat64()
154 error = cp_oldabi_stat64(&stat, statbuf); in sys_oabi_stat64()
161 struct kstat stat; in sys_oabi_lstat64() local
162 int error = vfs_lstat(filename, &stat); in sys_oabi_lstat64()
164 error = cp_oldabi_stat64(&stat, statbuf); in sys_oabi_lstat64()
171 struct kstat stat; in sys_oabi_fstat64() local
172 int error = vfs_fstat(fd, &stat); in sys_oabi_fstat64()
174 error = cp_oldabi_stat64(&stat, statbuf); in sys_oabi_fstat64()
183 struct kstat stat; in sys_oabi_fstatat64() local
186 error = vfs_fstatat(dfd, filename, &stat, flag); in sys_oabi_fstatat64()
189 return cp_oldabi_stat64(&stat, statbuf); in sys_oabi_fstatat64()