Lines Matching defs:overlap
402 * count for the overlapping mappings. For now, the overlap tracking
432 int overlap = 0, i;
436 overlap |= 1 << i;
437 return overlap;
440 static int active_cacheline_set_overlap(phys_addr_t cln, int overlap)
444 if (overlap > ACTIVE_CACHELINE_MAX_OVERLAP || overlap < 0)
445 return overlap;
448 if (overlap & 1 << i)
453 return overlap;
458 int overlap = active_cacheline_read_overlap(cln);
460 overlap = active_cacheline_set_overlap(cln, ++overlap);
462 /* If we overflowed the overlap counter then we're potentially
465 WARN_ONCE(!is_cache_clean && overlap > ACTIVE_CACHELINE_MAX_OVERLAP,
472 int overlap = active_cacheline_read_overlap(cln);
474 return active_cacheline_set_overlap(cln, --overlap);
527 * cacheline will occur when the overlap count is 0.