Lines Matching refs:compare
47 * A compare function must be provided for finding a wanted entry
148 const struct CACHED_GENERIC *wanted, cache_compare compare)
164 while (link && compare(link->entry, wanted))
176 && compare(current, wanted)) {
214 cache_compare compare)
230 while (link && compare(link->entry, item))
245 && compare(current, item)) {
367 * compare function may be provided to select entries to invalidate
375 const struct CACHED_GENERIC *item, cache_compare compare,
395 if (compare(link->entry, item))
415 if (!compare(current, item)) {