/titanic_44/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_usr.c | 121 struct smb_cred scred; in smb_usr_simplerq() local 134 smb_credinit(&scred, cr); in smb_usr_simplerq() 162 err = smb_rq_alloc(SSTOCP(ssp), ioc->ioc_cmd, &scred, &rqp); in smb_usr_simplerq() 204 smb_credrele(&scred); in smb_usr_simplerq() 216 struct smb_cred scred; in smb_usr_t2request() local 227 smb_credinit(&scred, cr); in smb_usr_t2request() 255 ioc->ioc_setup, ioc->ioc_setupcnt, &scred); in smb_usr_t2request() 333 smb_credrele(&scred); in smb_usr_t2request() 359 struct smb_cred scred; in smb_usr_rw() local 376 smb_credinit(&scred, cr); in smb_usr_rw() [all …]
|
H A D | smb_conn.c | 379 smb_vc_create(smbioc_ossn_t *ossn, smb_cred_t *scred, smb_vc_t **vcpp) in smb_vc_create() argument 382 cred_t *cr = scred->scr_cred; in smb_vc_create() 435 smb_vc_findcreate(smbioc_ossn_t *ossn, smb_cred_t *scred, smb_vc_t **vcpp) in smb_vc_findcreate() argument 515 error = smb_vc_create(ossn, scred, &vcp); in smb_vc_findcreate() 613 struct smb_cred scred; in smb_share_gone() local 616 smb_credinit(&scred, NULL); in smb_share_gone() 618 (void) smb_smb_treedisconnect(ssp, &scred); in smb_share_gone() 619 smb_credrele(&scred); in smb_share_gone() 644 struct smb_share **sspp, struct smb_cred *scred) in smb_share_create() argument 675 struct smb_share **sspp, struct smb_cred *scred) in smb_share_findcreate() argument [all …]
|
H A D | smb_rq.h | 184 struct smb_cred *scred, struct smb_rq **rqpp); 186 uchar_t cmd, struct smb_cred *scred); 198 struct smb_cred *scred, struct smb_t2rq **rqpp); 200 ushort_t *setup, int setupcnt, struct smb_cred *scred); 205 struct smb_cred *scred, struct smb_ntrq **rqpp); 207 ushort_t fn, struct smb_cred *scred);
|
H A D | smb_subr.h | 121 void smb_credinit(struct smb_cred *scred, cred_t *cr); 122 void smb_credrele(struct smb_cred *scred); 159 int smb_smb_echo(smb_vc_t *vcp, smb_cred_t *scred, int timo); 160 int smb_smb_treeconnect(smb_share_t *ssp, smb_cred_t *scred); 161 int smb_smb_treedisconnect(smb_share_t *ssp, smb_cred_t *scred); 182 uio_t *uiop, smb_cred_t *scred, int timo);
|
H A D | smb_smb.c | 85 uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo); 87 uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo); 90 uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo); 92 uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo); 153 smb_smb_treeconnect(struct smb_share *ssp, struct smb_cred *scred) in smb_smb_treeconnect() argument 178 scred, &rqp); in smb_smb_treeconnect() 307 smb_smb_treedisconnect(struct smb_share *ssp, struct smb_cred *scred) in smb_smb_treedisconnect() argument 324 error = smb_rq_alloc(VCTOCP(vcp), SMB_COM_TREE_DISCONNECT, scred, &rqp); in smb_smb_treedisconnect() 610 uio_t *uiop, smb_cred_t *scred, int timo) in smb_rwuio() argument 667 error = (*iofun)(ssp, fid, &rlen, uiop, scred, timo); in smb_rwuio() [all …]
|
H A D | smb_rq.c | 103 smb_rq_alloc(struct smb_connobj *layer, uchar_t cmd, struct smb_cred *scred, in smb_rq_alloc() argument 112 error = smb_rq_init(rqp, layer, cmd, scred); in smb_rq_alloc() 124 struct smb_cred *scred) in smb_rq_init() argument 149 rqp->sr_cred = scred; /* Note: ref hold done by caller. */ in smb_rq_init() 548 smb_t2_alloc(struct smb_connobj *layer, ushort_t setup, struct smb_cred *scred, in smb_t2_alloc() argument 557 error = smb_t2_init(t2p, layer, &setup, 1, scred); in smb_t2_alloc() 568 smb_nt_alloc(struct smb_connobj *layer, ushort_t fn, struct smb_cred *scred, in smb_nt_alloc() argument 577 error = smb_nt_init(ntp, layer, fn, scred); in smb_nt_alloc() 591 int setupcnt, struct smb_cred *scred) in smb_t2_init() argument 606 t2p->t2_cred = scred; in smb_t2_init() [all …]
|
H A D | smb_iod.c | 547 smb_cred_t scred; in smb_iod_send_echo() local 550 smb_credinit(&scred, NULL); in smb_iod_send_echo() 551 err = smb_smb_echo(vcp, &scred, SMBNOREPLYWAIT); in smb_iod_send_echo() 552 smb_credrele(&scred); in smb_iod_send_echo()
|
H A D | smb_subrs.c | 95 smb_credinit(struct smb_cred *scred, cred_t *cr) in smb_credinit() argument 106 scred->scr_cred = cr; in smb_credinit() 110 smb_credrele(struct smb_cred *scred) in smb_credrele() argument 112 if (scred->scr_cred != NULL) { in smb_credrele() 113 crfree(scred->scr_cred); in smb_credrele() 114 scred->scr_cred = NULL; in smb_credrele()
|
H A D | smb_conn.h | 361 int smb_vc_create(smbioc_ossn_t *ossn, smb_cred_t *scred, smb_vc_t **vcpp);
|
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vnops.c | 248 struct smb_cred scred; in smbfs_open() local 277 smb_credinit(&scred, cr); in smbfs_open() 304 &scred, &np->n_dirseq); in smbfs_open() 360 rights, &scred, in smbfs_open() 383 oldfid, NULL, &scred); in smbfs_open() 410 smb_credrele(&scred); in smbfs_open() 422 struct smb_cred scred; in smbfs_close() local 487 smb_credinit(&scred, cr); in smbfs_close() 489 smbfs_rele_fid(np, &scred); in smbfs_close() 491 smb_credrele(&scred); in smbfs_close() [all …]
|
H A D | smbfs_acl.c | 71 struct smb_cred scred; in smbfs_getsd() local 88 smb_credinit(&scred, cr); in smbfs_getsd() 90 error = smbfs_smb_tmpopen(np, rights, &scred, &fid); in smbfs_getsd() 99 &scred, selector, mp, &sdlen); in smbfs_getsd() 118 cerror = smbfs_smb_tmpclose(np, fid, &scred); in smbfs_getsd() 124 smb_credrele(&scred); in smbfs_getsd() 141 struct smb_cred scred; in smbfs_setsd() local 170 smb_credinit(&scred, cr); in smbfs_setsd() 172 error = smbfs_smb_tmpopen(np, rights, &scred, &fid); in smbfs_setsd() 189 &scred, selector, mp); in smbfs_setsd() [all …]
|
H A D | smbfs_vfsops.c | 349 smb_cred_t scred; in smbfs_mount() local 558 smb_credinit(&scred, cr); in smbfs_mount() 559 error = smbfs_smb_qfsattr(smi->smi_share, &smi->smi_fsa, &scred); in smbfs_mount() 560 smb_credrele(&scred); in smbfs_mount() 779 smb_cred_t scred; in smbfs_statvfs() local 820 smb_credinit(&scred, NULL); in smbfs_statvfs() 822 error = smbfs_smb_statfs(ssp, &stvfs, &scred); in smbfs_statvfs() 823 smb_credrele(&scred); in smbfs_statvfs()
|
H A D | smbfs_xattr.c | 197 struct smb_cred scred; in smbfs_xa_exists() local 208 smb_credinit(&scred, cr); in smbfs_xa_exists() 213 ctx.f_scred = &scred; in smbfs_xa_exists() 231 smb_credrele(&scred); in smbfs_xa_exists()
|
H A D | smbfs_client.c | 355 struct smb_cred scred; in smbfs_getattr_otw() local 370 smb_credinit(&scred, cr); in smbfs_getattr_otw() 373 error = smbfs_smb_getfattr(np, fap, &scred); in smbfs_getattr_otw() 375 smb_credrele(&scred); in smbfs_getattr_otw()
|
/titanic_44/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() 756 if (scred->bv_len == 0 ) { /* MS AD sends back empty screds */ 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() [all …]
|