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.cc322 mem_page_(static_cast<uint32_t>((page_size ? page_size : size))), in PersistentMemoryAllocator()
390 shared_meta()->page_size = mem_page_; in PersistentMemoryAllocator()
432 if (shared_meta()->page_size < mem_page_) in PersistentMemoryAllocator()
433 *const_cast<uint32_t*>(&mem_page_) = shared_meta()->page_size; in PersistentMemoryAllocator()
436 if (!IsMemoryAcceptable(memory.base, mem_size_, mem_page_, readonly)) in PersistentMemoryAllocator()
644 if (size <= sizeof(BlockHeader) || size > mem_page_) { in AllocateImpl()
683 const uint32_t page_free = mem_page_ - freeptr % mem_page_; in AllocateImpl()
Dpersistent_memory_allocator.h629 const uint32_t mem_page_; // Page size allocations shouldn't cross. variable