Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dpersistent_memory_allocator.cc683 const uint32_t page_free = mem_page_ - freeptr % mem_page_; in AllocateImpl() local
684 if (size > page_free) { in AllocateImpl()
685 if (page_free <= sizeof(BlockHeader)) { in AllocateImpl()
689 const uint32_t new_freeptr = freeptr + page_free; in AllocateImpl()
693 block->size = page_free; in AllocateImpl()
702 if (page_free - size < sizeof(BlockHeader) + kAllocAlignment) in AllocateImpl()
703 size = page_free; in AllocateImpl()