Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dbionic_allocator.cpp119 if (block_record->free_blocks_cnt > 1) { in alloc()
124 next_free->free_blocks_cnt = block_record->free_blocks_cnt - 1; in alloc()
130 if (page->free_blocks_cnt == blocks_per_page_) { in alloc()
134 page->free_blocks_cnt--; in alloc()
138 if (page->free_blocks_cnt == 0) { in alloc()
148 CHECK(page->free_blocks_cnt == blocks_per_page_); in free_page()
175 block_record->free_blocks_cnt = 1; in free()
178 page->free_blocks_cnt++; in free()
180 if (page->free_blocks_cnt == blocks_per_page_) { in free()
185 } else if (page->free_blocks_cnt == 1) { in free()
[all …]
/bionic/libc/private/
Dbionic_allocator.h56 size_t free_blocks_cnt; member
75 size_t free_blocks_cnt; member