Lines Matching refs:wst
1469 static int p9_client_statsize(struct p9_wstat *wst, int proto_version)
1479 if (wst->name)
1480 ret += strlen(wst->name);
1481 if (wst->uid)
1482 ret += strlen(wst->uid);
1483 if (wst->gid)
1484 ret += strlen(wst->gid);
1485 if (wst->muid)
1486 ret += strlen(wst->muid);
1491 if (wst->extension)
1492 ret += strlen(wst->extension);
1498 int p9_client_wstat(struct p9_fid *fid, struct p9_wstat *wst)
1506 wst->size = p9_client_statsize(wst, clnt->proto_version);
1513 wst->size, wst->type, wst->dev, wst->qid.type,
1514 (unsigned long long)wst->qid.path, wst->qid.version, wst->mode,
1515 wst->atime, wst->mtime, (unsigned long long)wst->length,
1516 wst->name, wst->uid, wst->gid, wst->muid, wst->extension,
1517 wst->n_uid, wst->n_gid, wst->n_muid);
1519 req = p9_client_rpc(clnt, P9_TWSTAT, "dwS", fid->fid, wst->size+2, wst);