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