Searched refs:num_pages (Results 1 – 3 of 3) sorted by relevance
55 uint64_t num_pages; member61 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 …]
109 void AddressSpaceHostMediaContext::allocatePages(uint64_t phys_addr, int num_pages) { in allocatePages() argument110 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() argument124 num_pages * 4096); in deallocatePages()
40 void allocatePages(uint64_t phys_addr, int num_pages);41 void deallocatePages(uint64_t phys_addr, int num_pages);