Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dpersistent_memory_allocator.cc313 mem_page_(static_cast<uint32_t>((page_size ? page_size : size))), in PersistentMemoryAllocator()
376 shared_meta()->page_size = mem_page_; in PersistentMemoryAllocator()
418 if (shared_meta()->page_size < mem_page_) in PersistentMemoryAllocator()
419 *const_cast<uint32_t*>(&mem_page_) = shared_meta()->page_size; in PersistentMemoryAllocator()
422 if (!IsMemoryAcceptable(memory.base, mem_size_, mem_page_, readonly)) in PersistentMemoryAllocator()
630 if (size <= sizeof(BlockHeader) || size > mem_page_) { in AllocateImpl()
669 const uint32_t page_free = mem_page_ - freeptr % mem_page_; in AllocateImpl()
Dpersistent_memory_allocator.h627 const uint32_t mem_page_; // Page size allocations shouldn't cross. variable