Lines Matching refs:wst
1776 static int p9_client_statsize(struct p9_wstat *wst, int proto_version) in p9_client_statsize() argument
1786 if (wst->name) in p9_client_statsize()
1787 ret += strlen(wst->name); in p9_client_statsize()
1788 if (wst->uid) in p9_client_statsize()
1789 ret += strlen(wst->uid); in p9_client_statsize()
1790 if (wst->gid) in p9_client_statsize()
1791 ret += strlen(wst->gid); in p9_client_statsize()
1792 if (wst->muid) in p9_client_statsize()
1793 ret += strlen(wst->muid); in p9_client_statsize()
1799 if (wst->extension) in p9_client_statsize()
1800 ret += strlen(wst->extension); in p9_client_statsize()
1806 int p9_client_wstat(struct p9_fid *fid, struct p9_wstat *wst) in p9_client_wstat() argument
1813 wst->size = p9_client_statsize(wst, clnt->proto_version); in p9_client_wstat()
1821 wst->size, wst->type, wst->dev, wst->qid.type, in p9_client_wstat()
1822 wst->qid.path, wst->qid.version, in p9_client_wstat()
1823 wst->mode, wst->atime, wst->mtime, wst->length, in p9_client_wstat()
1824 wst->name, wst->uid, wst->gid, wst->muid, wst->extension, in p9_client_wstat()
1825 from_kuid(&init_user_ns, wst->n_uid), in p9_client_wstat()
1826 from_kgid(&init_user_ns, wst->n_gid), in p9_client_wstat()
1827 from_kuid(&init_user_ns, wst->n_muid)); in p9_client_wstat()
1830 fid->fid, wst->size + 2, wst); in p9_client_wstat()