Lines Matching refs:which
132 osd_req_op_raw_data_in(struct ceph_osd_request *osd_req, unsigned int which) in osd_req_op_raw_data_in() argument
134 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_raw_data_in()
136 return &osd_req->r_ops[which].raw_data_in; in osd_req_op_raw_data_in()
141 unsigned int which) in osd_req_op_extent_osd_data() argument
143 return osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_data()
149 unsigned int which) in osd_req_op_cls_response_data() argument
151 return osd_req_op_data(osd_req, which, cls, response_data); in osd_req_op_cls_response_data()
156 unsigned int which, struct page **pages, in osd_req_op_raw_data_in_pages() argument
162 osd_data = osd_req_op_raw_data_in(osd_req, which); in osd_req_op_raw_data_in_pages()
169 unsigned int which, struct page **pages, in osd_req_op_extent_osd_data_pages() argument
175 osd_data = osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_data_pages()
182 unsigned int which, struct ceph_pagelist *pagelist) in osd_req_op_extent_osd_data_pagelist() argument
186 osd_data = osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_data_pagelist()
193 unsigned int which, struct bio *bio, size_t bio_length) in osd_req_op_extent_osd_data_bio() argument
197 osd_data = osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_data_bio()
205 unsigned int which, struct ceph_pagelist *pagelist) in osd_req_op_cls_request_info_pagelist() argument
209 osd_data = osd_req_op_data(osd_req, which, cls, request_info); in osd_req_op_cls_request_info_pagelist()
215 unsigned int which, struct ceph_pagelist *pagelist) in osd_req_op_cls_request_data_pagelist() argument
219 osd_data = osd_req_op_data(osd_req, which, cls, request_data); in osd_req_op_cls_request_data_pagelist()
225 unsigned int which, struct page **pages, u64 length, in osd_req_op_cls_request_data_pages() argument
230 osd_data = osd_req_op_data(osd_req, which, cls, request_data); in osd_req_op_cls_request_data_pages()
237 unsigned int which, struct page **pages, u64 length, in osd_req_op_cls_response_data_pages() argument
242 osd_data = osd_req_op_data(osd_req, which, cls, response_data); in osd_req_op_cls_response_data_pages()
280 unsigned int which) in osd_req_op_data_release() argument
284 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_data_release()
285 op = &osd_req->r_ops[which]; in osd_req_op_data_release()
317 unsigned int which; in ceph_osdc_release_request() local
335 for (which = 0; which < req->r_num_ops; which++) in ceph_osdc_release_request()
336 osd_req_op_data_release(req, which); in ceph_osdc_release_request()
458 _osd_req_op_init(struct ceph_osd_request *osd_req, unsigned int which, in _osd_req_op_init() argument
463 BUG_ON(which >= osd_req->r_num_ops); in _osd_req_op_init()
466 op = &osd_req->r_ops[which]; in _osd_req_op_init()
475 unsigned int which, u16 opcode, u32 flags) in osd_req_op_init() argument
477 (void)_osd_req_op_init(osd_req, which, opcode, flags); in osd_req_op_init()
482 unsigned int which, u16 opcode, in osd_req_op_extent_init() argument
486 struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, in osd_req_op_extent_init()
506 unsigned int which, u64 length) in osd_req_op_extent_update() argument
511 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_extent_update()
512 op = &osd_req->r_ops[which]; in osd_req_op_extent_update()
524 void osd_req_op_cls_init(struct ceph_osd_request *osd_req, unsigned int which, in osd_req_op_cls_init() argument
527 struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, in osd_req_op_cls_init()
553 osd_req_op_cls_request_info_pagelist(osd_req, which, pagelist); in osd_req_op_cls_init()
561 int osd_req_op_xattr_init(struct ceph_osd_request *osd_req, unsigned int which, in osd_req_op_xattr_init() argument
565 struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, in osd_req_op_xattr_init()
596 unsigned int which, u16 opcode, in osd_req_op_watch_init() argument
599 struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, in osd_req_op_watch_init()
612 unsigned int which, in osd_req_op_alloc_hint_init() argument
616 struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, in osd_req_op_alloc_hint_init()
655 struct ceph_osd_op *dst, unsigned int which) in osd_req_encode_op() argument
662 BUG_ON(which >= req->r_num_ops); in osd_req_encode_op()
663 src = &req->r_ops[which]; in osd_req_encode_op()
773 unsigned int which, int num_ops, in ceph_osdc_new_request() argument
805 osd_req_op_init(req, which, opcode, 0); in ceph_osdc_new_request()
818 osd_req_op_extent_init(req, which, opcode, objoff, objlen, in ceph_osdc_new_request()