Lines Matching refs:lc
51 static void check_cache_memused( LDAPCache *lc );
659 check_cache_memused( LDAPCache *lc )
676 lc->lc_memused, lc->lc_maxmem, 0 );
678 if ( lc->lc_maxmem <= sizeof( LDAPCache )
679 || lc->lc_memused <= lc->lc_maxmem * SIZE_FACTOR ) {
683 remove_threshold = lc->lc_timeout;
684 while ( lc->lc_memused > lc->lc_maxmem * SIZE_FACTOR ) {
688 for ( m = lc->lc_buckets[ i ]; m != NULLMSG;
693 lc->lc_buckets[ i ] = next;
697 lc->lc_memused -= msg_size( m );
711 lc->lc_memused, 0, 0 );