Lines Matching refs:page_count
267 u32 page_count; member
2091 obj_request->page_count); in rbd_obj_request_destroy()
2314 obj_request->page_count = 0; in rbd_img_obj_end_request()
2513 unsigned int page_count; in rbd_img_request_fill() local
2516 page_count = (u32)calc_pages_for(offset, length); in rbd_img_request_fill()
2517 obj_request->page_count = page_count; in rbd_img_request_fill()
2519 page_count--; /* more on last page */ in rbd_img_request_fill()
2520 pages += page_count; in rbd_img_request_fill()
2556 u32 page_count; in rbd_osd_copyup_callback() local
2572 page_count = obj_request->copyup_page_count; in rbd_osd_copyup_callback()
2573 rbd_assert(page_count); in rbd_osd_copyup_callback()
2575 ceph_release_page_vector(pages, page_count); in rbd_osd_copyup_callback()
2598 u32 page_count; in rbd_img_obj_parent_read_full_callback() local
2609 page_count = img_request->copyup_page_count; in rbd_img_obj_parent_read_full_callback()
2610 rbd_assert(page_count); in rbd_img_obj_parent_read_full_callback()
2633 ceph_release_page_vector(pages, page_count); in rbd_img_obj_parent_read_full_callback()
2656 orig_request->copyup_page_count = page_count; in rbd_img_obj_parent_read_full_callback()
2706 u32 page_count; in rbd_img_obj_parent_read_full() local
2738 page_count = (u32)calc_pages_for(0, length); in rbd_img_obj_parent_read_full()
2739 pages = ceph_alloc_page_vector(page_count, GFP_KERNEL); in rbd_img_obj_parent_read_full()
2756 parent_request->copyup_page_count = page_count; in rbd_img_obj_parent_read_full()
2769 ceph_release_page_vector(pages, page_count); in rbd_img_obj_parent_read_full()
2852 u32 page_count; in rbd_img_obj_exists_submit() local
2865 page_count = (u32)calc_pages_for(0, size); in rbd_img_obj_exists_submit()
2866 pages = ceph_alloc_page_vector(page_count, GFP_KERNEL); in rbd_img_obj_exists_submit()
2879 stat_request->page_count = page_count; in rbd_img_obj_exists_submit()
3286 u32 page_count; in rbd_obj_method_sync() local
3296 page_count = (u32)calc_pages_for(0, inbound_size); in rbd_obj_method_sync()
3297 pages = ceph_alloc_page_vector(page_count, GFP_KERNEL); in rbd_obj_method_sync()
3308 obj_request->page_count = page_count; in rbd_obj_method_sync()
3352 ceph_release_page_vector(pages, page_count); in rbd_obj_method_sync()
3508 u32 page_count; in rbd_obj_read_sync() local
3512 page_count = (u32) calc_pages_for(offset, length); in rbd_obj_read_sync()
3513 pages = ceph_alloc_page_vector(page_count, GFP_KERNEL); in rbd_obj_read_sync()
3524 obj_request->page_count = page_count; in rbd_obj_read_sync()
3560 ceph_release_page_vector(pages, page_count); in rbd_obj_read_sync()