Searched refs:best_num_pages (Results 1 – 2 of 2) sorted by relevance
330 uint32_t best_num_pages; in sparse_backing_alloc() local334 best_num_pages = 0; in sparse_backing_alloc()340 if ((best_num_pages < *pnum_pages && cur_num_pages > best_num_pages) || in sparse_backing_alloc()341 (best_num_pages > *pnum_pages && cur_num_pages < best_num_pages)) { in sparse_backing_alloc()344 best_num_pages = cur_num_pages; in sparse_backing_alloc()394 best_num_pages = pages; in sparse_backing_alloc()397 *pnum_pages = MIN2(*pnum_pages, best_num_pages); in sparse_backing_alloc()
901 uint32_t best_num_pages; in sparse_backing_alloc() local905 best_num_pages = 0; in sparse_backing_alloc()911 if ((best_num_pages < *pnum_pages && cur_num_pages > best_num_pages) || in sparse_backing_alloc()912 (best_num_pages > *pnum_pages && cur_num_pages < best_num_pages)) { in sparse_backing_alloc()915 best_num_pages = cur_num_pages; in sparse_backing_alloc()970 best_num_pages = pages; in sparse_backing_alloc()973 *pnum_pages = MIN2(*pnum_pages, best_num_pages); in sparse_backing_alloc()