Searched refs:lc_maxmem (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libldap4/common/
H A Dcache.c84 ld->ld_cache->lc_maxmem = maxmem;
662 * this routine is called to check if the cache is too big (lc_maxmem >
663 * minimum cache size and lc_memused > lc_maxmem). If too big, it reduces
664 * the cache size to < SIZE_FACTOR * lc_maxmem. The algorithm is as follows:
669 * } while ( cache size is > SIZE_FACTOR * lc_maxmem )
676 lc->lc_memused, lc->lc_maxmem, 0 );
678 if ( lc->lc_maxmem <= sizeof( LDAPCache )
679 || lc->lc_memused <= lc->lc_maxmem * SIZE_FACTOR ) {
684 while ( lc->lc_memused > lc->lc_maxmem * SIZE_FACTOR ) {
/osnet-11/usr/src/lib/libldap4/include/
H A Dldap-private.h254 ssize_t lc_maxmem; /* memory to use */ member in struct:ldapcache

Completed in 17 milliseconds