Searched refs:img_req (Results 1 – 1 of 1) sorted by relevance
645 static void rbd_img_handle_request(struct rbd_img_request *img_req, int result);1353 static bool rbd_img_is_write(struct rbd_img_request *img_req) in rbd_img_is_write() argument1355 switch (img_req->op_type) { in rbd_img_is_write()1581 static void rbd_img_capture_header(struct rbd_img_request *img_req) in rbd_img_capture_header() argument1583 struct rbd_device *rbd_dev = img_req->rbd_dev; in rbd_img_capture_header()1587 if (rbd_img_is_write(img_req)) in rbd_img_capture_header()1588 img_req->snapc = ceph_get_snap_context(rbd_dev->header.snapc); in rbd_img_capture_header()1590 img_req->snap_id = rbd_dev->spec->snap_id; in rbd_img_capture_header()1593 img_request_layered_set(img_req); in rbd_img_capture_header()2358 struct rbd_img_request *img_req = obj_req->img_request; in count_write_ops() local[all …]