Lines Matching defs:stat
117 static long cp_oldabi_stat64(struct kstat *stat,
122 tmp.st_dev = huge_encode_dev(stat->dev);
124 tmp.__st_ino = stat->ino;
125 tmp.st_mode = stat->mode;
126 tmp.st_nlink = stat->nlink;
127 tmp.st_uid = stat->uid;
128 tmp.st_gid = stat->gid;
129 tmp.st_rdev = huge_encode_dev(stat->rdev);
130 tmp.st_size = stat->size;
131 tmp.st_blocks = stat->blocks;
133 tmp.st_blksize = stat->blksize;
134 tmp.st_atime = stat->atime.tv_sec;
135 tmp.st_atime_nsec = stat->atime.tv_nsec;
136 tmp.st_mtime = stat->mtime.tv_sec;
137 tmp.st_mtime_nsec = stat->mtime.tv_nsec;
138 tmp.st_ctime = stat->ctime.tv_sec;
139 tmp.st_ctime_nsec = stat->ctime.tv_nsec;
140 tmp.st_ino = stat->ino;
147 struct kstat stat;
148 int error = vfs_stat(filename, &stat);
150 error = cp_oldabi_stat64(&stat, statbuf);
157 struct kstat stat;
158 int error = vfs_lstat(filename, &stat);
160 error = cp_oldabi_stat64(&stat, statbuf);
167 struct kstat stat;
168 int error = vfs_fstat(fd, &stat);
170 error = cp_oldabi_stat64(&stat, statbuf);
179 struct kstat stat;
182 error = vfs_fstatat(dfd, filename, &stat, flag);
185 return cp_oldabi_stat64(&stat, statbuf);