Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/ldap/common/
H A Dfileurl.c297 rc = berval_from_file( path, bvp, reporterrs ); in ldaptool_berval_from_ldif_value()
309 rc = berval_from_file( value, bvp, reporterrs ); in ldaptool_berval_from_ldif_value()
311 bvp->bv_len = vlen; in ldaptool_berval_from_ldif_value()
316 SAFEMEMCPY( bvp->bv_val, value, vlen ); in ldaptool_berval_from_ldif_value()
317 bvp->bv_val[ vlen ] = '\0'; in ldaptool_berval_from_ldif_value()
385 bvp->bv_len = ftell( fp );
387 if (( bvp->bv_val = (char *)malloc( bvp->bv_len + 1 )) == NULL ) {
399 rlen = fread( bvp->bv_val, 1, bvp->bv_len, fp );
402 if ( rlen != (long)bvp->bv_len ) {
404 free( bvp->bv_val );
[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.c1984 ldaptool_berval_is_ascii( const struct berval *bvp ) argument
1989 for ( j = 0; j < bvp->bv_len; ++j ) {
1990 if ( !isascii( bvp->bv_val[ j ] )) {
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vfsops.c1346 struct vnode *bvp; in hs_getmdev() local
1369 bvp = lvp; in hs_getmdev()
1371 bvp = svp; in hs_getmdev()
1373 if (bvp->v_type != VBLK) { in hs_getmdev()
1378 if ((error = secpolicy_spec_open(cr, bvp, FREAD)) != 0) in hs_getmdev()
1389 (void) VOP_GETATTR(bvp, &vap, 0, CRED(), NULL); in hs_getmdev()
1392 dev = *pdev = bvp->v_rdev; in hs_getmdev()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_vfsops.c327 struct vnode *bvp, *rvp; in udf_unmount() local
346 bvp = udf_vfsp->udf_devvp; in udf_unmount()
383 (void) VOP_PUTPAGE(bvp, (offset_t)0, (uint32_t)0, B_INVAL, cr, NULL); in udf_unmount()
384 (void) VOP_CLOSE(bvp, flag, 1, (offset_t)0, cr, NULL); in udf_unmount()
387 VN_RELE(bvp); in udf_unmount()
/illumos-gate/usr/src/uts/common/fs/
H A Dvfs.c1095 struct vnode *bvp; in domount() local
1297 FOLLOW, NULL, &bvp) == 0) { in domount()
1511 lookupname(uap->spec, fromspace, FOLLOW, NULL, &bvp) == 0) { in domount()
1535 bdev = bvp->v_rdev; in domount()
1536 VN_RELE(bvp); in domount()
1540 VN_RELE(bvp); in domount()
1802 VN_RELE(bvp); in domount()
/illumos-gate/usr/src/cmd/zic/
H A Dzic.c1456 atcomp(avp, bvp) in atcomp() argument
1458 const void *bvp;
1460 if (((struct attype *)avp)->at < ((struct attype *)bvp)->at)
1462 else if (((struct attype *)avp)->at > ((struct attype *)bvp)->at)