Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/tests/vma/
Dvma_random_test.cpp55 uint64_t num_pages; member
61 assert(lhs.start_page + lhs.num_pages > lhs.start_page); in operator ()()
62 return lhs.start_page + lhs.num_pages <= rhs.start_page; in operator ()()
67 return a.start_page + a.num_pages; in allocation_end_page()
121 assert(hole.num_pages < size_pages + hole_alignment_pages); in alloc()
133 assert(hole.num_pages >= size_pages + addr_page - hole.start_page); in alloc()
163 a.num_pages * MEM_PAGE_SIZE); in dealloc()
169 allocation x {a.start_page, a.num_pages + next->num_pages}; in dealloc()
178 prev->num_pages + next->num_pages}; in dealloc()
194 allocation x {prev->start_page, prev->num_pages + a.num_pages}; in dealloc()
[all …]
/hardware/google/aemu/host-common/
Daddress_space_host_media.cpp109 void AddressSpaceHostMediaContext::allocatePages(uint64_t phys_addr, int num_pages) { in allocatePages() argument
110 mHostBuffer = android::aligned_buf_alloc(kAlignment, num_pages * 4096); in allocatePages()
112 phys_addr, mHostBuffer, num_pages * 4096); in allocatePages()
118 int num_pages) { in deallocatePages() argument
124 num_pages * 4096); in deallocatePages()
/hardware/google/aemu/host-common/include/host-common/
Daddress_space_host_media.h40 void allocatePages(uint64_t phys_addr, int num_pages);
41 void deallocatePages(uint64_t phys_addr, int num_pages);