Home
last modified time | relevance | path

Searched refs:gAllocated (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/bionic/
Dmalloc_limit.cpp93 static _Atomic uint64_t gAllocated; variable
99 atomic_load_explicit(&gAllocated, memory_order_relaxed), bytes, &total) || in CheckLimit()
110 atomic_fetch_add(&gAllocated, LimitUsableSize(mem)); in IncrementLimit()
129 atomic_fetch_sub(&gAllocated, LimitUsableSize(mem)); in LimitFree()
216 atomic_fetch_sub(&gAllocated, old_usable_size); in LimitRealloc()
223 atomic_fetch_sub(&gAllocated, old_usable_size - new_usable_size); in LimitRealloc()
225 atomic_fetch_add(&gAllocated, new_usable_size - old_usable_size); in LimitRealloc()
331 atomic_store(&gAllocated, current_allocated); in LimitEnable()