Lines Matching refs:ofile
72 * when the ofile has no more references and is about to be free'd.
74 * the opipe is installed under an ofile.
207 * If we recognize the pipe, we setup a new ofile.
215 smb_ofile_t *ofile;
235 * Note: If smb_ofile_open succeeds, the new ofile is
240 ofile = smb_ofile_open(sr, NULL, op,
243 if (ofile == NULL) {
249 opipe->p_ofile = ofile;
258 op->fileid = ofile->f_fid;
260 sr->smb_fid = ofile->f_fid;
261 sr->fid_ofile = ofile;
306 smb_ofile_t *ofile;
312 ofile = sr->fid_ofile;
313 ASSERT(ofile->f_ftype == SMB_FTYPE_MESG_PIPE);
314 opipe = ofile->f_pipe;
334 rc = ksocket_sendmsg(sock, &msghdr, 0, &sent, ofile->f_cr);
356 smb_ofile_t *ofile;
362 ofile = sr->fid_ofile;
363 ASSERT(ofile->f_ftype == SMB_FTYPE_MESG_PIPE);
364 opipe = ofile->f_pipe;
385 &recvcnt, ofile->f_cr);
405 smb_ofile_t *ofile;
410 ofile = sr->fid_ofile;
411 ASSERT(ofile->f_ftype == SMB_FTYPE_MESG_PIPE);
412 opipe = ofile->f_pipe;
423 rc = ksocket_ioctl(sock, cmd, (intptr_t)arg, rvalp, ofile->f_cr);
494 smb_ofile_t *ofile;
504 ofile = sr->fid_ofile;
505 if (ofile->f_ftype != SMB_FTYPE_MESG_PIPE)