/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_subr.h | 141 void smb_credinit(struct smb_cred *scred, cred_t *cr); 142 void smb_credrele(struct smb_cred *scred); 166 uio_t *uiop, smb_cred_t *scred, int timo); 190 int smb_smb_echo(smb_vc_t *vcp, smb_cred_t *scred, int timo); 191 int smb_smb_treeconnect(smb_share_t *ssp, smb_cred_t *scred); 211 uio_t *uiop, smb_cred_t *scred, int timo); 213 uio_t *uiop, smb_cred_t *scred, int timo); 221 int smb2_smb_echo(smb_vc_t *vcp, smb_cred_t *scred, int timo); 222 int smb2_smb_treeconnect(smb_share_t *ssp, smb_cred_t *scred); 242 uio_t *uiop, smb_cred_t *scred, int timo); [all …]
|
H A D | smb_usr.c | 104 struct smb_cred scred; in smb_usr_xnp() local 154 smb_credrele(&scred); in smb_usr_xnp() 210 struct smb_cred scred; in smb_usr_rw() local 259 smb_credrele(&scred); in smb_usr_rw() 282 struct smb_cred scred; in smb_usr_ntcreate() local 330 &scred, in smb_usr_ntcreate() 334 smb_credrele(&scred); in smb_usr_ntcreate() 428 &scred, in smb_usr_printjob() 437 smb_credrele(&scred); in smb_usr_printjob() 577 smb_credrele(&scred); in smb_usr_get_ssn() [all …]
|
H A D | smb_conn.c | 400 cred_t *cr = scred->scr_cred; in smb_vc_create() 534 error = smb_vc_create(ossn, scred, &vcp); in smb_vc_findcreate() 632 struct smb_cred scred; in smb_share_gone() local 636 smb_credinit(&scred, NULL); in smb_share_gone() 642 smb_credrele(&scred); in smb_share_gone() 842 error = smb2_smb_treeconnect(ssp, scred); in smb_share_tcon() 844 error = smb_smb_treeconnect(ssp, scred); in smb_share_tcon() 889 struct smb_cred scred; in smb_fh_gone() local 904 smb_credinit(&scred, NULL); in smb_fh_gone() 905 err = smb_smb_close(ssp, fhp, &scred); in smb_fh_gone() [all …]
|
H A D | smb_rq.h | 212 struct smb_cred *scred, struct smb_rq **rqpp); 214 uchar_t cmd, struct smb_cred *scred); 230 struct smb_cred *scred, struct smb_t2rq **rqpp); 232 ushort_t *setup, int setupcnt, struct smb_cred *scred); 241 struct smb_cred *scred, struct smb_ntrq **rqpp); 243 ushort_t fn, struct smb_cred *scred);
|
H A D | smb_iod.c | 898 smb_cred_t scred; in smb_iod_send_echo() local 903 smb_credinit(&scred, cr); in smb_iod_send_echo() 909 smb_credrele(&scred); in smb_iod_send_echo() 1485 smb_cred_t scred; in nsmb_iod_negotiate() local 1490 smb_credinit(&scred, cr); in nsmb_iod_negotiate() 1588 smb_credrele(&scred); in nsmb_iod_negotiate() 1600 smb_cred_t scred; in nsmb_iod_ssnsetup() local 1613 smb_credinit(&scred, cr); in nsmb_iod_ssnsetup() 1618 smb_credrele(&scred); in nsmb_iod_ssnsetup() 1640 smb_cred_t scred; in smb_iod_logoff() local [all …]
|
H A D | smb2_smb.c | 150 smb2_smb_negotiate(struct smb_vc *vcp, struct smb_cred *scred) in smb2_smb_negotiate() argument 175 err = smb_rq_alloc(VCTOCP(vcp), SMB2_NEGOTIATE, scred, &rqp); in smb2_smb_negotiate() 344 smb2_smb_ssnsetup(struct smb_vc *vcp, struct smb_cred *scred) in smb2_smb_ssnsetup() argument 372 err = smb_rq_alloc(VCTOCP(vcp), SMB2_SESSION_SETUP, scred, &rqp); in smb2_smb_ssnsetup() 504 smb2_smb_logoff(struct smb_vc *vcp, struct smb_cred *scred) in smb2_smb_logoff() argument 513 error = smb_rq_alloc(VCTOCP(vcp), SMB2_LOGOFF, scred, &rqp); in smb2_smb_logoff() 1125 uio_t *uiop, smb_cred_t *scred, int timo) in smb2_smb_read() argument 1137 error = smb_rq_alloc(SSTOCP(ssp), SMB2_READ, scred, &rqp); in smb2_smb_read() 1231 uio_t *uiop, smb_cred_t *scred, int timo) in smb2_smb_write() argument 1243 error = smb_rq_alloc(SSTOCP(ssp), SMB2_WRITE, scred, &rqp); in smb2_smb_write() [all …]
|
H A D | smb_smb.c | 99 smb_smb_negotiate(struct smb_vc *vcp, struct smb_cred *scred) in smb_smb_negotiate() argument 156 err = smb_rq_alloc(VCTOCP(vcp), SMB_COM_NEGOTIATE, scred, &rqp); in smb_smb_negotiate() 454 smb_smb_ssnsetup(struct smb_vc *vcp, struct smb_cred *scred) in smb_smb_ssnsetup() argument 472 scred, &rqp); in smb_smb_ssnsetup() 581 smb_smb_logoff(struct smb_vc *vcp, struct smb_cred *scred) in smb_smb_logoff() argument 672 smb_smb_treeconnect(struct smb_share *ssp, struct smb_cred *scred) in smb_smb_treeconnect() argument 697 scred, &rqp); in smb_smb_treeconnect() 1124 uio_t *uiop, smb_cred_t *scred, int timo) in smb_smb_readx() argument 1220 uio_t *uiop, smb_cred_t *scred, int timo) in smb_smb_writex() argument 1300 smb_smb_echo(struct smb_vc *vcp, struct smb_cred *scred, int timo) in smb_smb_echo() argument [all …]
|
H A D | smb_rq.c | 115 error = smb_rq_init(rqp, layer, cmd, scred); in smb_rq_alloc() 127 struct smb_cred *scred) in smb_rq_init() argument 152 rqp->sr_cred = scred; /* Note: ref hold done by caller. */ in smb_rq_init() 677 error = smb_t2_init(t2p, layer, &setup, 1, scred); in smb_t2_alloc() 697 error = smb_nt_init(ntp, layer, fn, scred); in smb_nt_alloc() 711 int setupcnt, struct smb_cred *scred) in smb_t2_init() argument 726 t2p->t2_cred = scred; in smb_t2_init() 737 struct smb_cred *scred) in smb_nt_init() argument 744 ntp->nt_cred = scred; in smb_nt_init() 1061 struct smb_cred *scred = t2p->t2_cred; in smb_t2_request_int() local [all …]
|
H A D | smb_subrs.c | 63 smb_credinit(struct smb_cred *scred, cred_t *cr) in smb_credinit() argument 77 scred->scr_cred = cr; in smb_credinit() 81 smb_credrele(struct smb_cred *scred) in smb_credrele() argument 83 if (scred->scr_cred != NULL) { in smb_credrele() 84 crfree(scred->scr_cred); in smb_credrele() 85 scred->scr_cred = NULL; in smb_credrele() 1234 uio_t *uiop, smb_cred_t *scred, int timo) in smb_rwuio() argument 1284 error = (*iofun)(fhp, &rlen, uiop, scred, timo); in smb_rwuio()
|
H A D | smb_conn.h | 477 int smb_vc_create(smbioc_ossn_t *ossn, smb_cred_t *scred, smb_vc_t **vcpp);
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vnops.c | 208 struct smb_cred scred; in smbfs_open() local 320 rights, &scred, in smbfs_open() 357 smb_credrele(&scred); in smbfs_open() 369 struct smb_cred scred; in smbfs_close() local 465 smb_credrele(&scred); in smbfs_close() 2883 scred, &fid); in smbfsremove() 2900 fid, scred); in smbfsremove() 2932 fid, scred); in smbfsremove() 3165 scred, &fid); in smbfsrename() 3174 fid, scred); in smbfsrename() [all …]
|
H A D | smbfs_acl.c | 73 struct smb_cred scred; in smbfs_getsd() local 87 smb_credinit(&scred, cr); in smbfs_getsd() 89 error = smbfs_smb_tmpopen(np, rights, &scred, &fid); in smbfs_getsd() 98 selector, mp, &sdlen, &scred); in smbfs_getsd() 120 smb_credrele(&scred); in smbfs_getsd() 136 struct smb_cred scred; in smbfs_setsd() local 162 smb_credinit(&scred, cr); in smbfs_setsd() 164 error = smbfs_smb_tmpopen(np, rights, &scred, &fid); in smbfs_setsd() 181 selector, mp, &scred); in smbfs_setsd() 186 smb_credrele(&scred); in smbfs_setsd()
|
H A D | smbfs_xattr.c | 201 struct smb_cred scred; in smbfs_xa_exists() local 212 smb_credinit(&scred, cr); in smbfs_xa_exists() 217 ctx.f_scred = &scred; in smbfs_xa_exists() 235 smb_credrele(&scred); in smbfs_xa_exists()
|
H A D | smbfs_vfsops.c | 411 smb_cred_t scred; in smbfs_mount() local 661 smb_credinit(&scred, cr); in smbfs_mount() 662 error = smbfs_smb_qfsattr(smi->smi_share, &smi->smi_fsa, &scred); in smbfs_mount() 663 smb_credrele(&scred); in smbfs_mount() 904 smb_cred_t scred; in smbfs_statvfs() local 945 smb_credinit(&scred, NULL); in smbfs_statvfs() 947 error = smbfs_smb_statfs(ssp, &stvfs, &scred); in smbfs_statvfs() 948 smb_credrele(&scred); in smbfs_statvfs()
|
H A D | smbfs_client.c | 401 struct smb_cred scred; in smbfs_getattr_otw() local 429 smb_credinit(&scred, cr); in smbfs_getattr_otw() 447 error = smbfs_smb_getfattr(np, fhp, fap, &scred); in smbfs_getattr_otw() 451 error = smbfs_smb_getpattr(np, fap, &scred); in smbfs_getattr_otw() 454 smb_credrele(&scred); in smbfs_getattr_otw()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | sasl.c | 731 struct berval *scred; in nsldapi_sasl_do_bind() local 734 scred = NULL; in nsldapi_sasl_do_bind() 742 sctrl, cctrl, &scred); in nsldapi_sasl_do_bind() 749 ber_bvfree( scred ); in nsldapi_sasl_do_bind() 755 if( scred ) { in nsldapi_sasl_do_bind() 760 ber_bvfree( scred ); in nsldapi_sasl_do_bind() 765 scred->bv_len, 0, 0); in nsldapi_sasl_do_bind() 766 ber_bvfree( scred ); in nsldapi_sasl_do_bind() 783 (scred == NULL) ? NULL : scred->bv_val, in nsldapi_sasl_do_bind() 784 (scred == NULL) ? 0 : scred->bv_len, in nsldapi_sasl_do_bind() [all …]
|