Lines Matching defs:cache
363 struct mask_cache_entry __percpu *cache = NULL;
379 cache = __alloc_percpu(array_size(sizeof(struct mask_cache_entry),
382 if (!cache) {
388 new->mask_cache = cache;
779 * mask_cache maps flow to probable mask. This cache is not tightly
780 * coupled cache, It means updates to mask list can result in inconsistent
781 * cache entry in mask cache.
782 * This is per cpu cache and is divided in MC_HASH_SEGS segments.
803 u32 cache = 0;
805 return flow_lookup(tbl, ti, ma, key, n_mask_hit, &cache,
819 /* Find the cache entry 'ce' to operate on. */
834 ce = e; /* A better replacement cache candidate. */