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.cc516 const uint32_t page_free = mem_page_ - freeptr % mem_page_; in AllocateImpl() local
517 if (size > page_free) { in AllocateImpl()
518 if (page_free <= sizeof(BlockHeader)) { in AllocateImpl()
522 const uint32_t new_freeptr = freeptr + page_free; in AllocateImpl()
525 block->size = page_free; in AllocateImpl()
534 if (page_free - size < sizeof(BlockHeader) + kAllocAlignment) in AllocateImpl()
535 size = page_free; in AllocateImpl()