Lines Matching defs:idx
561 bdb_monitor_idx2len( monitor_idx_t *idx )
567 if ( idx->idx_count[ i ] != 0 ) {
600 *idx;
612 idx = (monitor_idx_t *)avl_find( bdb->bi_idx,
614 if ( idx == NULL ) {
615 idx = (monitor_idx_t *)ch_calloc( sizeof( monitor_idx_t ), 1 );
616 idx->idx_ad = desc;
617 idx->idx_count[ key ] = 1;
619 switch ( avl_insert( &bdb->bi_idx, (caddr_t)idx,
626 ch_free( idx );
631 idx->idx_count[ key ]++;
642 monitor_idx_t *idx = (monitor_idx_t *)v_idx;
652 idx_len = bdb_monitor_idx2len( idx );
656 if ( idx->idx_count[ i ] == 0 ) {
661 sizeof( count_buf[ i ] ), "%lu", idx->idx_count[ i ] );
666 bv.bv_len += idx->idx_ad->ad_cname.bv_len
670 ptr = lutil_strcopy( ptr, idx->idx_ad->ad_cname.bv_val );
672 if ( idx->idx_count[ i ] == 0 ) {