Lines Matching refs:osd_req

182 osd_req_op_raw_data_in(struct ceph_osd_request *osd_req, unsigned int which)  in osd_req_op_raw_data_in()  argument
184 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_raw_data_in()
186 return &osd_req->r_ops[which].raw_data_in; in osd_req_op_raw_data_in()
190 osd_req_op_extent_osd_data(struct ceph_osd_request *osd_req, in osd_req_op_extent_osd_data() argument
193 return osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_data()
197 void osd_req_op_raw_data_in_pages(struct ceph_osd_request *osd_req, in osd_req_op_raw_data_in_pages() argument
204 osd_data = osd_req_op_raw_data_in(osd_req, which); in osd_req_op_raw_data_in_pages()
210 void osd_req_op_extent_osd_data_pages(struct ceph_osd_request *osd_req, in osd_req_op_extent_osd_data_pages() argument
217 osd_data = osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_data_pages()
223 void osd_req_op_extent_osd_data_pagelist(struct ceph_osd_request *osd_req, in osd_req_op_extent_osd_data_pagelist() argument
228 osd_data = osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_data_pagelist()
234 void osd_req_op_extent_osd_data_bio(struct ceph_osd_request *osd_req, in osd_req_op_extent_osd_data_bio() argument
241 osd_data = osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_data_bio()
247 void osd_req_op_extent_osd_data_bvecs(struct ceph_osd_request *osd_req, in osd_req_op_extent_osd_data_bvecs() argument
258 osd_data = osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_data_bvecs()
263 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
269 osd_data = osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_data_bvec_pos()
280 void osd_req_op_extent_osd_iter(struct ceph_osd_request *osd_req, in osd_req_op_extent_osd_iter() argument
285 osd_data = osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_iter()
291 struct ceph_osd_request *osd_req, in osd_req_op_cls_request_info_pagelist() argument
296 osd_data = osd_req_op_data(osd_req, which, cls, request_info); in osd_req_op_cls_request_info_pagelist()
301 struct ceph_osd_request *osd_req, in osd_req_op_cls_request_data_pagelist() argument
306 osd_data = osd_req_op_data(osd_req, which, cls, request_data); in osd_req_op_cls_request_data_pagelist()
308 osd_req->r_ops[which].cls.indata_len += pagelist->length; in osd_req_op_cls_request_data_pagelist()
309 osd_req->r_ops[which].indata_len += pagelist->length; in osd_req_op_cls_request_data_pagelist()
313 void osd_req_op_cls_request_data_pages(struct ceph_osd_request *osd_req, in osd_req_op_cls_request_data_pages() argument
319 osd_data = osd_req_op_data(osd_req, which, cls, request_data); in osd_req_op_cls_request_data_pages()
322 osd_req->r_ops[which].cls.indata_len += length; in osd_req_op_cls_request_data_pages()
323 osd_req->r_ops[which].indata_len += length; in osd_req_op_cls_request_data_pages()
327 void osd_req_op_cls_request_data_bvecs(struct ceph_osd_request *osd_req, in osd_req_op_cls_request_data_bvecs() argument
338 osd_data = osd_req_op_data(osd_req, which, cls, request_data); in osd_req_op_cls_request_data_bvecs()
340 osd_req->r_ops[which].cls.indata_len += bytes; in osd_req_op_cls_request_data_bvecs()
341 osd_req->r_ops[which].indata_len += bytes; in osd_req_op_cls_request_data_bvecs()
345 void osd_req_op_cls_response_data_pages(struct ceph_osd_request *osd_req, in osd_req_op_cls_response_data_pages() argument
351 osd_data = osd_req_op_data(osd_req, which, cls, response_data); in osd_req_op_cls_response_data_pages()
394 static void osd_req_op_data_release(struct ceph_osd_request *osd_req, in osd_req_op_data_release() argument
399 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_data_release()
400 op = &osd_req->r_ops[which]; in osd_req_op_data_release()
741 osd_req_op_init(struct ceph_osd_request *osd_req, unsigned int which, in osd_req_op_init() argument
746 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_init()
749 op = &osd_req->r_ops[which]; in osd_req_op_init()
758 void osd_req_op_extent_init(struct ceph_osd_request *osd_req, in osd_req_op_extent_init() argument
763 struct ceph_osd_req_op *op = osd_req_op_init(osd_req, which, in osd_req_op_extent_init()
782 void osd_req_op_extent_update(struct ceph_osd_request *osd_req, in osd_req_op_extent_update() argument
788 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_extent_update()
789 op = &osd_req->r_ops[which]; in osd_req_op_extent_update()
802 void osd_req_op_extent_dup_last(struct ceph_osd_request *osd_req, in osd_req_op_extent_dup_last() argument
807 BUG_ON(which + 1 >= osd_req->r_num_ops); in osd_req_op_extent_dup_last()
809 prev_op = &osd_req->r_ops[which]; in osd_req_op_extent_dup_last()
810 op = osd_req_op_init(osd_req, which + 1, prev_op->op, prev_op->flags); in osd_req_op_extent_dup_last()
824 int osd_req_op_cls_init(struct ceph_osd_request *osd_req, unsigned int which, in osd_req_op_cls_init() argument
833 op = osd_req_op_init(osd_req, which, CEPH_OSD_OP_CALL, 0); in osd_req_op_cls_init()
857 osd_req_op_cls_request_info_pagelist(osd_req, which, pagelist); in osd_req_op_cls_init()
867 int osd_req_op_xattr_init(struct ceph_osd_request *osd_req, unsigned int which, in osd_req_op_xattr_init() argument
871 struct ceph_osd_req_op *op = osd_req_op_init(osd_req, which, in osd_req_op_xattr_init()
941 void osd_req_op_alloc_hint_init(struct ceph_osd_request *osd_req, in osd_req_op_alloc_hint_init() argument
949 op = osd_req_op_init(osd_req, which, CEPH_OSD_OP_SETALLOCHINT, 0); in osd_req_op_alloc_hint_init()