Home
last modified time | relevance | path

Searched refs:bvp (Results 1 – 15 of 15) sorted by relevance

/titanic_44/usr/src/cmd/ldap/common/
H A Dfileurl.c48 static int berval_from_file( const char *path, struct berval *bvp,
231 struct berval *bvp, int recognize_url_syntax, int always_try_file, in ldaptool_berval_from_ldif_value() argument
296 rc = berval_from_file( path, bvp, reporterrs ); in ldaptool_berval_from_ldif_value()
308 rc = berval_from_file( value, bvp, reporterrs ); in ldaptool_berval_from_ldif_value()
310 bvp->bv_len = vlen; in ldaptool_berval_from_ldif_value()
311 if (( bvp->bv_val = (char *)malloc( vlen + 1 )) == NULL ) { in ldaptool_berval_from_ldif_value()
315 SAFEMEMCPY( bvp->bv_val, value, vlen ); in ldaptool_berval_from_ldif_value()
316 bvp->bv_val[ vlen ] = '\0'; in ldaptool_berval_from_ldif_value()
359 berval_from_file( const char *path, struct berval *bvp, int reporterrs ) argument
385 bvp->bv_len = ftell( fp );
[all …]
H A Dldapmodify.c910 struct berval *bvp; local
959 if (( bvp = (struct berval *)malloc( sizeof( struct berval )))
964 pmods[ i ]->mod_bvalues[ j ] = bvp;
971 rc = ldaptool_berval_from_ldif_value( value, vlen, bvp,
989 struct berval *bvp; local
1005 bvp = pmods[ i ]->mod_bvalues[ j ];
1008 notascii = !ldaptool_berval_is_ascii( bvp );
1011 printf( gettext("\tNOT ASCII (%ld bytes)\n"), bvp->bv_len );
1013 printf( "\t%s\n", bvp->bv_val );
H A Dfileurl.h66 struct berval *bvp, int recognize_url_syntax, int always_try_file,
H A Dldaptool.h180 int ldaptool_berval_is_ascii( const struct berval *bvp );
H A Dcommon.c1983 ldaptool_berval_is_ascii( const struct berval *bvp ) argument
1988 for ( j = 0; j < bvp->bv_len; ++j ) {
1989 if ( !isascii( bvp->bv_val[ j ] )) {
/titanic_44/usr/src/lib/libldap5/sources/ldap/common/
H A Dcontrol.c449 struct berval *bvp; in nsldapi_build_control() local
452 bvp = NULL; in nsldapi_build_control()
455 rc = ber_flatten( ber, &bvp ); in nsldapi_build_control()
467 if ( bvp != NULL ) { in nsldapi_build_control()
468 ber_bvfree( bvp ); in nsldapi_build_control()
477 if ( bvp != NULL ) { in nsldapi_build_control()
478 ber_bvfree( bvp ); in nsldapi_build_control()
483 if ( bvp == NULL ) { in nsldapi_build_control()
487 (*ctrlp)->ldctl_value = *bvp; /* struct copy */ in nsldapi_build_control()
488 NSLDAPI_FREE( bvp ); /* free container, not contents! */ in nsldapi_build_control()
H A Dcache.c71 struct berval *bvp[2]; in nsldapi_add_result_to_cache() local
155 bvp[0] = &bv; in nsldapi_add_result_to_cache()
156 bvp[1] = NULL; in nsldapi_add_result_to_cache()
157 mods[i]->mod_bvalues = bvp; in nsldapi_add_result_to_cache()
/titanic_44/usr/src/lib/libtnf/
H A Dreader.c42 caddr_t p, genp, bvp; in tnf_reader_begin() local
153 bvp = _tnf_get_slot_named(tnf, bhdr, TNF_N_BYTES_VALID); in tnf_reader_begin()
154 tnf->block_bytes_valid_offset = bvp - (caddr_t)bhdr; in tnf_reader_begin()
/titanic_44/usr/src/lib/libkmf/ber_der/common/
H A Ddecode.c511 struct berval ***bv, **bvp, *bval; in kmfber_scanf() local
566 bvp = va_arg(ap, struct berval **); in kmfber_scanf()
567 rc = ber_get_bigint(ber, bvp); in kmfber_scanf()
570 bvp = va_arg(ap, struct berval **); in kmfber_scanf()
571 rc = kmfber_get_stringal(ber, bvp); in kmfber_scanf()
717 bvp = va_arg(ap, struct berval **); in kmfber_scanf()
718 kmfber_bvfree(*bvp); in kmfber_scanf()
719 bvp = NULL; in kmfber_scanf()
/titanic_44/usr/src/lib/libldap5/sources/ldap/ber/
H A Ddecode.c437 struct berval ***bv, **bvp, *bval; in ber_scanf() local
495 bvp = va_arg( ap, struct berval ** ); in ber_scanf()
496 rc = ber_get_stringal( ber, bvp ); in ber_scanf()
640 bvp = va_arg( ap, struct berval ** ); in ber_scanf()
641 ber_bvfree(*bvp); in ber_scanf()
642 bvp = NULL; in ber_scanf()
/titanic_44/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vfsops.c1345 struct vnode *bvp; in hs_getmdev() local
1368 bvp = lvp; in hs_getmdev()
1370 bvp = svp; in hs_getmdev()
1372 if (bvp->v_type != VBLK) { in hs_getmdev()
1377 if ((error = secpolicy_spec_open(cr, bvp, FREAD)) != 0) in hs_getmdev()
1388 (void) VOP_GETATTR(bvp, &vap, 0, CRED(), NULL); in hs_getmdev()
1391 dev = *pdev = bvp->v_rdev; in hs_getmdev()
/titanic_44/usr/src/uts/common/fs/ufs/
H A Dufs_vfsops.c1382 struct vnode *bvp, *vp; in ufs_unmount() local
1626 bvp = ufsvfsp->vfs_devvp; in ufs_unmount()
1671 (void) VOP_PUTPAGE(common_specvp(bvp), (offset_t)0, (size_t)0, in ufs_unmount()
1673 (void) VOP_CLOSE(bvp, flag, 1, (offset_t)0, cr, NULL); in ufs_unmount()
1676 VN_RELE(bvp); in ufs_unmount()
/titanic_44/usr/src/uts/common/fs/udfs/
H A Dudf_vfsops.c326 struct vnode *bvp, *rvp; in udf_unmount() local
345 bvp = udf_vfsp->udf_devvp; in udf_unmount()
382 (void) VOP_PUTPAGE(bvp, (offset_t)0, (uint32_t)0, B_INVAL, cr, NULL); in udf_unmount()
383 (void) VOP_CLOSE(bvp, flag, 1, (offset_t)0, cr, NULL); in udf_unmount()
386 VN_RELE(bvp); in udf_unmount()
/titanic_44/usr/src/uts/common/fs/
H A Dvfs.c1145 struct vnode *bvp; in domount() local
1346 FOLLOW, NULL, &bvp) == 0) { in domount()
1561 lookupname(uap->spec, fromspace, FOLLOW, NULL, &bvp) == 0) { in domount()
1585 bdev = bvp->v_rdev; in domount()
1586 VN_RELE(bvp); in domount()
1590 VN_RELE(bvp); in domount()
1852 VN_RELE(bvp); in domount()
/titanic_44/usr/src/cmd/zic/
H A Dzic.c1454 atcomp(avp, bvp) in atcomp() argument
1456 const void *bvp;
1458 if (((struct attype *)avp)->at < ((struct attype *)bvp)->at)
1460 else if (((struct attype *)avp)->at > ((struct attype *)bvp)->at)