Lines Matching refs:ssp

129 	struct smb_share *ssp = np->n_mount->sm_share;
137 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_LOCKING_ANDX, scred, &rqp);
166 struct smb_share *ssp = np->n_mount->sm_share;
168 if (SMB_DIALECT(SSTOVC(ssp)) < SMB_DIALECT_LANMAN1_0)
178 smbfs_smb_statvfs(struct smb_share *ssp, struct statvfs *sbp,
190 if (SMB_DIALECT(SSTOVC(ssp)) >= SMB_DIALECT_LANMAN2_0) {
198 error = smb_t2_alloc(SSTOCP(ssp),
229 error = smb_rq_alloc(SSTOCP(ssp),
272 struct smb_share *ssp = np->n_mount->sm_share;
276 error = smb_t2_alloc(SSTOCP(ssp), SMB_TRANS2_SET_FILE_INFORMATION,
301 struct smb_share *ssp = np->n_mount->sm_share;
307 if (!(SMB_CAPS(SSTOVC(ssp)) & SMB_CAP_LARGE_FILES))
312 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_WRITE, scred, &rqp);
340 struct smb_share *ssp = np->n_mount->sm_share;
345 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_SET_INFORMATION, scred, &rqp);
348 svtz = SSTOVC(ssp)->vc_sopt.sv_tz;
362 error = smbfs_fullpath(mbp, SSTOVC(ssp), np, NULL, 0);
384 struct smb_share *ssp = np->n_mount->sm_share;
385 struct smb_vc *vcp = SSTOVC(ssp);
390 error = smb_t2_alloc(SSTOCP(ssp), SMB_TRANS2_SET_PATH_INFORMATION,
438 struct smb_share *ssp = np->n_mount->sm_share;
439 struct smb_vc *vcp = SSTOVC(ssp);
453 error = smb_t2_alloc(SSTOCP(ssp), SMB_TRANS2_SET_PATH_INFORMATION,
498 struct smb_share *ssp = np->n_mount->sm_share;
503 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_SET_INFORMATION2, scred, &rqp);
506 tzoff = SSTOVC(ssp)->vc_sopt.sv_tz;
542 struct smb_share *ssp = np->n_mount->sm_share;
547 error = smb_t2_alloc(SSTOCP(ssp), SMB_TRANS2_SET_FILE_INFORMATION,
551 svtz = SSTOVC(ssp)->vc_sopt.sv_tz;
585 struct smb_share *ssp = np->n_mount->sm_share;
592 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_OPEN, scred, &rqp);
603 error = smbfs_fullpath(mbp, SSTOVC(ssp), np, NULL, 0);
634 smbfs_smb_close(struct smb_share *ssp, u_int16_t fid, struct timespec *mtime,
642 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_CLOSE, scred, &rqp);
649 smb_time_local2server(mtime, SSTOVC(ssp)->vc_sopt.sv_tz, &xtime);
666 struct smb_share *ssp = dnp->n_mount->sm_share;
675 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_CREATE_NEW, scred, &rqp);
682 smb_time_local2server(&ctime, SSTOVC(ssp)->vc_sopt.sv_tz, &tm);
691 error = smbfs_fullpath(mbp, SSTOVC(ssp), dnp, name, nmlen);
707 smbfs_smb_close(ssp, fid, &ctime, scred);
716 struct smb_share *ssp = np->n_mount->sm_share;
720 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_DELETE, scred, &rqp);
729 error = smbfs_fullpath(mbp, SSTOVC(ssp), np, NULL, 0);
743 struct smb_share *ssp = src->n_mount->sm_share;
747 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_RENAME, scred, &rqp);
757 error = smbfs_fullpath(mbp, SSTOVC(ssp), src, NULL, 0);
761 error = smbfs_fullpath(mbp, SSTOVC(ssp), tdnp, tname, tnmlen);
777 struct smb_share *ssp = src->n_mount->sm_share;
781 error = smb_rq_alloc(rqp, SSTOCP(ssp), SMB_COM_MOVE, scred, &rqp);
793 error = smbfs_fullpath(mbp, SSTOVC(ssp), src, NULL, 0);
797 error = smbfs_fullpath(mbp, SSTOVC(ssp), tdnp, tname, tnmlen);
813 struct smb_share *ssp = dnp->n_mount->sm_share;
817 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_CREATE_DIRECTORY, scred, &rqp);
825 error = smbfs_fullpath(mbp, SSTOVC(ssp), dnp, name, len);
838 struct smb_share *ssp = np->n_mount->sm_share;
842 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_DELETE_DIRECTORY, scred, &rqp);
850 error = smbfs_fullpath(mbp, SSTOVC(ssp), np, NULL, 0);
1393 struct smb_share *ssp = np->n_mount->sm_share;
1403 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_NT_CREATE_ANDX, scred, &rqp);
1433 error = smbfs_fullpath(mbp, SSTOVC(ssp), np, NULL, 0);
1469 struct smb_share *ssp = dnp->n_mount->sm_share;
1473 error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_NT_TRANSACT, scred, &rqp);