Lines Matching refs:pages

266 			struct page	**pages;  member
1279 static void zero_pages(struct page **pages, u64 offset, u64 end) in zero_pages() argument
1281 struct page **page = &pages[offset >> PAGE_SHIFT]; in zero_pages()
1714 zero_pages(obj_request->pages, 0, length); in rbd_img_obj_request_read_callback()
1720 zero_pages(obj_request->pages, xferred, length); in rbd_img_obj_request_read_callback()
2068 if (obj_request->pages) in rbd_obj_request_destroy()
2069 ceph_release_page_vector(obj_request->pages, in rbd_obj_request_destroy()
2292 obj_request->pages = NULL; in rbd_img_obj_end_request()
2404 obj_request->pages, length, in rbd_img_obj_request_fill()
2431 struct page **pages = NULL; in rbd_img_request_fill() local
2449 pages = data_desc; in rbd_img_request_fill()
2491 obj_request->pages = pages; in rbd_img_request_fill()
2496 pages += page_count; in rbd_img_request_fill()
2531 struct page **pages; in rbd_osd_copyup_callback() local
2545 pages = obj_request->copyup_pages; in rbd_osd_copyup_callback()
2546 rbd_assert(pages != NULL); in rbd_osd_copyup_callback()
2551 ceph_release_page_vector(pages, page_count); in rbd_osd_copyup_callback()
2572 struct page **pages; in rbd_img_obj_parent_read_full_callback() local
2582 pages = img_request->copyup_pages; in rbd_img_obj_parent_read_full_callback()
2583 rbd_assert(pages != NULL); in rbd_img_obj_parent_read_full_callback()
2609 ceph_release_page_vector(pages, page_count); in rbd_img_obj_parent_read_full_callback()
2631 orig_request->copyup_pages = pages; in rbd_img_obj_parent_read_full_callback()
2637 osd_req_op_cls_request_data_pages(osd_req, 0, pages, parent_length, 0, in rbd_img_obj_parent_read_full_callback()
2681 struct page **pages = NULL; in rbd_img_obj_parent_read_full() local
2715 pages = ceph_alloc_page_vector(page_count, GFP_KERNEL); in rbd_img_obj_parent_read_full()
2716 if (IS_ERR(pages)) { in rbd_img_obj_parent_read_full()
2717 result = PTR_ERR(pages); in rbd_img_obj_parent_read_full()
2718 pages = NULL; in rbd_img_obj_parent_read_full()
2728 result = rbd_img_request_fill(parent_request, OBJ_REQUEST_PAGES, pages); in rbd_img_obj_parent_read_full()
2731 parent_request->copyup_pages = pages; in rbd_img_obj_parent_read_full()
2744 if (pages) in rbd_img_obj_parent_read_full()
2745 ceph_release_page_vector(pages, page_count); in rbd_img_obj_parent_read_full()
2827 struct page **pages = NULL; in rbd_img_obj_exists_submit() local
2842 pages = ceph_alloc_page_vector(page_count, GFP_KERNEL); in rbd_img_obj_exists_submit()
2843 if (IS_ERR(pages)) in rbd_img_obj_exists_submit()
2844 return PTR_ERR(pages); in rbd_img_obj_exists_submit()
2854 stat_request->pages = pages; in rbd_img_obj_exists_submit()
2866 osd_req_op_raw_data_in_pages(stat_request->osd_req, 0, pages, size, 0, in rbd_img_obj_exists_submit()
3054 obj_request->pages); in rbd_img_parent_read()
3260 struct page **pages; in rbd_obj_method_sync() local
3272 pages = ceph_alloc_page_vector(page_count, GFP_KERNEL); in rbd_obj_method_sync()
3273 if (IS_ERR(pages)) in rbd_obj_method_sync()
3274 return PTR_ERR(pages); in rbd_obj_method_sync()
3282 obj_request->pages = pages; in rbd_obj_method_sync()
3305 obj_request->pages, inbound_size, in rbd_obj_method_sync()
3322 ceph_copy_from_page_vector(pages, inbound, 0, obj_request->xferred); in rbd_obj_method_sync()
3327 ceph_release_page_vector(pages, page_count); in rbd_obj_method_sync()
3528 struct page **pages = NULL; in rbd_obj_read_sync() local
3534 pages = ceph_alloc_page_vector(page_count, GFP_KERNEL); in rbd_obj_read_sync()
3535 if (IS_ERR(pages)) in rbd_obj_read_sync()
3536 return PTR_ERR(pages); in rbd_obj_read_sync()
3544 obj_request->pages = pages; in rbd_obj_read_sync()
3555 obj_request->pages, in rbd_obj_read_sync()
3574 ceph_copy_from_page_vector(pages, buf, 0, size); in rbd_obj_read_sync()
3581 ceph_release_page_vector(pages, page_count); in rbd_obj_read_sync()