Lines Matching defs:wstat
194 * @wstat: structure to initialize
199 v9fs_blank_wstat(struct p9_wstat *wstat)
201 wstat->type = ~0;
202 wstat->dev = ~0;
203 wstat->qid.type = ~0;
204 wstat->qid.version = ~0;
205 *((long long *)&wstat->qid.path) = ~0;
206 wstat->mode = ~0;
207 wstat->atime = ~0;
208 wstat->mtime = ~0;
209 wstat->length = ~0;
210 wstat->name = NULL;
211 wstat->uid = NULL;
212 wstat->gid = NULL;
213 wstat->muid = NULL;
214 wstat->n_uid = INVALID_UID;
215 wstat->n_gid = INVALID_GID;
216 wstat->n_muid = INVALID_UID;
217 wstat->extension = NULL;
905 struct p9_wstat wstat;
957 v9fs_blank_wstat(&wstat);
958 wstat.muid = v9ses->uname;
959 wstat.name = new_dentry->d_name.name;
960 retval = p9_client_wstat(oldfid, &wstat);
1057 struct p9_wstat wstat;
1076 v9fs_blank_wstat(&wstat);
1078 wstat.mode = unixmode2p9mode(v9ses, iattr->ia_mode);
1081 wstat.mtime = iattr->ia_mtime.tv_sec;
1084 wstat.atime = iattr->ia_atime.tv_sec;
1087 wstat.length = iattr->ia_size;
1091 wstat.n_uid = iattr->ia_uid;
1094 wstat.n_gid = iattr->ia_gid;
1105 retval = p9_client_wstat(fid, &wstat);