/freebsd/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, int param, void *data); [all …]
|
H A D | smb_conn.h | 168 struct smb_vc; 227 struct smb_vc { struct 306 #define CPTOVC(cp) ((struct smb_vc*)(cp)) 355 struct smb_vc **vcpp); 371 struct smb_cred *scred, struct smb_vc **vcpp); 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); [all …]
|
H A D | smb_conn.c | 62 static int smb_vc_disconnect(struct smb_vc *vcp); 122 struct smb_cred *scred, struct smb_vc **vcpp) in smb_sm_lookupint() 125 struct smb_vc *vcp; in smb_sm_lookupint() 133 vcp = (struct smb_vc *)scp; in smb_sm_lookupint() 182 struct smb_cred *scred, struct smb_vc **vcpp) in smb_sm_lookup() 184 struct smb_vc *vcp; in smb_sm_lookup() 389 struct smb_cred *scred, struct smb_vc **vcpp) in smb_vc_create() 391 struct smb_vc *vcp; in smb_vc_create() 498 struct smb_vc *vcp = CPTOVC(cp); in smb_vc_free() 539 struct smb_vc *vcp = CPTOVC(cp); in smb_vc_gone() [all …]
|
H A D | smb_trantcp.c | 76 static int smb_nbst_disconnect(struct smb_vc *vcp, struct thread *td); 445 smb_nbst_create(struct smb_vc *vcp, struct thread *td) in smb_nbst_create() 461 smb_nbst_done(struct smb_vc *vcp, struct thread *td) in smb_nbst_done() 477 smb_nbst_bind(struct smb_vc *vcp, struct sockaddr *sap, struct thread *td) in smb_nbst_bind() 510 smb_nbst_connect(struct smb_vc *vcp, struct sockaddr *sap, struct thread *td) in smb_nbst_connect() 555 smb_nbst_disconnect(struct smb_vc *vcp, struct thread *td) in smb_nbst_disconnect() 575 smb_nbst_send(struct smb_vc *vcp, struct mbuf *m0, struct thread *td) in smb_nbst_send() 595 smb_nbst_recv(struct smb_vc *vcp, struct mbuf **mpp, struct thread *td) in smb_nbst_recv() 608 smb_nbst_timo(struct smb_vc *vcp) in smb_nbst_timo() 614 smb_nbst_intr(struct smb_vc *vcp) in smb_nbst_intr() [all …]
|
H A D | smb_subr.h | 96 struct smb_vc; 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_dev.h | 161 struct smb_vc * sd_vc; /* reference to VC */ 184 struct smb_vc **vcpp, struct smb_share **sspp); 186 struct smb_cred *scred, struct smb_vc **vcpp); 187 int smb_usr_openshare(struct smb_vc *vcp, struct smbioc_oshare *data,
|
H A D | smb_iod.c | 96 struct smb_vc *vcp = iod->iod_vc; in smb_iod_closetran() 117 struct smb_vc *vcp = iod->iod_vc; in smb_iod_connect() 171 struct smb_vc *vcp = iod->iod_vc; in smb_iod_disconnect() 213 struct smb_vc *vcp = iod->iod_vc; in smb_iod_sendrq() 282 struct smb_vc *vcp = iod->iod_vc; in smb_iod_recvall() 400 struct smb_vc *vcp = rqp->sr_vc; in smb_iod_addrq() 462 struct smb_vc *vcp = rqp->sr_vc; in smb_iod_removerq() 528 struct smb_vc *vcp = iod->iod_vc; in smb_iod_sendall() 665 smb_iod_create(struct smb_vc *vcp) in smb_iod_create()
|
H A D | smb_rq.h | 64 struct smb_vc; 69 struct smb_vc * sr_vc; 124 struct smb_vc * t2_vc;
|
H A D | smb_usr.c | 126 struct smb_vc **vcpp, struct smb_share **sspp) in smb_usr_lookup() 128 struct smb_vc *vcp = NULL; in smb_usr_lookup() 164 struct smb_vc **vcpp) in smb_usr_opensession() 166 struct smb_vc *vcp = NULL; in smb_usr_opensession() 182 smb_usr_openshare(struct smb_vc *vcp, struct smbioc_oshare *dp, in smb_usr_openshare()
|
H A D | smb_crypt.c | 142 smb_calcmackey(struct smb_vc *vcp) in smb_calcmackey() 202 struct smb_vc *vcp = rqp->sr_vc; in smb_rq_sign() 265 struct smb_vc *vcp = rqp->sr_vc; in smb_rq_verify()
|
H A D | smb_smb.c | 71 smb_vc_maxread(struct smb_vc *vcp) in smb_vc_maxread() 89 smb_vc_maxwrite(struct smb_vc *vcp) in smb_vc_maxwrite() 102 smb_smb_nomux(struct smb_vc *vcp, struct smb_cred *scred, const char *name) in smb_smb_nomux() 111 smb_smb_negotiate(struct smb_vc *vcp, struct smb_cred *scred) in smb_smb_negotiate() 291 smb_smb_ssnsetup(struct smb_vc *vcp, struct smb_cred *scred) in smb_smb_ssnsetup() 438 smb_smb_ssnclose(struct smb_vc *vcp, struct smb_cred *scred) in smb_smb_ssnclose() 498 struct smb_vc *vcp; in smb_smb_treeconnect() 926 smb_smb_echo(struct smb_vc *vcp, struct smb_cred *scred) in smb_smb_echo()
|
H A D | smb_rq.c | 55 struct smb_vc **vcpp, struct smb_share **sspp); 106 struct smb_vc *vcp = rqp->sr_vc; in smb_rq_new() 158 struct smb_vc *vcp = rqp->sr_vc; in smb_rq_simple() 276 struct smb_vc **vcpp, struct smb_share **sspp) in smb_rq_getenv() 278 struct smb_vc *vcp = NULL; in smb_rq_getenv() 551 struct smb_vc *vcp = t2p->t2_vc; in smb_t2_request_int()
|
H A D | smb_trantcp.h | 52 struct smb_vc * nbp_vc;
|
H A D | smb_subr.c | 327 smb_put_dmem(struct mbchain *mbp, struct smb_vc *vcp, const char *src, in smb_put_dmem() 345 smb_put_dstring(struct mbchain *mbp, struct smb_vc *vcp, const char *src, in smb_put_dstring()
|
H A D | smb_dev.c | 143 struct smb_vc *vcp; in sdp_trydestroy() 175 struct smb_vc *vcp; in nsmb_dev_ioctl()
|
/freebsd/sys/fs/smbfs/ |
H A D | smbfs_subr.c | 110 smbfs_fullpath(struct mbchain *mbp, struct smb_vc *vcp, struct smbnode *dnp, in smbfs_fullpath() 151 smbfs_fname_tolocal(struct smb_vc *vcp, char *name, int *nmlen, int caseopt) in smbfs_fname_tolocal()
|
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_smb.c | 480 struct smb_vc *vcp = SSTOVC(ssp); in smbfs_smb_setptime2() 535 struct smb_vc *vcp = SSTOVC(ssp); in smbfs_smb_setpattrNT() 944 struct smb_vc *vcp = SSTOVC(ctx->f_ssp); in smbfs_smb_search() 1094 struct smb_vc *vcp = SSTOVC(ctx->f_ssp); in smbfs_smb_trans2find2()
|
H A D | smbfs_vfsops.c | 133 struct smb_vc *vcp; in smbfs_mount()
|
H A D | smbfs_vnops.c | 272 struct smb_vc *vcp = SSTOVC(ssp); in smbfs_setattr() 792 struct smb_vc *vcp = SSTOVC(smp->sm_share); in smbfs_pathconf()
|