Searched refs:requested_pages (Results 1 – 2 of 2) sorted by relevance
268 int requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1; in pin_user_pages() local270 if (requested_pages > MAX_BUFFERS_PER_COMMAND) { in pin_user_pages()271 requested_pages = MAX_BUFFERS_PER_COMMAND; in pin_user_pages()277 ret = get_user_pages_fast(first_page, requested_pages, in pin_user_pages()282 if (ret < requested_pages) in pin_user_pages()
765 unsigned long requested_pages, actual_pages; in uio_mmap() local785 requested_pages = vma_pages(vma); in uio_mmap()788 if (requested_pages > actual_pages) { in uio_mmap()