Searched refs:new_used (Results 1 – 2 of 2) sorted by relevance
111 size_t new_used; in _uverbs_alloc() local114 if (check_add_overflow(size, pbundle->internal_used, &new_used)) in _uverbs_alloc()117 if (new_used > pbundle->internal_avail) { in _uverbs_alloc()130 ALIGN(new_used, sizeof(*pbundle->internal_buffer)); in _uverbs_alloc()
926 unsigned long old_hiwater, new_used; in inc_used_and_hiwater() local928 new_used = atomic_long_add_return(nslots, &mem->total_used); in inc_used_and_hiwater()931 if (new_used <= old_hiwater) in inc_used_and_hiwater()934 &old_hiwater, new_used)); in inc_used_and_hiwater()