Searched refs:new_usage (Results 1 – 1 of 1) sorted by relevance
145 u64 new_usage; in misc_cg_try_charge() local156 new_usage = atomic64_add_return(amount, &res->usage); in misc_cg_try_charge()157 if (new_usage > READ_ONCE(res->max) || in misc_cg_try_charge()158 new_usage > READ_ONCE(misc_res_capacity[type])) { in misc_cg_try_charge()