Searched refs:requested_pages (Results 1 – 3 of 3) sorted by relevance
/drivers/platform/goldfish/ |
D | goldfish_pipe.c | 263 long first_page, last_page, requested_pages; in goldfish_pipe_read_write() local 271 requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1; in goldfish_pipe_read_write() 272 if (requested_pages > MAX_PAGES_TO_GRAB) { in goldfish_pipe_read_write() 273 requested_pages = MAX_PAGES_TO_GRAB; in goldfish_pipe_read_write() 276 requested_pages, !is_write, pages); in goldfish_pipe_read_write() 278 DPRINT("%s: requested pages: %d %d %p\n", __FUNCTION__, ret, requested_pages, first_page); in goldfish_pipe_read_write() 281 __FUNCTION__, requested_pages); in goldfish_pipe_read_write() 287 __FUNCTION__, requested_pages); in goldfish_pipe_read_write()
|
D | goldfish_pipe_v2.c | 256 int requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1; in pin_user_pages() local 257 if (requested_pages > MAX_BUFFERS_PER_COMMAND) { in pin_user_pages() 258 requested_pages = MAX_BUFFERS_PER_COMMAND; in pin_user_pages() 265 first_page, requested_pages, !is_write, pages); in pin_user_pages() 268 if (ret < requested_pages) in pin_user_pages()
|
/drivers/uio/ |
D | uio.c | 668 unsigned long requested_pages, actual_pages; in uio_mmap() local 680 requested_pages = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT; in uio_mmap() 683 if (requested_pages > actual_pages) in uio_mmap()
|