Home
last modified time | relevance | path

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

/freebsd/sys/netsmb/
H A Dsmb_tran.h52 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 Dsmb_conn.h168 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 Dsmb_conn.c62 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 Dsmb_trantcp.c76 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 Dsmb_subr.h96 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 Dsmb_dev.h161 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 Dsmb_iod.c96 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 Dsmb_rq.h64 struct smb_vc;
69 struct smb_vc * sr_vc;
124 struct smb_vc * t2_vc;
H A Dsmb_usr.c126 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 Dsmb_crypt.c142 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 Dsmb_smb.c71 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 Dsmb_rq.c55 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 Dsmb_trantcp.h52 struct smb_vc * nbp_vc;
H A Dsmb_subr.c327 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 Dsmb_dev.c143 struct smb_vc *vcp; in sdp_trydestroy()
175 struct smb_vc *vcp; in nsmb_dev_ioctl()
/freebsd/sys/fs/smbfs/
H A Dsmbfs_subr.c110 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 Dsmbfs_subr.h166 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 Dsmbfs_smb.c480 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 Dsmbfs_vfsops.c133 struct smb_vc *vcp; in smbfs_mount()
H A Dsmbfs_vnops.c272 struct smb_vc *vcp = SSTOVC(ssp); in smbfs_setattr()
792 struct smb_vc *vcp = SSTOVC(smp->sm_share); in smbfs_pathconf()