Lines Matching refs:child_img_req
2779 struct rbd_img_request *child_img_req; in rbd_obj_read_from_parent() local
2782 child_img_req = kmem_cache_alloc(rbd_img_request_cache, GFP_NOIO); in rbd_obj_read_from_parent()
2783 if (!child_img_req) in rbd_obj_read_from_parent()
2786 rbd_img_request_init(child_img_req, parent, OBJ_OP_READ); in rbd_obj_read_from_parent()
2787 __set_bit(IMG_REQ_CHILD, &child_img_req->flags); in rbd_obj_read_from_parent()
2788 child_img_req->obj_request = obj_req; in rbd_obj_read_from_parent()
2791 rbd_img_capture_header(child_img_req); in rbd_obj_read_from_parent()
2794 dout("%s child_img_req %p for obj_req %p\n", __func__, child_img_req, in rbd_obj_read_from_parent()
2800 ret = __rbd_img_fill_from_bio(child_img_req, in rbd_obj_read_from_parent()
2807 ret = __rbd_img_fill_from_bvecs(child_img_req, in rbd_obj_read_from_parent()
2816 ret = rbd_img_fill_from_bvecs(child_img_req, in rbd_obj_read_from_parent()
2822 rbd_img_request_destroy(child_img_req); in rbd_obj_read_from_parent()
2827 rbd_img_schedule(child_img_req, 0); in rbd_obj_read_from_parent()