/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_tran.h | 70 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 D | smb_subr.h | 97 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 D | smb_conn.c | 311 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 D | smb_iod.c | 93 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 D | smb_trantcp.c | 483 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 D | smb_rq.h | 85 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 D | smb3_crypt.c | 55 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 D | smb2_sign.c | 142 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 D | smb_sign.c | 107 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 D | smb_conn.h | 216 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 D | smb_smb.c | 99 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 D | smb_usr.c | 77 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 D | smb2_smb.c | 98 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 D | smb_trantcp.h | 54 struct smb_vc *nbp_vc;
|
H A D | smb2_rq.c | 146 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 D | smb_rq.c | 162 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 D | smb_subrs.c | 1033 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 D | smb_dev.c | 534 struct smb_vc *vcp; in nsmb_close2()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_subr.c | 71 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 D | smbfs_smb.c | 149 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 D | smbfs_smb1.c | 141 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 D | smbfs_subr.h | 79 struct smb_vc; 309 int smbfs_fullpath(struct mbchain *mbp, struct smb_vc *vcp,
|
H A D | smbfs_vfsops.c | 520 struct smb_vc *vcp; in smbfs_mount()
|