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