Lines Matching refs:osd_req

175 osd_req_op_raw_data_in(struct ceph_osd_request *osd_req, unsigned int which)
177 BUG_ON(which >= osd_req->r_num_ops);
179 return &osd_req->r_ops[which].raw_data_in;
183 osd_req_op_extent_osd_data(struct ceph_osd_request *osd_req,
186 return osd_req_op_data(osd_req, which, extent, osd_data);
190 void osd_req_op_raw_data_in_pages(struct ceph_osd_request *osd_req,
197 osd_data = osd_req_op_raw_data_in(osd_req, which);
203 void osd_req_op_extent_osd_data_pages(struct ceph_osd_request *osd_req,
210 osd_data = osd_req_op_data(osd_req, which, extent, osd_data);
216 void osd_req_op_extent_osd_data_pagelist(struct ceph_osd_request *osd_req,
221 osd_data = osd_req_op_data(osd_req, which, extent, osd_data);
227 void osd_req_op_extent_osd_data_bio(struct ceph_osd_request *osd_req,
234 osd_data = osd_req_op_data(osd_req, which, extent, osd_data);
240 void osd_req_op_extent_osd_data_bvecs(struct ceph_osd_request *osd_req,
251 osd_data = osd_req_op_data(osd_req, which, extent, osd_data);
256 void osd_req_op_extent_osd_data_bvec_pos(struct ceph_osd_request *osd_req,
262 osd_data = osd_req_op_data(osd_req, which, extent, osd_data);
268 struct ceph_osd_request *osd_req,
273 osd_data = osd_req_op_data(osd_req, which, cls, request_info);
278 struct ceph_osd_request *osd_req,
283 osd_data = osd_req_op_data(osd_req, which, cls, request_data);
285 osd_req->r_ops[which].cls.indata_len += pagelist->length;
286 osd_req->r_ops[which].indata_len += pagelist->length;
290 void osd_req_op_cls_request_data_pages(struct ceph_osd_request *osd_req,
296 osd_data = osd_req_op_data(osd_req, which, cls, request_data);
299 osd_req->r_ops[which].cls.indata_len += length;
300 osd_req->r_ops[which].indata_len += length;
304 void osd_req_op_cls_request_data_bvecs(struct ceph_osd_request *osd_req,
315 osd_data = osd_req_op_data(osd_req, which, cls, request_data);
317 osd_req->r_ops[which].cls.indata_len += bytes;
318 osd_req->r_ops[which].indata_len += bytes;
322 void osd_req_op_cls_response_data_pages(struct ceph_osd_request *osd_req,
328 osd_data = osd_req_op_data(osd_req, which, cls, response_data);
369 static void osd_req_op_data_release(struct ceph_osd_request *osd_req,
374 BUG_ON(which >= osd_req->r_num_ops);
375 op = &osd_req->r_ops[which];
713 osd_req_op_init(struct ceph_osd_request *osd_req, unsigned int which,
718 BUG_ON(which >= osd_req->r_num_ops);
721 op = &osd_req->r_ops[which];
730 void osd_req_op_extent_init(struct ceph_osd_request *osd_req,
735 struct ceph_osd_req_op *op = osd_req_op_init(osd_req, which,
754 void osd_req_op_extent_update(struct ceph_osd_request *osd_req,
760 BUG_ON(which >= osd_req->r_num_ops);
761 op = &osd_req->r_ops[which];
774 void osd_req_op_extent_dup_last(struct ceph_osd_request *osd_req,
779 BUG_ON(which + 1 >= osd_req->r_num_ops);
781 prev_op = &osd_req->r_ops[which];
782 op = osd_req_op_init(osd_req, which + 1, prev_op->op, prev_op->flags);
796 int osd_req_op_cls_init(struct ceph_osd_request *osd_req, unsigned int which,
805 op = osd_req_op_init(osd_req, which, CEPH_OSD_OP_CALL, 0);
829 osd_req_op_cls_request_info_pagelist(osd_req, which, pagelist);
839 int osd_req_op_xattr_init(struct ceph_osd_request *osd_req, unsigned int which,
843 struct ceph_osd_req_op *op = osd_req_op_init(osd_req, which,
913 void osd_req_op_alloc_hint_init(struct ceph_osd_request *osd_req,
921 op = osd_req_op_init(osd_req, which, CEPH_OSD_OP_SETALLOCHINT, 0);