Searched refs:lru (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dcacheout.pl30 local(@lru) = sort {$isopen{$a} <=> $isopen{$b};} keys(%isopen);
31 splice(@lru, $maxopen / 3);
32 $numopen -= @lru;
33 for (@lru) { &close($_); delete $isopen{$_}; }
H A DFileCache.pm151 my @lru = sort{ $isopen{$a}->[0] <=> $isopen{$b}->[0] } keys(%isopen);
154 splice(@lru, int($cacheout_maxopen / 3)||$cacheout_maxopen);
155 &cacheout_close($_, 1) for @lru;
/osnet-11/usr/src/lib/nsswitch/ad/common/
H A Dad_common.c278 nssad_cfg_t *cp, *lru, *prev; local
356 /* Detach the lru entry and destroy */
357 lru = state.qhead;
358 if (pthread_rwlock_trywrlock(&lru->lock) == 0) {
361 if (prev->qnext != lru)
366 (void) pthread_rwlock_unlock(&lru->lock);
367 nssad_cfg_destroy(lru);

Completed in 32 milliseconds