Lines Matching refs:frequency
321 * policy is to represent frequency (real number) as the integer number and
324 * array for this policy, the elements with frequency 0.1 (calls per-second)
353 * frequency is assigned to the element
366 lfu_item->frequency = CACHELIB_MAX_FREQUENCY - 1;
373 * On each update the frequency of the element is recalculated and, if it
391 * 100 and most of its elements has frequency below the 0.01, they
408 TAILQ_REMOVE(&(lfu_policy->groups[lfu_item->frequency]), lfu_item,
410 lfu_item->frequency = index;
427 TAILQ_REMOVE(&(lfu_policy->groups[lfu_item->frequency]), lfu_item,
486 for (i = ((struct cache_lfu_policy_item_ *)item)->frequency + 1;
513 for (i = ((struct cache_lfu_policy_item_ *)item)->frequency - 1;