Searched refs:start_page (Results 1 - 5 of 5) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/util/tests/vma/
H A Dvma_random_test.cpp54 uint64_t start_page; member in struct:__anon1f95655f0110::allocation
61 assert(lhs.start_page + lhs.num_pages > lhs.start_page);
62 return lhs.start_page + lhs.num_pages <= rhs.start_page;
67 return a.start_page + a.num_pages;
115 (align_pages - (hole.start_page % align_pages)) % align_pages;
127 assert(hole.start_page <= addr_page);
128 assert(hole.num_pages >= size_pages + addr_page - hole.start_page);
131 if (hole.start_page <
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/tests/vma/
H A Dvma_random_test.cpp54 uint64_t start_page; member in struct:__anon61ec44720110::allocation
61 assert(lhs.start_page + lhs.num_pages > lhs.start_page);
62 return lhs.start_page + lhs.num_pages <= rhs.start_page;
67 return a.start_page + a.num_pages;
120 (align_pages - (hole.start_page % align_pages)) % align_pages;
132 assert(hole.start_page <= addr_page);
133 assert(hole.num_pages >= size_pages + addr_page - hole.start_page);
136 if (hole.start_page <
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
H A Dzink_bo.c404 uint32_t start_page, uint32_t num_pages)
406 uint32_t end_page = start_page + num_pages;
410 /* Find the first chunk with begin >= start_page. */
414 if (backing->chunks[mid].begin >= start_page)
421 assert(low == 0 || backing->chunks[low - 1].end <= start_page);
423 if (low > 0 && backing->chunks[low - 1].end == start_page) {
433 backing->chunks[low].begin = start_page;
450 backing->chunks[low].begin = start_page;
402 sparse_backing_free(struct zink_screen * screen,struct zink_bo * bo,struct zink_sparse_backing * backing,uint32_t start_page,uint32_t num_pages) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/amdgpu/drm/
H A Damdgpu_bo.c898 uint32_t start_page, uint32_t num_pages)
900 uint32_t end_page = start_page + num_pages;
904 /* Find the first chunk with begin >= start_page. */
908 if (backing->chunks[mid].begin >= start_page)
915 assert(low == 0 || backing->chunks[low - 1].end <= start_page);
917 if (low > 0 && backing->chunks[low - 1].end == start_page) {
927 backing->chunks[low].begin = start_page;
944 backing->chunks[low].begin = start_page;
896 sparse_backing_free(struct amdgpu_winsys_bo * bo,struct amdgpu_sparse_backing * backing,uint32_t start_page,uint32_t num_pages) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/amdgpu/drm/
H A Damdgpu_bo.c1027 uint32_t start_page, uint32_t num_pages)
1029 uint32_t end_page = start_page + num_pages;
1033 /* Find the first chunk with begin >= start_page. */
1037 if (backing->chunks[mid].begin >= start_page)
1044 assert(low == 0 || backing->chunks[low - 1].end <= start_page);
1046 if (low > 0 && backing->chunks[low - 1].end == start_page) {
1056 backing->chunks[low].begin = start_page;
1073 backing->chunks[low].begin = start_page;
1025 sparse_backing_free(struct amdgpu_winsys * ws,struct amdgpu_winsys_bo * bo,struct amdgpu_sparse_backing * backing,uint32_t start_page,uint32_t num_pages) argument

Completed in 25 milliseconds