Lines Matching refs:pages
30 static int process_vm_rw_pages(struct page **pages, in process_vm_rw_pages() argument
38 struct page *page = *pages++; in process_vm_rw_pages()
87 / sizeof(struct pages *); in process_vm_rw_single_vec()
99 int pages = min(nr_pages, max_pages_per_loop); in process_vm_rw_single_vec() local
109 pages = get_user_pages_remote(task, mm, pa, pages, flags, in process_vm_rw_single_vec()
113 if (pages <= 0) in process_vm_rw_single_vec()
116 bytes = pages * PAGE_SIZE - start_offset; in process_vm_rw_single_vec()
125 nr_pages -= pages; in process_vm_rw_single_vec()
126 pa += pages * PAGE_SIZE; in process_vm_rw_single_vec()
127 while (pages) in process_vm_rw_single_vec()
128 put_page(process_pages[--pages]); in process_vm_rw_single_vec()
189 sizeof(struct pages *)*nr_pages), in process_vm_rw_core()