Lines Matching defs:bytes
1117 * snap_names_len bytes beyond the end of the
1287 static void zero_bios(struct ceph_bio_iter *bio_pos, u32 off, u32 bytes)
1292 ceph_bio_iter_advance_step(&it, bytes, ({
1297 static void zero_bvecs(struct ceph_bvec_iter *bvec_pos, u32 off, u32 bytes)
1302 ceph_bvec_iter_advance_step(&it, bytes, ({
1314 u32 bytes)
1316 dout("%s %p data buf %u~%u\n", __func__, obj_req, off, bytes);
1320 zero_bios(&obj_req->bio_pos, off, bytes);
1324 zero_bvecs(&obj_req->bvec_pos, off, bytes);
2268 u32 bytes)
2278 obj_req->copyup_bvec_count, bytes);
2676 static void set_bio_pos(struct ceph_object_extent *ex, u32 bytes, void *arg)
2682 dout("%s objno %llu bytes %u\n", __func__, ex->oe_objno, bytes);
2684 ceph_bio_iter_advance(it, bytes);
2687 static void count_bio_bvecs(struct ceph_object_extent *ex, u32 bytes, void *arg)
2693 dout("%s objno %llu bytes %u\n", __func__, ex->oe_objno, bytes);
2694 ceph_bio_iter_advance_step(it, bytes, ({
2700 static void copy_bio_bvecs(struct ceph_object_extent *ex, u32 bytes, void *arg)
2706 dout("%s objno %llu bytes %u\n", __func__, ex->oe_objno, bytes);
2707 ceph_bio_iter_advance_step(it, bytes, ({
2739 static void set_bvec_pos(struct ceph_object_extent *ex, u32 bytes, void *arg)
2746 ceph_bvec_iter_shorten(&obj_req->bvec_pos, bytes);
2747 ceph_bvec_iter_advance(it, bytes);
2750 static void count_bvecs(struct ceph_object_extent *ex, u32 bytes, void *arg)
2756 ceph_bvec_iter_advance_step(it, bytes, ({
2761 static void copy_bvecs(struct ceph_object_extent *ex, u32 bytes, void *arg)
2767 ceph_bvec_iter_advance_step(it, bytes, ({
3061 static bool is_zero_bvecs(struct bio_vec *bvecs, u32 bytes)
3065 .iter = { .bi_size = bytes },
3068 ceph_bvec_iter_advance_step(&it, bytes, ({
3079 u32 bytes)
3084 dout("%s obj_req %p bytes %u\n", __func__, obj_req, bytes);
3085 rbd_assert(bytes > 0 && bytes != MODS_ONLY);
3091 ret = rbd_osd_setup_copyup(osd_req, 0, bytes);
3106 u32 bytes)
3113 dout("%s obj_req %p bytes %u\n", __func__, obj_req, bytes);
3115 if (bytes != MODS_ONLY)
3122 if (bytes != MODS_ONLY) {
3123 ret = rbd_osd_setup_copyup(osd_req, which++, bytes);
3234 u32 bytes = rbd_obj_img_extents_bytes(obj_req);
3245 bytes = 0;
3247 if (obj_req->img_request->snapc->num_snaps && bytes > 0) {
3254 ret = rbd_obj_copyup_empty_snapc(obj_req, bytes);
3261 bytes = MODS_ONLY;
3264 ret = rbd_obj_copyup_current_snapc(obj_req, bytes);
4719 * Synchronous osd object method call. Returns the number of bytes