Lines Matching refs:bytes
1065 * snap_names_len bytes beyond the end of the
1224 static void zero_bios(struct ceph_bio_iter *bio_pos, u32 off, u32 bytes)
1229 ceph_bio_iter_advance_step(&it, bytes, ({
1234 static void zero_bvecs(struct ceph_bvec_iter *bvec_pos, u32 off, u32 bytes)
1239 ceph_bvec_iter_advance_step(&it, bytes, ({
1251 u32 bytes)
1253 dout("%s %p data buf %u~%u\n", __func__, obj_req, off, bytes);
1257 zero_bios(&obj_req->bio_pos, off, bytes);
1261 zero_bvecs(&obj_req->bvec_pos, off, bytes);
2205 u32 bytes)
2215 obj_req->copyup_bvec_count, bytes);
2613 static void set_bio_pos(struct ceph_object_extent *ex, u32 bytes, void *arg)
2619 dout("%s objno %llu bytes %u\n", __func__, ex->oe_objno, bytes);
2621 ceph_bio_iter_advance(it, bytes);
2624 static void count_bio_bvecs(struct ceph_object_extent *ex, u32 bytes, void *arg)
2630 dout("%s objno %llu bytes %u\n", __func__, ex->oe_objno, bytes);
2631 ceph_bio_iter_advance_step(it, bytes, ({
2637 static void copy_bio_bvecs(struct ceph_object_extent *ex, u32 bytes, void *arg)
2643 dout("%s objno %llu bytes %u\n", __func__, ex->oe_objno, bytes);
2644 ceph_bio_iter_advance_step(it, bytes, ({
2676 static void set_bvec_pos(struct ceph_object_extent *ex, u32 bytes, void *arg)
2683 ceph_bvec_iter_shorten(&obj_req->bvec_pos, bytes);
2684 ceph_bvec_iter_advance(it, bytes);
2687 static void count_bvecs(struct ceph_object_extent *ex, u32 bytes, void *arg)
2693 ceph_bvec_iter_advance_step(it, bytes, ({
2698 static void copy_bvecs(struct ceph_object_extent *ex, u32 bytes, void *arg)
2704 ceph_bvec_iter_advance_step(it, bytes, ({
2998 static bool is_zero_bvecs(struct bio_vec *bvecs, u32 bytes)
3002 .iter = { .bi_size = bytes },
3005 ceph_bvec_iter_advance_step(&it, bytes, ({
3015 u32 bytes)
3020 dout("%s obj_req %p bytes %u\n", __func__, obj_req, bytes);
3021 rbd_assert(bytes > 0 && bytes != MODS_ONLY);
3027 ret = rbd_osd_setup_copyup(osd_req, 0, bytes);
3042 u32 bytes)
3049 dout("%s obj_req %p bytes %u\n", __func__, obj_req, bytes);
3051 if (bytes != MODS_ONLY)
3058 if (bytes != MODS_ONLY) {
3059 ret = rbd_osd_setup_copyup(osd_req, which++, bytes);
3169 u32 bytes = rbd_obj_img_extents_bytes(obj_req);
3180 bytes = 0;
3182 if (obj_req->img_request->snapc->num_snaps && bytes > 0) {
3189 ret = rbd_obj_copyup_empty_snapc(obj_req, bytes);
3196 bytes = MODS_ONLY;
3199 ret = rbd_obj_copyup_current_snapc(obj_req, bytes);
4663 * Synchronous osd object method call. Returns the number of bytes