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