Lines Matching refs:stat
84 struct p9_wstat *stat) in p9mode2perm() argument
87 int mode = stat->mode; in p9mode2perm()
111 struct p9_wstat *stat, dev_t *rdev) in p9mode2unixmode() argument
114 u32 mode = stat->mode; in p9mode2unixmode()
117 res = p9mode2perm(v9ses, stat); in p9mode2unixmode()
134 strlcpy(ext, stat->extension, sizeof(ext)); in p9mode2unixmode()
145 type, stat->extension); in p9mode2unixmode()
1052 v9fs_vfs_getattr(const struct path *path, struct kstat *stat, in v9fs_vfs_getattr() argument
1063 generic_fillattr(d_inode(dentry), stat); in v9fs_vfs_getattr()
1075 generic_fillattr(d_inode(dentry), stat); in v9fs_vfs_getattr()
1157 v9fs_stat2inode(struct p9_wstat *stat, struct inode *inode, in v9fs_stat2inode() argument
1169 inode->i_atime.tv_sec = stat->atime; in v9fs_stat2inode()
1170 inode->i_mtime.tv_sec = stat->mtime; in v9fs_stat2inode()
1171 inode->i_ctime.tv_sec = stat->mtime; in v9fs_stat2inode()
1177 inode->i_uid = stat->n_uid; in v9fs_stat2inode()
1178 inode->i_gid = stat->n_gid; in v9fs_stat2inode()
1181 if (v9fs_proto_dotu(v9ses) && (stat->extension[0] != '\0')) { in v9fs_stat2inode()
1189 strlcpy(ext, stat->extension, sizeof(ext)); in v9fs_stat2inode()
1196 mode = p9mode2perm(v9ses, stat); in v9fs_stat2inode()
1201 v9fs_i_size_write(inode, stat->length); in v9fs_stat2inode()
1203 inode->i_blocks = (stat->length + 512 - 1) >> 9; in v9fs_stat2inode()