Lines Matching refs:pages
40 struct page_list *pages; member
116 pl->next = kc->pages; in kcopyd_put_pages()
117 kc->pages = pl; in kcopyd_put_pages()
126 unsigned int nr, struct page_list **pages) in kcopyd_get_pages() argument
130 *pages = NULL; in kcopyd_get_pages()
136 pl = kc->pages; in kcopyd_get_pages()
139 kc->pages = pl->next; in kcopyd_get_pages()
142 pl->next = *pages; in kcopyd_get_pages()
143 *pages = pl; in kcopyd_get_pages()
149 if (*pages) in kcopyd_get_pages()
150 kcopyd_put_pages(kc, *pages); in kcopyd_get_pages()
196 drop_pages(kc->pages); in client_free_pages()
197 kc->pages = NULL; in client_free_pages()
229 struct page_list *pages; member
330 if (job->pages && job->pages != &zero_page_list) in run_complete_job()
331 kcopyd_put_pages(kc, job->pages); in run_complete_job()
385 .mem.ptr.pl = job->pages, in run_io_job()
405 r = kcopyd_get_pages(job->kc, nr_pages, &job->pages); in run_pages_job()
492 else if (job->pages == &zero_page_list) in dispatch_job()
608 job->pages = NULL; in dm_kcopyd_copy()
613 job->pages = &zero_page_list; in dm_kcopyd_copy()
712 kc->pages = NULL; in dm_kcopyd_client_create()