Lines Matching refs:wstat

202 v9fs_blank_wstat(struct p9_wstat *wstat)  in v9fs_blank_wstat()  argument
204 wstat->type = ~0; in v9fs_blank_wstat()
205 wstat->dev = ~0; in v9fs_blank_wstat()
206 wstat->qid.type = ~0; in v9fs_blank_wstat()
207 wstat->qid.version = ~0; in v9fs_blank_wstat()
208 *((long long *)&wstat->qid.path) = ~0; in v9fs_blank_wstat()
209 wstat->mode = ~0; in v9fs_blank_wstat()
210 wstat->atime = ~0; in v9fs_blank_wstat()
211 wstat->mtime = ~0; in v9fs_blank_wstat()
212 wstat->length = ~0; in v9fs_blank_wstat()
213 wstat->name = NULL; in v9fs_blank_wstat()
214 wstat->uid = NULL; in v9fs_blank_wstat()
215 wstat->gid = NULL; in v9fs_blank_wstat()
216 wstat->muid = NULL; in v9fs_blank_wstat()
217 wstat->n_uid = INVALID_UID; in v9fs_blank_wstat()
218 wstat->n_gid = INVALID_GID; in v9fs_blank_wstat()
219 wstat->n_muid = INVALID_UID; in v9fs_blank_wstat()
220 wstat->extension = NULL; in v9fs_blank_wstat()
933 struct p9_wstat wstat; in v9fs_vfs_rename() local
985 v9fs_blank_wstat(&wstat); in v9fs_vfs_rename()
986 wstat.muid = v9ses->uname; in v9fs_vfs_rename()
987 wstat.name = new_dentry->d_name.name; in v9fs_vfs_rename()
988 retval = p9_client_wstat(oldfid, &wstat); in v9fs_vfs_rename()
1077 struct p9_wstat wstat; in v9fs_vfs_setattr() local
1097 v9fs_blank_wstat(&wstat); in v9fs_vfs_setattr()
1099 wstat.mode = unixmode2p9mode(v9ses, iattr->ia_mode); in v9fs_vfs_setattr()
1102 wstat.mtime = iattr->ia_mtime.tv_sec; in v9fs_vfs_setattr()
1105 wstat.atime = iattr->ia_atime.tv_sec; in v9fs_vfs_setattr()
1108 wstat.length = iattr->ia_size; in v9fs_vfs_setattr()
1112 wstat.n_uid = iattr->ia_uid; in v9fs_vfs_setattr()
1115 wstat.n_gid = iattr->ia_gid; in v9fs_vfs_setattr()
1122 retval = p9_client_wstat(fid, &wstat); in v9fs_vfs_setattr()