Lines Matching defs:wstat
181 * @wstat: structure to initialize
186 v9fs_blank_wstat(struct p9_wstat *wstat)
188 wstat->type = ~0;
189 wstat->dev = ~0;
190 wstat->qid.type = ~0;
191 wstat->qid.version = ~0;
192 *((long long *)&wstat->qid.path) = ~0;
193 wstat->mode = ~0;
194 wstat->atime = ~0;
195 wstat->mtime = ~0;
196 wstat->length = ~0;
197 wstat->name = NULL;
198 wstat->uid = NULL;
199 wstat->gid = NULL;
200 wstat->muid = NULL;
201 wstat->n_uid = ~0;
202 wstat->n_gid = ~0;
203 wstat->n_muid = ~0;
204 wstat->extension = NULL;
1041 struct p9_wstat wstat;
1081 v9fs_blank_wstat(&wstat);
1082 wstat.muid = v9ses->uname;
1083 wstat.name = (char *) new_dentry->d_name.name;
1084 retval = p9_client_wstat(oldfid, &wstat);
1187 struct p9_wstat wstat;
1196 v9fs_blank_wstat(&wstat);
1198 wstat.mode = unixmode2p9mode(v9ses, iattr->ia_mode);
1201 wstat.mtime = iattr->ia_mtime.tv_sec;
1204 wstat.atime = iattr->ia_atime.tv_sec;
1207 wstat.length = iattr->ia_size;
1211 wstat.n_uid = iattr->ia_uid;
1214 wstat.n_gid = iattr->ia_gid;
1217 retval = p9_client_wstat(fid, &wstat);