Searched refs:num_backing_pages (Results 1 – 4 of 4) sorted by relevance
86 uint32_t num_backing_pages; member
956 assert(bo->u.sparse.num_backing_pages < DIV_ROUND_UP(bo->base.size, RADEON_SPARSE_PAGE_SIZE)); in sparse_backing_alloc()960 … bo->base.size - (uint64_t)bo->u.sparse.num_backing_pages * RADEON_SPARSE_PAGE_SIZE); in sparse_backing_alloc()985 bo->u.sparse.num_backing_pages += pages; in sparse_backing_alloc()1008 bo->u.sparse.num_backing_pages -= backing->bo->base.size / RADEON_SPARSE_PAGE_SIZE; in sparse_free_backing_buffer()
342 …assert(bo->u.sparse.num_backing_pages < DIV_ROUND_UP(bo->base.size, ZINK_SPARSE_BUFFER_PAGE_SIZE)); in sparse_backing_alloc()346 … bo->base.size - (uint64_t)bo->u.sparse.num_backing_pages * ZINK_SPARSE_BUFFER_PAGE_SIZE); in sparse_backing_alloc()366 bo->u.sparse.num_backing_pages += pages; in sparse_backing_alloc()389 bo->u.sparse.num_backing_pages -= backing->bo->base.size / ZINK_SPARSE_BUFFER_PAGE_SIZE; in sparse_free_backing_buffer()
81 uint32_t num_backing_pages; member