Searched refs:new_used (Results 1 – 2 of 2) sorted by relevance
114 size_t new_used; in _uverbs_alloc() local117 if (check_add_overflow(size, pbundle->internal_used, &new_used)) in _uverbs_alloc()120 if (new_used > pbundle->internal_avail) { in _uverbs_alloc()133 ALIGN(new_used, sizeof(*pbundle->internal_buffer)); in _uverbs_alloc()
953 unsigned long old_hiwater, new_used; in inc_used_and_hiwater() local955 new_used = atomic_long_add_return(nslots, &mem->total_used); in inc_used_and_hiwater()958 if (new_used <= old_hiwater) in inc_used_and_hiwater()961 &old_hiwater, new_used)); in inc_used_and_hiwater()