Lines Matching refs:stat
81 struct p9_wstat *stat) in p9mode2perm() argument
84 int mode = stat->mode; in p9mode2perm()
108 struct p9_wstat *stat, dev_t *rdev) in p9mode2unixmode() argument
111 u32 mode = stat->mode; in p9mode2unixmode()
114 res = p9mode2perm(v9ses, stat); in p9mode2unixmode()
131 r = sscanf(stat->extension, "%c %i %i", &type, &major, &minor); in p9mode2unixmode()
135 stat->extension); in p9mode2unixmode()
147 type, stat->extension); in p9mode2unixmode()
1006 struct kstat *stat, u32 request_mask, unsigned int flags) in v9fs_vfs_getattr() argument
1017 generic_fillattr(&nop_mnt_idmap, request_mask, inode, stat); in v9fs_vfs_getattr()
1038 generic_fillattr(&nop_mnt_idmap, request_mask, d_inode(dentry), stat); in v9fs_vfs_getattr()
1147 v9fs_stat2inode(struct p9_wstat *stat, struct inode *inode, in v9fs_stat2inode() argument
1156 inode->i_atime.tv_sec = stat->atime; in v9fs_stat2inode()
1157 inode->i_mtime.tv_sec = stat->mtime; in v9fs_stat2inode()
1158 inode_set_ctime(inode, stat->mtime, 0); in v9fs_stat2inode()
1164 inode->i_uid = stat->n_uid; in v9fs_stat2inode()
1165 inode->i_gid = stat->n_gid; in v9fs_stat2inode()
1178 if (sscanf(stat->extension, in v9fs_stat2inode()
1183 mode = p9mode2perm(v9ses, stat); in v9fs_stat2inode()
1188 v9fs_i_size_write(inode, stat->length); in v9fs_stat2inode()
1190 inode->i_blocks = (stat->length + 512 - 1) >> 9; in v9fs_stat2inode()