Lines Matching refs:ofid
579 struct p9_fid *dfid, *ofid, *fid;
585 ofid = NULL;
596 ofid = p9_client_walk(dfid, 0, NULL, 1);
597 if (IS_ERR(ofid)) {
598 err = PTR_ERR(ofid);
603 err = p9_client_fcreate(ofid, name, perm, mode, extension);
636 return ofid;
639 if (ofid)
640 p9_client_clunk(ofid);
667 struct p9_fid *dfid, *ofid;
690 ofid = p9_client_walk(dfid, 0, NULL, 1);
691 if (IS_ERR(ofid)) {
692 err = PTR_ERR(ofid);
698 err = p9_client_create_dotl(ofid, name, flags, mode, gid, &qid);
712 p9_client_clunk(ofid);
746 p9_client_clunk(ofid);
749 filp->private_data = ofid;
751 p9_client_clunk(ofid);
756 if (ofid)
757 p9_client_clunk(ofid);