Searched refs:pnum_pages (Results 1 – 1 of 1) sorted by relevance
845 sparse_backing_alloc(struct amdgpu_winsys_bo *bo, uint32_t *pstart_page, uint32_t *pnum_pages) in sparse_backing_alloc() argument859 if ((best_num_pages < *pnum_pages && cur_num_pages > best_num_pages) || in sparse_backing_alloc()860 (best_num_pages > *pnum_pages && cur_num_pages < best_num_pages)) { in sparse_backing_alloc()917 *pnum_pages = MIN2(*pnum_pages, best_num_pages); in sparse_backing_alloc()919 best_backing->chunks[best_idx].begin += *pnum_pages; in sparse_backing_alloc()