Lines Matching refs:which
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()
191 unsigned int which) 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()
198 unsigned int which, struct page **pages, 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()
211 unsigned int which, struct page **pages, 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()
225 unsigned int which, in osd_req_op_extent_osd_data_bio() argument
231 osd_data = osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_data_bio()
238 unsigned int which, in osd_req_op_extent_osd_data_bvecs() argument
248 osd_data = osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_data_bvecs()
254 unsigned int which, in osd_req_op_extent_osd_data_bvec_pos() argument
259 osd_data = osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_data_bvec_pos()
271 unsigned int which, struct iov_iter *iter) in osd_req_op_extent_osd_iter() argument
275 osd_data = osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_iter()
282 unsigned int which, struct ceph_pagelist *pagelist) in osd_req_op_cls_request_info_pagelist() argument
286 osd_data = osd_req_op_data(osd_req, which, cls, request_info); in osd_req_op_cls_request_info_pagelist()
291 unsigned int which, struct page **pages, u64 length, 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()
305 unsigned int which, 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()
323 unsigned int which, struct page **pages, u64 length, 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()
372 unsigned int which) in osd_req_op_data_release() argument
376 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_data_release()
377 op = &osd_req->r_ops[which]; in osd_req_op_data_release()
487 unsigned int which; in ceph_osdc_release_request() local
498 for (which = 0; which < req->r_num_ops; which++) in ceph_osdc_release_request()
499 osd_req_op_data_release(req, which); in ceph_osdc_release_request()
718 osd_req_op_init(struct ceph_osd_request *osd_req, unsigned int which, in osd_req_op_init() argument
723 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_init()
726 op = &osd_req->r_ops[which]; in osd_req_op_init()
736 unsigned int which, u16 opcode, in osd_req_op_extent_init() argument
740 struct ceph_osd_req_op *op = osd_req_op_init(osd_req, which, in osd_req_op_extent_init()
760 unsigned int which, u64 length) in osd_req_op_extent_update() argument
765 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_extent_update()
766 op = &osd_req->r_ops[which]; in osd_req_op_extent_update()
780 unsigned int which, u64 offset_inc) in osd_req_op_extent_dup_last() argument
784 BUG_ON(which + 1 >= osd_req->r_num_ops); in osd_req_op_extent_dup_last()
786 prev_op = &osd_req->r_ops[which]; in osd_req_op_extent_dup_last()
787 op = osd_req_op_init(osd_req, which + 1, prev_op->op, prev_op->flags); in osd_req_op_extent_dup_last()
801 int osd_req_op_cls_init(struct ceph_osd_request *osd_req, unsigned int which, in osd_req_op_cls_init() argument
810 op = osd_req_op_init(osd_req, which, CEPH_OSD_OP_CALL, 0); in osd_req_op_cls_init()
834 osd_req_op_cls_request_info_pagelist(osd_req, which, pagelist); in osd_req_op_cls_init()
844 int osd_req_op_xattr_init(struct ceph_osd_request *osd_req, unsigned int which, in osd_req_op_xattr_init() argument
848 struct ceph_osd_req_op *op = osd_req_op_init(osd_req, which, in osd_req_op_xattr_init()
888 static void osd_req_op_watch_init(struct ceph_osd_request *req, int which, in osd_req_op_watch_init() argument
893 op = osd_req_op_init(req, which, CEPH_OSD_OP_WATCH, 0); in osd_req_op_watch_init()
903 static void osd_req_op_notify_init(struct ceph_osd_request *req, int which, in osd_req_op_notify_init() argument
908 op = osd_req_op_init(req, which, CEPH_OSD_OP_NOTIFY, 0); in osd_req_op_notify_init()
919 unsigned int which, in osd_req_op_alloc_hint_init() argument
926 op = osd_req_op_init(osd_req, which, CEPH_OSD_OP_SETALLOCHINT, 0); in osd_req_op_alloc_hint_init()
1059 unsigned int which, int num_ops, in ceph_osdc_new_request() argument
1090 osd_req_op_init(req, which, opcode, 0); in ceph_osdc_new_request()
1103 osd_req_op_extent_init(req, which, opcode, objoff, objlen, in ceph_osdc_new_request()
4837 static int osd_req_op_notify_ack_init(struct ceph_osd_request *req, int which, in osd_req_op_notify_ack_init() argument
4845 op = osd_req_op_init(req, which, CEPH_OSD_OP_NOTIFY_ACK, 0); in osd_req_op_notify_ack_init()