Lines Matching refs:overage
2462 u64 overage; in calculate_overage() local
2473 overage = usage - high; in calculate_overage()
2474 overage <<= MEMCG_DELAY_PRECISION_SHIFT; in calculate_overage()
2475 return div64_u64(overage, high); in calculate_overage()
2480 u64 overage, max_overage = 0; in mem_find_max_overage() local
2483 overage = calculate_overage(page_counter_read(&memcg->memory), in mem_find_max_overage()
2485 max_overage = max(overage, max_overage); in mem_find_max_overage()
2494 u64 overage, max_overage = 0; in swap_find_max_overage() local
2497 overage = calculate_overage(page_counter_read(&memcg->swap), in swap_find_max_overage()
2499 if (overage) in swap_find_max_overage()
2501 max_overage = max(overage, max_overage); in swap_find_max_overage()