Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dbionic_allocator.cpp121 if (block_record->free_blocks_cnt > 1) { in alloc()
126 next_free->free_blocks_cnt = block_record->free_blocks_cnt - 1; in alloc()
132 if (page->free_blocks_cnt == blocks_per_page_) { in alloc()
136 page->free_blocks_cnt--; in alloc()
140 if (page->free_blocks_cnt == 0) { in alloc()
150 CHECK(page->free_blocks_cnt == blocks_per_page_); in free_page()
178 block_record->free_blocks_cnt = 1; in free()
181 page->free_blocks_cnt++; in free()
183 if (page->free_blocks_cnt == blocks_per_page_) { in free()
188 } else if (page->free_blocks_cnt == 1) { in free()
[all …]
/bionic/libc/private/
Dbionic_allocator.h60 size_t free_blocks_cnt; member
79 size_t free_blocks_cnt; member