Searched refs:oldest_slot (Results 1 – 2 of 2) sorted by relevance
4273 struct fd_cache *free_slot, *oldest_slot, *cp; in alloc_fdcache() local4303 oldest_slot = NULL; in alloc_fdcache()4328 if (oldest_slot == NULL || in alloc_fdcache()4329 cp->c_rtc < oldest_slot->c_rtc) { in alloc_fdcache()4330 oldest_slot = cp; in alloc_fdcache()4356 close(oldest_slot->c_fd); in alloc_fdcache()4357 oldest_slot->c_fd = -1; in alloc_fdcache()4358 free_slot = oldest_slot; in alloc_fdcache()
2172 int oldest_slot = 0; in vi_get_context_dcc_stats_index() local2176 if (rctx->dcc_stats[oldest_slot].last_use_timestamp > in vi_get_context_dcc_stats_index()2178 oldest_slot = i; in vi_get_context_dcc_stats_index()2181 vi_dcc_clean_up_context_slot(rctx, oldest_slot); in vi_get_context_dcc_stats_index()2182 empty_slot = oldest_slot; in vi_get_context_dcc_stats_index()