obj_request 342 drivers/block/rbd.c struct rbd_obj_request *obj_request; /* obj req initiator */ obj_request 1408 drivers/block/rbd.c static void rbd_obj_request_put(struct rbd_obj_request *obj_request) obj_request 1410 drivers/block/rbd.c rbd_assert(obj_request != NULL); obj_request 1411 drivers/block/rbd.c dout("%s: obj %p (was %d)\n", __func__, obj_request, obj_request 1412 drivers/block/rbd.c kref_read(&obj_request->kref)); obj_request 1413 drivers/block/rbd.c kref_put(&obj_request->kref, rbd_obj_request_destroy); obj_request 1426 drivers/block/rbd.c struct rbd_obj_request *obj_request) obj_request 1428 drivers/block/rbd.c rbd_assert(obj_request->img_request == NULL); obj_request 1431 drivers/block/rbd.c obj_request->img_request = img_request; obj_request 1432 drivers/block/rbd.c dout("%s: img %p obj %p\n", __func__, img_request, obj_request); obj_request 1436 drivers/block/rbd.c struct rbd_obj_request *obj_request) obj_request 1438 drivers/block/rbd.c dout("%s: img %p obj %p\n", __func__, img_request, obj_request); obj_request 1439 drivers/block/rbd.c list_del(&obj_request->ex.oe_item); obj_request 1440 drivers/block/rbd.c rbd_assert(obj_request->img_request == img_request); obj_request 1441 drivers/block/rbd.c rbd_obj_request_put(obj_request); obj_request 1549 drivers/block/rbd.c struct rbd_obj_request *obj_request = osd_req->r_priv; obj_request 1552 drivers/block/rbd.c osd_req->r_snapid = obj_request->img_request->snap_id; obj_request 1557 drivers/block/rbd.c struct rbd_obj_request *obj_request = osd_req->r_priv; obj_request 1561 drivers/block/rbd.c osd_req->r_data_offset = obj_request->ex.oe_off; obj_request 1608 drivers/block/rbd.c struct rbd_obj_request *obj_request; obj_request 1610 drivers/block/rbd.c obj_request = kmem_cache_zalloc(rbd_obj_request_cache, GFP_NOIO); obj_request 1611 drivers/block/rbd.c if (!obj_request) obj_request 1614 drivers/block/rbd.c ceph_object_extent_init(&obj_request->ex); obj_request 1615 drivers/block/rbd.c INIT_LIST_HEAD(&obj_request->osd_reqs); obj_request 1616 drivers/block/rbd.c mutex_init(&obj_request->state_mutex); obj_request 1617 drivers/block/rbd.c kref_init(&obj_request->kref); obj_request 1619 drivers/block/rbd.c dout("%s %p\n", __func__, obj_request); obj_request 1620 drivers/block/rbd.c return obj_request; obj_request 1625 drivers/block/rbd.c struct rbd_obj_request *obj_request; obj_request 1629 drivers/block/rbd.c obj_request = container_of(kref, struct rbd_obj_request, kref); obj_request 1631 drivers/block/rbd.c dout("%s: obj %p\n", __func__, obj_request); obj_request 1633 drivers/block/rbd.c while (!list_empty(&obj_request->osd_reqs)) { obj_request 1634 drivers/block/rbd.c osd_req = list_first_entry(&obj_request->osd_reqs, obj_request 1640 drivers/block/rbd.c switch (obj_request->img_request->data_type) { obj_request 1646 drivers/block/rbd.c kfree(obj_request->bvec_pos.bvecs); obj_request 1652 drivers/block/rbd.c kfree(obj_request->img_extents); obj_request 1653 drivers/block/rbd.c if (obj_request->copyup_bvecs) { obj_request 1654 drivers/block/rbd.c for (i = 0; i < obj_request->copyup_bvec_count; i++) { obj_request 1655 drivers/block/rbd.c if (obj_request->copyup_bvecs[i].bv_page) obj_request 1656 drivers/block/rbd.c __free_page(obj_request->copyup_bvecs[i].bv_page); obj_request 1658 drivers/block/rbd.c kfree(obj_request->copyup_bvecs); obj_request 1661 drivers/block/rbd.c kmem_cache_free(rbd_obj_request_cache, obj_request); obj_request 1763 drivers/block/rbd.c struct rbd_obj_request *obj_request; obj_request 1771 drivers/block/rbd.c for_each_obj_request_safe(img_request, obj_request, next_obj_request) obj_request 1772 drivers/block/rbd.c rbd_img_obj_request_del(img_request, obj_request); obj_request 2943 drivers/block/rbd.c child_img_req->obj_request = obj_req; obj_request 3730 drivers/block/rbd.c struct rbd_obj_request *obj_req = img_req->obj_request;