/freebsd-current/sys/netsmb/ |
H A D | smb_tran.h | 52 int (*tr_create)(struct smb_vc *vcp, struct thread *td); 53 int (*tr_done)(struct smb_vc *vcp, struct thread *td); 54 int (*tr_bind)(struct smb_vc *vcp, struct sockaddr *sap, struct thread *td); 55 int (*tr_connect)(struct smb_vc *vcp, struct sockaddr *sap, struct thread *td); 56 int (*tr_disconnect)(struct smb_vc *vcp, struct thread *td); 57 int (*tr_send)(struct smb_vc *vcp, struct mbuf *m0, struct thread *td); 58 int (*tr_recv)(struct smb_vc *vcp, struct mbuf **mpp, struct thread *td); 59 void (*tr_timo)(struct smb_vc *vcp); 60 void (*tr_intr)(struct smb_vc *vcp); 61 int (*tr_getparam)(struct smb_vc *vcp, in [all...] |
H A D | smb_conn.c | 62 static int smb_vc_disconnect(struct smb_vc *vcp); 125 struct smb_vc *vcp; local 131 vcp = NULL; 133 vcp = (struct smb_vc *)scp; 134 error = smb_vc_lock(vcp); 138 if ((vcp->obj.co_flags & SMBV_PRIVATE) || 139 !CONNADDREQ(vcp->vc_paddr, vcspec->sap) || 140 strcmp(vcp->vc_username, vcspec->username) != 0) 143 if (vcp->vc_uid != vcspec->owner) 148 if (vcp 184 struct smb_vc *vcp; local 391 struct smb_vc *vcp; local 498 struct smb_vc *vcp = CPTOVC(cp); local 539 struct smb_vc *vcp = CPTOVC(cp); local 545 smb_vc_ref(struct smb_vc *vcp) argument 551 smb_vc_rele(struct smb_vc *vcp, struct smb_cred *scred) argument 557 smb_vc_get(struct smb_vc *vcp, struct smb_cred *scred) argument 570 smb_vc_put(struct smb_vc *vcp, struct smb_cred *scred) argument 576 smb_vc_lock(struct smb_vc *vcp) argument 589 smb_vc_unlock(struct smb_vc *vcp) argument 601 smb_vc_access(struct smb_vc *vcp, struct smb_cred *scred, mode_t mode) argument 646 smb_vc_lookupshare(struct smb_vc *vcp, struct smb_sharespec *dp, struct smb_cred *scred, struct smb_share **sspp) argument 674 smb_vc_connect(struct smb_vc *vcp, struct smb_cred *scred) argument 685 smb_vc_disconnect(struct smb_vc *vcp) argument 697 smb_vc_getpass(struct smb_vc *vcp) argument 705 smb_vc_getinfo(struct smb_vc *vcp, struct smb_vc_info *vip) argument 723 smb_vc_nextmid(struct smb_vc *vcp) argument 742 smb_share_create(struct smb_vc *vcp, struct smb_sharespec *shspec, struct smb_cred *scred, struct smb_share **sspp) argument 891 struct smb_vc *vcp; local 924 struct smb_vc *vcp; local [all...] |
H A D | smb_smb.c | 71 smb_vc_maxread(struct smb_vc *vcp) argument 81 if ((vcp->vc_sopt.sv_caps & SMB_CAP_LARGE_READX) && 82 (vcp->vc_hflags2 & SMB_FLAGS2_SECURITY_SIGNATURE) == 0) 85 return (vcp->vc_sopt.sv_maxtx - SMB_HDRLEN - 64); 89 smb_vc_maxwrite(struct smb_vc *vcp) argument 94 if ((vcp->vc_sopt.sv_caps & SMB_CAP_LARGE_WRITEX) && 95 (vcp->vc_hflags2 & SMB_FLAGS2_SECURITY_SIGNATURE) == 0) 98 return (vcp->vc_sopt.sv_maxtx - SMB_HDRLEN - 64); 102 smb_smb_nomux(struct smb_vc *vcp, struct smb_cred *scred, const char *name) argument 104 if (scred->scr_td->td_proc == vcp 111 smb_smb_negotiate(struct smb_vc *vcp, struct smb_cred *scred) argument 291 smb_smb_ssnsetup(struct smb_vc *vcp, struct smb_cred *scred) argument 438 smb_smb_ssnclose(struct smb_vc *vcp, struct smb_cred *scred) argument 498 struct smb_vc *vcp; local 926 smb_smb_echo(struct smb_vc *vcp, struct smb_cred *scred) argument [all...] |
H A D | smb_crypt.c | 142 smb_calcmackey(struct smb_vc *vcp) argument 150 KASSERT(vcp->vc_hflags2 & SMB_FLAGS2_SECURITY_SIGNATURE, 153 if (vcp->vc_mackey != NULL) { 154 free(vcp->vc_mackey, M_SMBTEMP); 155 vcp->vc_mackey = NULL; 156 vcp->vc_mackeylen = 0; 157 vcp->vc_seqno = 0; 164 vcp->vc_mackeylen = 16 + 24; 165 vcp->vc_mackey = malloc(vcp 202 struct smb_vc *vcp = rqp->sr_vc; local 265 struct smb_vc *vcp = rqp->sr_vc; local [all...] |
H A D | smb_conn.h | 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) [all...] |
H A D | smb_iod.c | 96 struct smb_vc *vcp = iod->iod_vc; local 99 if (vcp->vc_tdata == NULL) 101 SMB_TRAN_DISCONNECT(vcp, td); 102 SMB_TRAN_DONE(vcp, td); 103 vcp->vc_tdata = NULL; 117 struct smb_vc *vcp = iod->iod_vc; local 131 vcp->vc_genid++; 134 error = (int)SMB_TRAN_CREATE(vcp, td); 138 if (vcp->vc_laddr) { 139 error = (int)SMB_TRAN_BIND(vcp, vc 171 struct smb_vc *vcp = iod->iod_vc; local 213 struct smb_vc *vcp = iod->iod_vc; local 282 struct smb_vc *vcp = iod->iod_vc; local 400 struct smb_vc *vcp = rqp->sr_vc; local 462 struct smb_vc *vcp = rqp->sr_vc; local 528 struct smb_vc *vcp = iod->iod_vc; local 665 smb_iod_create(struct smb_vc *vcp) argument [all...] |
H A D | smb_dev.c | 143 struct smb_vc *vcp; local 161 vcp = sdp->sd_vc; 162 if (vcp != NULL) { 163 smb_vc_lock(vcp); 164 smb_vc_rele(vcp, scred); 175 struct smb_vc *vcp; local 193 scred, &vcp); 196 sdp->sd_vc = vcp; 197 smb_vc_unlock(vcp); 240 if ((vcp [all...] |
H A D | smb_trantcp.c | 76 static int smb_nbst_disconnect(struct smb_vc *vcp, struct thread *td); 451 smb_nbst_create(struct smb_vc *vcp, struct thread *td) argument 459 nbp->nbp_vc = vcp; 462 vcp->vc_tdata = nbp; 467 smb_nbst_done(struct smb_vc *vcp, struct thread *td) argument 469 struct nbpcb *nbp = vcp->vc_tdata; 473 smb_nbst_disconnect(vcp, td); 483 smb_nbst_bind(struct smb_vc *vcp, struct sockaddr *sap, struct thread *td) argument 485 struct nbpcb *nbp = vcp->vc_tdata; 516 smb_nbst_connect(struct smb_vc *vcp, struc argument 561 smb_nbst_disconnect(struct smb_vc *vcp, struct thread *td) argument 581 smb_nbst_send(struct smb_vc *vcp, struct mbuf *m0, struct thread *td) argument 601 smb_nbst_recv(struct smb_vc *vcp, struct mbuf **mpp, struct thread *td) argument 614 smb_nbst_timo(struct smb_vc *vcp) argument 620 smb_nbst_intr(struct smb_vc *vcp) argument 631 smb_nbst_getparam(struct smb_vc *vcp, int param, void *data) argument 652 smb_nbst_setparam(struct smb_vc *vcp, int param, void *data) argument 670 smb_nbst_fatal(struct smb_vc *vcp, int error) argument [all...] |
H A D | smb_subr.h | 110 int smb_calcmackey(struct smb_vc *vcp); 114 int smb_put_dmem(struct mbchain *mbp, struct smb_vc *vcp, 116 int smb_put_dstring(struct mbchain *mbp, struct smb_vc *vcp,
|
H A D | smb_subr.c | 329 smb_put_dmem(struct mbchain *mbp, struct smb_vc *vcp, const char *src, argument 332 struct iconv_drv *dp = vcp->vc_toserver; 341 if (SMB_UNICODE_STRINGS(vcp)) 347 smb_put_dstring(struct mbchain *mbp, struct smb_vc *vcp, const char *src, argument 352 error = smb_put_dmem(mbp, vcp, src, strlen(src), caseopt); 355 if (SMB_UNICODE_STRINGS(vcp))
|
H A D | smb_usr.c | 128 struct smb_vc *vcp = NULL; local 147 error = smb_sm_lookup(&vspec, sspecp, scred, &vcp); 149 *vcpp = vcp; 166 struct smb_vc *vcp = NULL; local 176 error = smb_sm_lookup(&vspec, NULL, scred, &vcp); 182 smb_usr_openshare(struct smb_vc *vcp, struct smbioc_oshare *dp, argument 192 error = smb_vc_lookupshare(vcp, &shspec, scred, &ssp); 199 error = smb_share_create(vcp, &shspec, scred, &ssp);
|
H A D | smb_rq.c | 108 struct smb_vc *vcp = rqp->sr_vc; local 122 mb_put_uint8(mbp, vcp->vc_hflags); 123 flags2 = vcp->vc_hflags2; 160 struct smb_vc *vcp = rqp->sr_vc; local 165 rqp->sr_timo = vcp->vc_timo; 280 struct smb_vc *vcp = NULL; local 287 vcp = CPTOVC(layer); 289 SMBERROR("zombie VC %s\n", vcp->vc_srvname); 302 error = smb_rq_getenv(cp, &vcp, NULL); 311 *vcpp = vcp; 555 struct smb_vc *vcp = t2p->t2_vc; local [all...] |
H A D | smb_dev.h | 187 int smb_usr_openshare(struct smb_vc *vcp, struct smbioc_oshare *data,
|
/freebsd-current/sys/fs/smbfs/ |
H A D | smbfs_subr.c | 110 smbfs_fullpath(struct mbchain *mbp, struct smb_vc *vcp, struct smbnode *dnp, argument 116 if (SMB_UNICODE_STRINGS(vcp)) { 121 if (SMB_DIALECT(vcp) < SMB_DIALECT_LANMAN1_0) 124 error = smb_put_dmem(mbp, vcp, dnp->n_rpath, dnp->n_rplen, 130 if (SMB_UNICODE_STRINGS(vcp)) 137 error = smb_put_dmem(mbp, vcp, name, nmlen, caseopt); 143 if (SMB_UNICODE_STRINGS(vcp)) 151 smbfs_fname_tolocal(struct smb_vc *vcp, char *name, int *nmlen, int caseopt) argument 162 if (vcp->vc_tolocal) { 168 (vcp [all...] |
H A D | smbfs_vfsops.c | 133 struct smb_vc *vcp; local 170 vcp = SSTOVC(ssp); 219 pc = strchr(strncpy(pc, vcp->vc_username, pe - pc - 2), 0); 222 pc = strchr(strncpy(pc, vcp->vc_srvname, pe - pc - 2), 0);
|
H A D | smbfs_smb.c | 480 struct smb_vc *vcp = SSTOVC(ssp); local 494 error = smbfs_fullpath(mbp, vcp, np, NULL, 0); 499 tzoff = vcp->vc_sopt.sv_tz; 520 t2p->t2_maxdcount = vcp->vc_txmax; 535 struct smb_vc *vcp = SSTOVC(ssp); local 549 error = smbfs_fullpath(mbp, vcp, np, NULL, 0); 554 tzoff = vcp->vc_sopt.sv_tz; 944 struct smb_vc *vcp = SSTOVC(ctx->f_ssp); local 952 maxent = min(ctx->f_left, (vcp->vc_txmax - SMB_HDRLEN - 3) / SMB_DENTRYLEN); 969 error = smbfs_fullpath(mbp, vcp, ct 1094 struct smb_vc *vcp = SSTOVC(ctx->f_ssp); local [all...] |
H A D | smbfs_subr.h | 166 int smbfs_fullpath(struct mbchain *mbp, struct smb_vc *vcp, 171 int smbfs_fname_tolocal(struct smb_vc *vcp, char *name, int *nmlen, int caseopt);
|
H A D | smbfs_vnops.c | 272 struct smb_vc *vcp = SSTOVC(ssp); local 412 if (vcp->vc_flags & SMBV_WIN95) { 423 } else if ((vcp->vc_sopt.sv_caps & SMB_CAP_NT_SMBS)) { 426 } else if (SMB_DIALECT(vcp) >= SMB_DIALECT_LANMAN2_0) { 432 if (vcp->vc_sopt.sv_caps & SMB_CAP_NT_SMBS) { 434 } else if (SMB_DIALECT(vcp) >= SMB_DIALECT_LANMAN1_0) { 792 struct smb_vc *vcp = SSTOVC(smp->sm_share); local 798 if (vcp->vc_sopt.sv_caps & (SMB_CAP_LARGE_READX | 805 *retval = (vcp->vc_hflags2 & SMB_FLAGS2_KNOWS_LONG_NAMES) ? 255 : 12;
|
/freebsd-current/crypto/openssl/crypto/perlasm/ |
H A D | s390x.pm | 104 VXD => [qw(vlrlr vlrl vstrlr vstrl vap vcp vcvb vcvbg vcvd vcvdg vdp 2468 sub vcp { subroutine
|