snap_id 195 drivers/block/rbd.c u64 snap_id; snap_id 337 drivers/block/rbd.c u64 snap_id; /* for reads */ snap_id 633 drivers/block/rbd.c u64 snap_id); snap_id 634 drivers/block/rbd.c static int _rbd_dev_v2_snap_size(struct rbd_device *rbd_dev, u64 snap_id, snap_id 636 drivers/block/rbd.c static int _rbd_dev_v2_snap_features(struct rbd_device *rbd_dev, u64 snap_id, snap_id 699 drivers/block/rbd.c if (rbd_dev->spec->snap_id != CEPH_NOSNAP && !ro) snap_id 1241 drivers/block/rbd.c static u32 rbd_dev_snap_index(struct rbd_device *rbd_dev, u64 snap_id) snap_id 1246 drivers/block/rbd.c found = bsearch(&snap_id, &snapc->snaps, snapc->num_snaps, snap_id 1247 drivers/block/rbd.c sizeof (snap_id), snapid_compare_reverse); snap_id 1253 drivers/block/rbd.c u64 snap_id) snap_id 1258 drivers/block/rbd.c which = rbd_dev_snap_index(rbd_dev, snap_id); snap_id 1266 drivers/block/rbd.c static const char *rbd_snap_name(struct rbd_device *rbd_dev, u64 snap_id) snap_id 1268 drivers/block/rbd.c if (snap_id == CEPH_NOSNAP) snap_id 1273 drivers/block/rbd.c return rbd_dev_v1_snap_name(rbd_dev, snap_id); snap_id 1275 drivers/block/rbd.c return rbd_dev_v2_snap_name(rbd_dev, snap_id); snap_id 1278 drivers/block/rbd.c static int rbd_snap_size(struct rbd_device *rbd_dev, u64 snap_id, snap_id 1282 drivers/block/rbd.c if (snap_id == CEPH_NOSNAP) { snap_id 1287 drivers/block/rbd.c which = rbd_dev_snap_index(rbd_dev, snap_id); snap_id 1296 drivers/block/rbd.c ret = _rbd_dev_v2_snap_size(rbd_dev, snap_id, NULL, &size); snap_id 1305 drivers/block/rbd.c static int rbd_snap_features(struct rbd_device *rbd_dev, u64 snap_id, snap_id 1309 drivers/block/rbd.c if (snap_id == CEPH_NOSNAP) { snap_id 1317 drivers/block/rbd.c ret = _rbd_dev_v2_snap_features(rbd_dev, snap_id, &features); snap_id 1328 drivers/block/rbd.c u64 snap_id = rbd_dev->spec->snap_id; snap_id 1333 drivers/block/rbd.c ret = rbd_snap_size(rbd_dev, snap_id, &size); snap_id 1336 drivers/block/rbd.c ret = rbd_snap_features(rbd_dev, snap_id, &features); snap_id 1552 drivers/block/rbd.c osd_req->r_snapid = obj_request->img_request->snap_id; snap_id 1745 drivers/block/rbd.c img_request->snap_id = rbd_dev->spec->snap_id; snap_id 1851 drivers/block/rbd.c static void rbd_object_map_name(struct rbd_device *rbd_dev, u64 snap_id, snap_id 1854 drivers/block/rbd.c if (snap_id == CEPH_NOSNAP) snap_id 1859 drivers/block/rbd.c rbd_dev->spec->image_id, snap_id); snap_id 1984 drivers/block/rbd.c rbd_object_map_name(rbd_dev, rbd_dev->spec->snap_id, &oid); snap_id 2191 drivers/block/rbd.c static int rbd_object_map_update(struct rbd_obj_request *obj_req, u64 snap_id, snap_id 2201 drivers/block/rbd.c if (snap_id == CEPH_NOSNAP) { snap_id 2216 drivers/block/rbd.c rbd_object_map_name(rbd_dev, snap_id, &req->r_base_oid); snap_id 2221 drivers/block/rbd.c if (snap_id == CEPH_NOSNAP) { snap_id 3558 drivers/block/rbd.c if (rbd_dev->spec->snap_id != CEPH_NOSNAP) snap_id 4833 drivers/block/rbd.c if (op_type != OBJ_OP_READ && rbd_dev->spec->snap_id != CEPH_NOSNAP) { snap_id 4848 drivers/block/rbd.c rbd_assert(rbd_dev->spec->snap_id != CEPH_NOSNAP); snap_id 5038 drivers/block/rbd.c u64 snap_id; snap_id 5043 drivers/block/rbd.c snap_id = rbd_dev->spec->snap_id; snap_id 5044 drivers/block/rbd.c if (snap_id == CEPH_NOSNAP) snap_id 5047 drivers/block/rbd.c if (rbd_dev_snap_index(rbd_dev, snap_id) == BAD_SNAP_INDEX) snap_id 5091 drivers/block/rbd.c if (rbd_dev->spec->snap_id == CEPH_NOSNAP) { snap_id 5348 drivers/block/rbd.c return sprintf(buf, "%llu\n", rbd_dev->spec->snap_id); snap_id 5379 drivers/block/rbd.c spec->snap_id, spec->snap_name, snap_id 5416 drivers/block/rbd.c static DEVICE_ATTR(snap_id, 0444, rbd_snap_id_show, NULL); snap_id 5480 drivers/block/rbd.c spec->snap_id = CEPH_NOSNAP; snap_id 5638 drivers/block/rbd.c static int _rbd_dev_v2_snap_size(struct rbd_device *rbd_dev, u64 snap_id, snap_id 5641 drivers/block/rbd.c __le64 snapid = cpu_to_le64(snap_id); snap_id 5665 drivers/block/rbd.c (unsigned long long)snap_id, snap_id 5715 drivers/block/rbd.c static int _rbd_dev_v2_snap_features(struct rbd_device *rbd_dev, u64 snap_id, snap_id 5718 drivers/block/rbd.c __le64 snapid = cpu_to_le64(snap_id); snap_id 5746 drivers/block/rbd.c (unsigned long long)snap_id, snap_id 5768 drivers/block/rbd.c __le64 snapid = cpu_to_le64(rbd_dev->spec->snap_id); snap_id 5789 drivers/block/rbd.c u64 snap_id; snap_id 5823 drivers/block/rbd.c ceph_decode_64_safe(p, end, pii->snap_id, e_inval); snap_id 5898 drivers/block/rbd.c ceph_decode_64_safe(&p, end, pii->snap_id, e_inval); snap_id 5926 drivers/block/rbd.c ceph_encode_64(&p, rbd_dev->spec->snap_id); snap_id 5952 drivers/block/rbd.c __func__, pii.pool_id, pii.pool_ns, pii.image_id, pii.snap_id, snap_id 6001 drivers/block/rbd.c parent_spec->snap_id = pii.snap_id; snap_id 6150 drivers/block/rbd.c u64 snap_id; snap_id 6155 drivers/block/rbd.c snap_id = snapc->snaps[which]; snap_id 6156 drivers/block/rbd.c snap_name = rbd_dev_v2_snap_name(rbd_dev, snap_id); snap_id 6167 drivers/block/rbd.c return found ? snap_id : CEPH_NOSNAP; snap_id 6194 drivers/block/rbd.c u64 snap_id; snap_id 6196 drivers/block/rbd.c snap_id = rbd_snap_id_by_name(rbd_dev, spec->snap_name); snap_id 6197 drivers/block/rbd.c if (snap_id == CEPH_NOSNAP) snap_id 6200 drivers/block/rbd.c spec->snap_id = snap_id; snap_id 6202 drivers/block/rbd.c spec->snap_id = CEPH_NOSNAP; snap_id 6225 drivers/block/rbd.c rbd_assert(spec->snap_id != CEPH_NOSNAP); snap_id 6246 drivers/block/rbd.c snap_name = rbd_snap_name(rbd_dev, spec->snap_id); snap_id 6337 drivers/block/rbd.c u64 snap_id) snap_id 6352 drivers/block/rbd.c snapid = cpu_to_le64(snap_id); snap_id 6369 drivers/block/rbd.c (unsigned long long)snap_id, snap_name); snap_id 6639 drivers/block/rbd.c if (rbd_dev->spec->snap_id != CEPH_NOSNAP) snap_id 7017 drivers/block/rbd.c if (rbd_dev->spec->snap_id != CEPH_NOSNAP && snap_id 7105 drivers/block/rbd.c if (rbd_dev->spec->snap_id != CEPH_NOSNAP)