Lines Matching refs:vcp
181 #define SMB_DIALECT(vcp) ((vcp)->vc_sopt.sv_proto)
224 #define SMBC_ST_LOCK(vcp) smb_sl_lock(&(vcp)->vc_stlock)
225 #define SMBC_ST_UNLOCK(vcp) smb_sl_unlock(&(vcp)->vc_stlock)
275 #define SMB_UNICODE_STRINGS(vcp) ((vcp)->vc_hflags2 & SMB_FLAGS2_UNICODE)
307 #define VCTOCP(vcp) (&(vcp)->obj)
372 int smb_vc_connect(struct smb_vc *vcp, struct smb_cred *scred);
373 int smb_vc_access(struct smb_vc *vcp, struct smb_cred *scred, mode_t mode);
374 int smb_vc_get(struct smb_vc *vcp, struct smb_cred *scred);
375 void smb_vc_put(struct smb_vc *vcp, struct smb_cred *scred);
376 void smb_vc_ref(struct smb_vc *vcp);
377 void smb_vc_rele(struct smb_vc *vcp, struct smb_cred *scred);
378 int smb_vc_lock(struct smb_vc *vcp);
379 void smb_vc_unlock(struct smb_vc *vcp);
380 int smb_vc_lookupshare(struct smb_vc *vcp, struct smb_sharespec *shspec,
382 const char * smb_vc_getpass(struct smb_vc *vcp);
383 u_short smb_vc_nextmid(struct smb_vc *vcp);
388 int smb_share_create(struct smb_vc *vcp, struct smb_sharespec *shspec,
404 int smb_smb_negotiate(struct smb_vc *vcp, struct smb_cred *scred);
405 int smb_smb_ssnsetup(struct smb_vc *vcp, struct smb_cred *scred);
406 int smb_smb_ssnclose(struct smb_vc *vcp, struct smb_cred *scred);
413 int smb_smb_echo(struct smb_vc *vcp, struct smb_cred *scred);
458 int smb_iod_create(struct smb_vc *vcp);