Searched refs:smb_vc (Results 1 - 20 of 20) sorted by relevance

/freebsd-12-stable/sys/netsmb/
H A Dsmb_tran.h54 int (*tr_create)(struct smb_vc *vcp, struct thread *td);
55 int (*tr_done)(struct smb_vc *vcp, struct thread *td);
56 int (*tr_bind)(struct smb_vc *vcp, struct sockaddr *sap, struct thread *td);
57 int (*tr_connect)(struct smb_vc *vcp, struct sockaddr *sap, struct thread *td);
58 int (*tr_disconnect)(struct smb_vc *vcp, struct thread *td);
59 int (*tr_send)(struct smb_vc *vcp, struct mbuf *m0, struct thread *td);
60 int (*tr_recv)(struct smb_vc *vcp, struct mbuf **mpp, struct thread *td);
61 void (*tr_timo)(struct smb_vc *vcp);
62 void (*tr_intr)(struct smb_vc *vcp);
63 int (*tr_getparam)(struct smb_vc *vc
[all...]
H A Dsmb_conn.h172 struct smb_vc;
231 struct smb_vc { struct
310 #define CPTOVC(cp) ((struct smb_vc*)(cp))
359 struct smb_vc **vcpp);
375 struct smb_cred *scred, struct smb_vc **vcpp);
376 int smb_vc_connect(struct smb_vc *vcp, struct smb_cred *scred);
377 int smb_vc_access(struct smb_vc *vcp, struct smb_cred *scred, mode_t mode);
378 int smb_vc_get(struct smb_vc *vcp, struct smb_cred *scred);
379 void smb_vc_put(struct smb_vc *vcp, struct smb_cred *scred);
380 void smb_vc_ref(struct smb_vc *vc
[all...]
H A Dsmb_subr.h99 struct smb_vc;
113 int smb_calcmackey(struct smb_vc *vcp);
117 int smb_put_dmem(struct mbchain *mbp, struct smb_vc *vcp,
119 int smb_put_dstring(struct mbchain *mbp, struct smb_vc *vcp,
H A Dsmb_trantcp.h55 struct smb_vc * nbp_vc;
H A Dsmb_conn.c64 static int smb_vc_disconnect(struct smb_vc *vcp);
122 struct smb_cred *scred, struct smb_vc **vcpp)
125 struct smb_vc *vcp;
133 vcp = (struct smb_vc *)scp;
182 struct smb_cred *scred, struct smb_vc **vcpp)
184 struct smb_vc *vcp;
389 struct smb_cred *scred, struct smb_vc **vcpp)
391 struct smb_vc *vcp;
409 smb_co_init(VCTOCP(vcp), SMBL_VC, "smb_vc ilock", "smb_vc");
[all...]
H A Dsmb_dev.h163 struct smb_vc * sd_vc; /* reference to VC */
186 struct smb_vc **vcpp, struct smb_share **sspp);
188 struct smb_cred *scred, struct smb_vc **vcpp);
189 int smb_usr_openshare(struct smb_vc *vcp, struct smbioc_oshare *data,
H A Dsmb_trantcp.c79 static int smb_nbst_disconnect(struct smb_vc *vcp, struct thread *td);
454 smb_nbst_create(struct smb_vc *vcp, struct thread *td)
470 smb_nbst_done(struct smb_vc *vcp, struct thread *td)
486 smb_nbst_bind(struct smb_vc *vcp, struct sockaddr *sap, struct thread *td)
519 smb_nbst_connect(struct smb_vc *vcp, struct sockaddr *sap, struct thread *td)
564 smb_nbst_disconnect(struct smb_vc *vcp, struct thread *td)
584 smb_nbst_send(struct smb_vc *vcp, struct mbuf *m0, struct thread *td)
605 smb_nbst_recv(struct smb_vc *vcp, struct mbuf **mpp, struct thread *td)
618 smb_nbst_timo(struct smb_vc *vcp)
624 smb_nbst_intr(struct smb_vc *vc
[all...]
H A Dsmb_rq.h67 struct smb_vc;
72 struct smb_vc * sr_vc;
127 struct smb_vc * t2_vc;
H A Dsmb_iod.c101 struct smb_vc *vcp = iod->iod_vc;
122 struct smb_vc *vcp = iod->iod_vc;
176 struct smb_vc *vcp = iod->iod_vc;
218 struct smb_vc *vcp = iod->iod_vc;
287 struct smb_vc *vcp = iod->iod_vc;
405 struct smb_vc *vcp = rqp->sr_vc;
467 struct smb_vc *vcp = rqp->sr_vc;
535 struct smb_vc *vcp = iod->iod_vc;
585 /* struct smb_vc *vcp = iod->iod_vc;*/
674 smb_iod_create(struct smb_vc *vc
[all...]
H A Dsmb_usr.c129 struct smb_vc **vcpp, struct smb_share **sspp)
131 struct smb_vc *vcp = NULL;
163 * If no errors occurred smb_vc returned locked and referenced.
167 struct smb_vc **vcpp)
169 struct smb_vc *vcp = NULL;
185 smb_usr_openshare(struct smb_vc *vcp, struct smbioc_oshare *dp,
H A Dsmb_crypt.c147 smb_calcmackey(struct smb_vc *vcp)
207 struct smb_vc *vcp = rqp->sr_vc;
270 struct smb_vc *vcp = rqp->sr_vc;
H A Dsmb_smb.c74 smb_vc_maxread(struct smb_vc *vcp)
92 smb_vc_maxwrite(struct smb_vc *vcp)
105 smb_smb_nomux(struct smb_vc *vcp, struct smb_cred *scred, const char *name)
114 smb_smb_negotiate(struct smb_vc *vcp, struct smb_cred *scred)
294 smb_smb_ssnsetup(struct smb_vc *vcp, struct smb_cred *scred)
441 smb_smb_ssnclose(struct smb_vc *vcp, struct smb_cred *scred)
501 struct smb_vc *vcp;
931 smb_smb_echo(struct smb_vc *vcp, struct smb_cred *scred)
H A Dsmb_subr.c332 smb_put_dmem(struct mbchain *mbp, struct smb_vc *vcp, const char *src,
350 smb_put_dstring(struct mbchain *mbp, struct smb_vc *vcp, const char *src,
H A Dsmb_rq.c58 struct smb_vc **vcpp, struct smb_share **sspp);
111 struct smb_vc *vcp = rqp->sr_vc;
163 struct smb_vc *vcp = rqp->sr_vc;
281 struct smb_vc **vcpp, struct smb_share **sspp)
283 struct smb_vc *vcp = NULL;
553 struct smb_vc *vcp = t2p->t2_vc;
H A Dsmb_dev.c147 struct smb_vc *vcp;
180 struct smb_vc *vcp;
/freebsd-12-stable/sys/fs/smbfs/
H A Dsmbfs_subr.c112 smbfs_fullpath(struct mbchain *mbp, struct smb_vc *vcp, struct smbnode *dnp,
153 smbfs_fname_tolocal(struct smb_vc *vcp, char *name, int *nmlen, int caseopt)
H A Dsmbfs_subr.h168 int smbfs_fullpath(struct mbchain *mbp, struct smb_vc *vcp,
173 int smbfs_fname_tolocal(struct smb_vc *vcp, char *name, int *nmlen, int caseopt);
H A Dsmbfs_smb.c483 struct smb_vc *vcp = SSTOVC(ssp);
538 struct smb_vc *vcp = SSTOVC(ssp);
949 struct smb_vc *vcp = SSTOVC(ctx->f_ssp);
1099 struct smb_vc *vcp = SSTOVC(ctx->f_ssp);
H A Dsmbfs_vfsops.c136 struct smb_vc *vcp;
H A Dsmbfs_vnops.c303 struct smb_vc *vcp = SSTOVC(ssp);
897 struct smb_vc *vcp = SSTOVC(smp->sm_share);

Completed in 128 milliseconds