Lines Matching refs:overlap
463 int overlap = 0, i; in active_cacheline_read_overlap() local
467 overlap |= 1 << i; in active_cacheline_read_overlap()
468 return overlap; in active_cacheline_read_overlap()
471 static int active_cacheline_set_overlap(phys_addr_t cln, int overlap) in active_cacheline_set_overlap() argument
475 if (overlap > ACTIVE_CACHELINE_MAX_OVERLAP || overlap < 0) in active_cacheline_set_overlap()
476 return overlap; in active_cacheline_set_overlap()
479 if (overlap & 1 << i) in active_cacheline_set_overlap()
484 return overlap; in active_cacheline_set_overlap()
489 int overlap = active_cacheline_read_overlap(cln); in active_cacheline_inc_overlap() local
491 overlap = active_cacheline_set_overlap(cln, ++overlap); in active_cacheline_inc_overlap()
496 WARN_ONCE(overlap > ACTIVE_CACHELINE_MAX_OVERLAP, in active_cacheline_inc_overlap()
503 int overlap = active_cacheline_read_overlap(cln); in active_cacheline_dec_overlap() local
505 return active_cacheline_set_overlap(cln, --overlap); in active_cacheline_dec_overlap()