Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_tran.h70 int (*tr_create)(struct smb_vc *vcp, cred_t *cr);
71 int (*tr_done)(struct smb_vc *vcp);
72 int (*tr_bind)(struct smb_vc *vcp, struct sockaddr *sap);
73 int (*tr_unbind)(struct smb_vc *vcp);
74 int (*tr_connect)(struct smb_vc *vcp, struct sockaddr *sap);
75 int (*tr_disconnect)(struct smb_vc *vcp);
76 int (*tr_send)(struct smb_vc *vcp, mblk_t *m);
77 int (*tr_recv)(struct smb_vc *vcp, mblk_t **mpp);
78 int (*tr_poll)(struct smb_vc *vcp, int ticks);
79 int (*tr_getparam)(struct smb_vc *vcp, int param, void *data);
[all …]
H A Dsmb_subr.h97 struct smb_vc;
148 int smb_get_dstring(struct mdchain *mdc, struct smb_vc *vcp,
150 int smb_put_dmem(struct mbchain *mbp, struct smb_vc *vcp,
152 int smb_put_dstring(struct mbchain *mbp, struct smb_vc *vcp,
173 int smb_sign_init(struct smb_vc *);
176 int smb_calcv2mackey(struct smb_vc *, const uchar_t *,
178 int smb_calcmackey(struct smb_vc *, const uchar_t *,
181 int smb2_sign_init(struct smb_vc *);
185 void nsmb_crypt_init_mech(struct smb_vc *);
186 void nsmb_crypt_free_mech(struct smb_vc *);
[all …]
H A Dsmb_conn.c311 smb_vc_hold(struct smb_vc *vcp) in smb_vc_hold()
317 smb_vc_rele(struct smb_vc *vcp) in smb_vc_rele()
323 smb_vc_kill(struct smb_vc *vcp) in smb_vc_kill()
340 struct smb_vc *vcp = CPTOVC(cp); in smb_vc_gone()
355 struct smb_vc *vcp = CPTOVC(cp); in smb_vc_free()
405 struct smb_vc *vcp; in smb_vc_create()
410 vcp = kmem_zalloc(sizeof (struct smb_vc), KM_SLEEP); in smb_vc_create()
461 struct smb_vc *vcp; in smb_vc_findcreate()
560 smb_vc_getipaddr(struct smb_vc *vcp, int *ipvers) in smb_vc_getipaddr()
586 smb_vc_walkshares(struct smb_vc *vcp, in smb_vc_walkshares()
[all …]
H A Dsmb_iod.c93 static int smb_iod_logoff(struct smb_vc *vcp, cred_t *cr);
127 smb_iod_newstate(struct smb_vc *vcp, int state) in smb_iod_newstate()
159 smb_iod_invrq(struct smb_vc *vcp) in smb_iod_invrq()
183 smb_iod_disconnect(struct smb_vc *vcp) in smb_iod_disconnect()
212 struct smb_vc *vcp = rqp->sr_vc; in smb1_iod_sendrq()
295 struct smb_vc *vcp = rqp->sr_vc; in smb2_iod_sendrq()
433 smb_iod_recvmsg(struct smb_vc *vcp, mblk_t **mpp) in smb_iod_recvmsg()
477 smb_iod_recvall(struct smb_vc *vcp, boolean_t poll) in smb_iod_recvall()
993 struct smb_vc *vcp = rqp->sr_vc; in smb1_iod_addrq()
1079 struct smb_vc *vcp = rqp->sr_vc; in smb2_iod_addrq()
[all …]
H A Dsmb_trantcp.c483 smb_nbst_create(struct smb_vc *vcp, cred_t *cr) in smb_nbst_create()
533 smb_nbst_done(struct smb_vc *vcp) in smb_nbst_done()
562 smb_nbst_bind(struct smb_vc *vcp, struct sockaddr *sap) in smb_nbst_bind()
578 smb_nbst_unbind(struct smb_vc *vcp) in smb_nbst_unbind()
590 smb_nbst_connect(struct smb_vc *vcp, struct sockaddr *sap) in smb_nbst_connect()
630 smb_nbst_disconnect(struct smb_vc *vcp) in smb_nbst_disconnect()
736 smb_nbst_send(struct smb_vc *vcp, mblk_t *m) in smb_nbst_send()
771 smb_nbst_recv(struct smb_vc *vcp, mblk_t **mpp) in smb_nbst_recv()
810 smb_nbst_poll(struct smb_vc *vcp, int ticks) in smb_nbst_poll()
817 smb_nbst_getparam(struct smb_vc *vcp, int param, void *data) in smb_nbst_getparam()
[all …]
H A Dsmb_rq.h85 struct smb_vc;
92 struct smb_vc *sr_vc;
173 struct smb_vc *t2_vc;
199 struct smb_vc *nt_vc;
218 struct smb_vc **vcpp, struct smb_share **sspp);
H A Dsmb3_crypt.c55 nsmb_crypt_init_mech(struct smb_vc *vcp) in nsmb_crypt_init_mech()
77 nsmb_crypt_free_mech(struct smb_vc *vcp) in nsmb_crypt_free_mech()
92 nsmb_crypt_init_keys(struct smb_vc *vcp) in nsmb_crypt_init_keys()
138 smb3_msg_encrypt(struct smb_vc *vcp, mblk_t **mpp) in smb3_msg_encrypt()
259 smb3_msg_decrypt(struct smb_vc *vcp, mblk_t **mpp) in smb3_msg_decrypt()
H A Dsmb2_sign.c142 smb2_compute_MAC(struct smb_vc *vcp, mblk_t *mp, uchar_t *signature) in smb2_compute_MAC()
206 struct smb_vc *vcp = rqp->sr_vc; in smb2_rq_sign()
238 struct smb_vc *vcp = rqp->sr_vc; in smb2_rq_verify()
H A Dsmb_sign.c107 smb_compute_MAC(struct smb_vc *vcp, mblk_t *mp, in smb_compute_MAC()
204 struct smb_vc *vcp = rqp->sr_vc; in smb_rq_sign()
243 struct smb_vc *vcp = rqp->sr_vc; in smb_rq_verify()
H A Dsmb_conn.h216 typedef struct smb_vc { struct
309 #define CPTOVC(cp) ((struct smb_vc *)((void *)(cp)))
400 struct smb_vc *sd_vc; /* Reference to VC */
499 void smb_vc_walkshares(struct smb_vc *, walk_share_func_t);
H A Dsmb_smb.c99 smb_smb_negotiate(struct smb_vc *vcp, struct smb_cred *scred) in smb_smb_negotiate()
454 smb_smb_ssnsetup(struct smb_vc *vcp, struct smb_cred *scred) in smb_smb_ssnsetup()
581 smb_smb_logoff(struct smb_vc *vcp, struct smb_cred *scred) in smb_smb_logoff()
674 struct smb_vc *vcp; in smb_smb_treeconnect()
828 struct smb_vc *vcp; in smb_smb_treedisconnect()
890 struct smb_vc *vcp = SSTOVC(ssp); in smb1_smb_ntcreate()
1039 struct smb_vc *vcp = SSTOVC(ssp); in smb_smb_open_prjob()
1300 smb_smb_echo(struct smb_vc *vcp, struct smb_cred *scred, int timo) in smb_smb_echo()
H A Dsmb_usr.c77 struct smb_vc *vcp = NULL; in smb_usr_get_ssnkey()
485 struct smb_vc *vcp = NULL; in smb_usr_get_ssn()
589 struct smb_vc *vcp = NULL; in smb_usr_drop_ssn()
621 struct smb_vc *vcp = NULL; in smb_usr_get_tree()
731 struct smb_vc *vcp; in smb_usr_iod_ioctl()
H A Dsmb2_smb.c98 struct smb_vc *vcp = rqp->sr_vc; in smb2_parse_smb1nego_resp()
153 smb2_smb_negotiate(struct smb_vc *vcp, struct smb_cred *scred) in smb2_smb_negotiate()
352 smb2_smb_ssnsetup(struct smb_vc *vcp, struct smb_cred *scred) in smb2_smb_ssnsetup()
526 smb2_smb_logoff(struct smb_vc *vcp, struct smb_cred *scred) in smb2_smb_logoff()
560 struct smb_vc *vcp; in smb2_smb_treeconnect()
721 struct smb_vc *vcp; in smb2_smb_treedisconnect()
1346 smb2_smb_echo(struct smb_vc *vcp, struct smb_cred *scred, int timo) in smb2_smb_echo()
H A Dsmb_trantcp.h54 struct smb_vc *nbp_vc;
H A Dsmb2_rq.c146 struct smb_vc *vcp = rqp->sr_vc; in smb2_rq_enqueue()
209 struct smb_vc *vcp = rqp->sr_vc; in smb2_rq_internal()
H A Dsmb_rq.c162 struct smb_vc *vcp = rqp->sr_vc; in smb_rq_new()
305 struct smb_vc *vcp = rqp->sr_vc; in smb_rq_enqueue()
368 struct smb_vc *vcp = rqp->sr_vc; in smb_rq_internal()
493 struct smb_vc **vcpp, struct smb_share **sspp) in smb_rq_getenv()
495 struct smb_vc *vcp = NULL; in smb_rq_getenv()
1060 struct smb_vc *vcp = t2p->t2_vc; in smb_t2_request_int()
1292 struct smb_vc *vcp = ntp->nt_vc; in smb_nt_request_int()
H A Dsmb_subrs.c1033 smb_get_dstring(struct mdchain *mdc, struct smb_vc *vcp, in smb_get_dstring()
1108 smb_put_dmem(struct mbchain *mbp, struct smb_vc *vcp, const char *src, in smb_put_dmem()
1167 smb_put_dstring(struct mbchain *mbp, struct smb_vc *vcp, const char *src, in smb_put_dstring()
1237 struct smb_vc *vcp = SSTOVC(ssp); in smb_rwuio()
H A Dsmb_dev.c534 struct smb_vc *vcp; in nsmb_close2()
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_subr.c71 smbfs_fullpath(struct mbchain *mbp, struct smb_vc *vcp, struct smbnode *dnp, in smbfs_fullpath()
147 struct smb_vc *vcp = SSTOVC(ctx->f_ssp); in smbfs_fname_tolocal()
425 struct smb_vc *vcp = SSTOVC(ssp); in smbfs_decode_fs_attr_info()
H A Dsmbfs_smb.c149 struct smb_vc *vcp = SSTOVC(ssp); in smbfs_smb_statfs()
510 struct smb_vc *vcp = SSTOVC(ssp); in smbfs_smb_rename()
581 struct smb_vc *vcp = SSTOVC(ssp); in smbfs_smb_findopen()
776 struct smb_vc *vcp = SSTOVC(ssp); in smbfs_smb_getsec()
827 struct smb_vc *vcp = SSTOVC(ssp); in smbfs_smb_setsec()
H A Dsmbfs_smb1.c141 struct smb_vc *vcp = SSTOVC(ssp); in smbfs_smb1_trans2_query()
262 struct smb_vc *vcp = SSTOVC(ssp); in smbfs_smb1_statfs()
443 struct smb_vc *vcp = SSTOVC(ssp); in smbfs_smb1_t2rename()
530 struct smb_vc *vcp = SSTOVC(ctx->f_ssp); in smbfs_smb1_trans2find2()
768 struct smb_vc *vcp = SSTOVC(ssp); in smbfs_smb1_get_streaminfo()
H A Dsmbfs_subr.h79 struct smb_vc;
309 int smbfs_fullpath(struct mbchain *mbp, struct smb_vc *vcp,
H A Dsmbfs_vfsops.c520 struct smb_vc *vcp; in smbfs_mount()