Lines Matching refs:maxpages
921 int maxpages = pagecount; in tid_rdma_find_phys_blocks_4k() local
925 maxpages = in tid_rdma_find_phys_blocks_4k()
929 maxpages = in tid_rdma_find_phys_blocks_4k()
934 list[setcount].count = maxpages; in tid_rdma_find_phys_blocks_4k()
938 pagecount -= maxpages; in tid_rdma_find_phys_blocks_4k()
939 pageidx += maxpages; in tid_rdma_find_phys_blocks_4k()
980 u32 maxpages = pages; in tid_flush_pages() local
982 if (maxpages > MAX_EXPECTED_PAGES) in tid_flush_pages()
983 maxpages = MAX_EXPECTED_PAGES; in tid_flush_pages()
984 else if (!is_power_of_2(maxpages)) in tid_flush_pages()
985 maxpages = rounddown_pow_of_two(maxpages); in tid_flush_pages()
987 list[sets++].count = maxpages; in tid_flush_pages()
988 *idx += maxpages; in tid_flush_pages()
989 pages -= maxpages; in tid_flush_pages()