Lines Matching refs:afid
840 struct p9_fid *p9_client_attach(struct p9_client *clnt, struct p9_fid *afid,
848 P9_DPRINTK(P9_DEBUG_9P, ">>> TATTACH afid %d uname %s aname %s\n",
849 afid ? afid->fid : -1, uname, aname);
860 afid ? afid->fid : P9_NOFID, uname, aname, n_uname);
896 struct p9_fid *afid;
901 afid = p9_fid_create(clnt);
902 if (IS_ERR(afid)) {
903 err = PTR_ERR(afid);
904 afid = NULL;
909 afid ? afid->fid : P9_NOFID, uname, aname, n_uname);
927 memmove(&afid->qid, &qid, sizeof(struct p9_qid));
929 return afid;
932 if (afid)
933 p9_fid_destroy(afid);