Home
last modified time | relevance | path

Searched refs:requested_pages (Results 1 – 2 of 2) sorted by relevance

/drivers/platform/goldfish/
Dgoldfish_pipe.c268 int requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1; in pin_user_pages() local
270 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()
/drivers/uio/
Duio.c765 unsigned long requested_pages, actual_pages; in uio_mmap() local
785 requested_pages = vma_pages(vma); in uio_mmap()
788 if (requested_pages > actual_pages) { in uio_mmap()