Lines Matching refs:frequency
327 * policy is to represent frequency (real number) as the integer number and
330 * array for this policy, the elements with frequency 0.1 (calls per-second)
359 * frequency is assigned to the element
372 lfu_item->frequency = CACHELIB_MAX_FREQUENCY - 1;
379 * On each update the frequency of the element is recalculated and, if it
397 * 100 and most of its elements has frequency below the 0.01, they
414 TAILQ_REMOVE(&(lfu_policy->groups[lfu_item->frequency]), lfu_item,
416 lfu_item->frequency = index;
433 TAILQ_REMOVE(&(lfu_policy->groups[lfu_item->frequency]), lfu_item,
492 for (i = ((struct cache_lfu_policy_item_ *)item)->frequency + 1;
519 for (i = ((struct cache_lfu_policy_item_ *)item)->frequency - 1;