Lines Matching refs:pages

266 			struct page	**pages;  member
1281 static void zero_pages(struct page **pages, u64 offset, u64 end) in zero_pages() argument
1283 struct page **page = &pages[offset >> PAGE_SHIFT]; in zero_pages()
1733 zero_pages(obj_request->pages, 0, length); in rbd_img_obj_request_read_callback()
1739 zero_pages(obj_request->pages, xferred, length); in rbd_img_obj_request_read_callback()
2089 if (obj_request->pages) in rbd_obj_request_destroy()
2090 ceph_release_page_vector(obj_request->pages, in rbd_obj_request_destroy()
2313 obj_request->pages = NULL; in rbd_img_obj_end_request()
2428 obj_request->pages, length, in rbd_img_obj_request_fill()
2455 struct page **pages = NULL; in rbd_img_request_fill() local
2473 pages = data_desc; in rbd_img_request_fill()
2515 obj_request->pages = pages; in rbd_img_request_fill()
2520 pages += page_count; in rbd_img_request_fill()
2555 struct page **pages; in rbd_osd_copyup_callback() local
2569 pages = obj_request->copyup_pages; in rbd_osd_copyup_callback()
2570 rbd_assert(pages != NULL); in rbd_osd_copyup_callback()
2575 ceph_release_page_vector(pages, page_count); in rbd_osd_copyup_callback()
2596 struct page **pages; in rbd_img_obj_parent_read_full_callback() local
2606 pages = img_request->copyup_pages; in rbd_img_obj_parent_read_full_callback()
2607 rbd_assert(pages != NULL); in rbd_img_obj_parent_read_full_callback()
2633 ceph_release_page_vector(pages, page_count); in rbd_img_obj_parent_read_full_callback()
2655 orig_request->copyup_pages = pages; in rbd_img_obj_parent_read_full_callback()
2661 osd_req_op_cls_request_data_pages(osd_req, 0, pages, parent_length, 0, in rbd_img_obj_parent_read_full_callback()
2705 struct page **pages = NULL; in rbd_img_obj_parent_read_full() local
2739 pages = ceph_alloc_page_vector(page_count, GFP_KERNEL); in rbd_img_obj_parent_read_full()
2740 if (IS_ERR(pages)) { in rbd_img_obj_parent_read_full()
2741 result = PTR_ERR(pages); in rbd_img_obj_parent_read_full()
2742 pages = NULL; in rbd_img_obj_parent_read_full()
2752 result = rbd_img_request_fill(parent_request, OBJ_REQUEST_PAGES, pages); in rbd_img_obj_parent_read_full()
2755 parent_request->copyup_pages = pages; in rbd_img_obj_parent_read_full()
2768 if (pages) in rbd_img_obj_parent_read_full()
2769 ceph_release_page_vector(pages, page_count); in rbd_img_obj_parent_read_full()
2851 struct page **pages = NULL; in rbd_img_obj_exists_submit() local
2866 pages = ceph_alloc_page_vector(page_count, GFP_KERNEL); in rbd_img_obj_exists_submit()
2867 if (IS_ERR(pages)) in rbd_img_obj_exists_submit()
2868 return PTR_ERR(pages); in rbd_img_obj_exists_submit()
2878 stat_request->pages = pages; in rbd_img_obj_exists_submit()
2890 osd_req_op_raw_data_in_pages(stat_request->osd_req, 0, pages, size, 0, in rbd_img_obj_exists_submit()
3078 obj_request->pages); in rbd_img_parent_read()
3285 struct page **pages; in rbd_obj_method_sync() local
3297 pages = ceph_alloc_page_vector(page_count, GFP_KERNEL); in rbd_obj_method_sync()
3298 if (IS_ERR(pages)) in rbd_obj_method_sync()
3299 return PTR_ERR(pages); in rbd_obj_method_sync()
3307 obj_request->pages = pages; in rbd_obj_method_sync()
3330 obj_request->pages, inbound_size, in rbd_obj_method_sync()
3347 ceph_copy_from_page_vector(pages, inbound, 0, obj_request->xferred); in rbd_obj_method_sync()
3352 ceph_release_page_vector(pages, page_count); in rbd_obj_method_sync()
3507 struct page **pages = NULL; in rbd_obj_read_sync() local
3513 pages = ceph_alloc_page_vector(page_count, GFP_KERNEL); in rbd_obj_read_sync()
3514 if (IS_ERR(pages)) in rbd_obj_read_sync()
3515 return PTR_ERR(pages); in rbd_obj_read_sync()
3523 obj_request->pages = pages; in rbd_obj_read_sync()
3534 obj_request->pages, in rbd_obj_read_sync()
3553 ceph_copy_from_page_vector(pages, buf, 0, size); in rbd_obj_read_sync()
3560 ceph_release_page_vector(pages, page_count); in rbd_obj_read_sync()