Lines Matching refs:vcp

99 	struct smb_vc *vcp = iod->iod_vc;
102 if (vcp->vc_tdata == NULL)
104 SMB_TRAN_DISCONNECT(vcp, td);
105 SMB_TRAN_DONE(vcp, td);
106 vcp->vc_tdata = NULL;
120 struct smb_vc *vcp = iod->iod_vc;
134 vcp->vc_genid++;
137 error = (int)SMB_TRAN_CREATE(vcp, td);
141 if (vcp->vc_laddr) {
142 error = (int)SMB_TRAN_BIND(vcp, vcp->vc_laddr, td);
147 error = (int)SMB_TRAN_CONNECT(vcp, vcp->vc_paddr, td);
150 SMB_TRAN_SETPARAM(vcp, SMBTP_SELECTID, &iod->iod_flags);
153 /* vcp->vc_mid = 0;*/
154 error = (int)smb_smb_negotiate(vcp, &iod->iod_scred);
158 error = (int)smb_smb_ssnsetup(vcp, &iod->iod_scred);
174 struct smb_vc *vcp = iod->iod_vc;
178 smb_smb_ssnclose(vcp, &iod->iod_scred);
181 vcp->vc_smbuid = SMB_UID_UNKNOWN;
216 struct smb_vc *vcp = iod->iod_vc;
236 if (vcp->vc_maxmux != 0 && iod->iod_muxcnt >= vcp->vc_maxmux)
240 le16enc(rqp->sr_rquid, vcp ? vcp->vc_smbuid : 0);
242 if (vcp->vc_hflags2 & SMB_FLAGS2_SECURITY_SIGNATURE)
257 error = rqp->sr_lerror = SMB_TRAN_SEND(vcp, m, td);
268 if (SMB_TRAN_FATAL(vcp, error)) {
285 struct smb_vc *vcp = iod->iod_vc;
303 error = SMB_TRAN_RECV(vcp, &m, td);
306 if (SMB_TRAN_FATAL(vcp, error)) {
355 /* smb_printrqlist(vcp);*/
403 struct smb_vc *vcp = rqp->sr_vc;
404 struct smbiod *iod = vcp->vc_iod;
435 error = smb_iod_request(vcp->vc_iod, SMBIOD_EV_CONNECT | SMBIOD_EV_SYNC, NULL);
445 if (vcp->vc_maxmux == 0) {
449 if (iod->iod_muxcnt < vcp->vc_maxmux)
465 struct smb_vc *vcp = rqp->sr_vc;
466 struct smbiod *iod = vcp->vc_iod;
533 struct smb_vc *vcp = iod->iod_vc;
557 SMB_TRAN_GETPARAM(vcp, SMBTP_TIMEOUT, &tstimeout);
583 /* struct smb_vc *vcp = iod->iod_vc;*/
633 smb_smb_echo(vcp, &iod->iod_scred);
672 smb_iod_create(struct smb_vc *vcp)
680 iod->iod_vc = vcp;
684 vcp->vc_iod = iod;
693 vcp->vc_iod = NULL;