Lines Matching refs:which

130 osd_req_op_raw_data_in(struct ceph_osd_request *osd_req, unsigned int which)  in osd_req_op_raw_data_in()  argument
132 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_raw_data_in()
134 return &osd_req->r_ops[which].raw_data_in; in osd_req_op_raw_data_in()
139 unsigned int which) in osd_req_op_extent_osd_data() argument
141 return osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_data()
147 unsigned int which) in osd_req_op_cls_response_data() argument
149 return osd_req_op_data(osd_req, which, cls, response_data); in osd_req_op_cls_response_data()
154 unsigned int which, struct page **pages, in osd_req_op_raw_data_in_pages() argument
160 osd_data = osd_req_op_raw_data_in(osd_req, which); in osd_req_op_raw_data_in_pages()
167 unsigned int which, struct page **pages, in osd_req_op_extent_osd_data_pages() argument
173 osd_data = osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_data_pages()
180 unsigned int which, struct ceph_pagelist *pagelist) in osd_req_op_extent_osd_data_pagelist() argument
184 osd_data = osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_data_pagelist()
191 unsigned int which, struct bio *bio, size_t bio_length) in osd_req_op_extent_osd_data_bio() argument
195 osd_data = osd_req_op_data(osd_req, which, extent, osd_data); in osd_req_op_extent_osd_data_bio()
203 unsigned int which, struct ceph_pagelist *pagelist) in osd_req_op_cls_request_info_pagelist() argument
207 osd_data = osd_req_op_data(osd_req, which, cls, request_info); in osd_req_op_cls_request_info_pagelist()
213 unsigned int which, struct ceph_pagelist *pagelist) in osd_req_op_cls_request_data_pagelist() argument
217 osd_data = osd_req_op_data(osd_req, which, cls, request_data); in osd_req_op_cls_request_data_pagelist()
223 unsigned int which, struct page **pages, u64 length, in osd_req_op_cls_request_data_pages() argument
228 osd_data = osd_req_op_data(osd_req, which, cls, request_data); in osd_req_op_cls_request_data_pages()
235 unsigned int which, struct page **pages, u64 length, in osd_req_op_cls_response_data_pages() argument
240 osd_data = osd_req_op_data(osd_req, which, cls, response_data); in osd_req_op_cls_response_data_pages()
278 unsigned int which) in osd_req_op_data_release() argument
282 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_data_release()
283 op = &osd_req->r_ops[which]; in osd_req_op_data_release()
311 unsigned int which; in ceph_osdc_release_request() local
329 for (which = 0; which < req->r_num_ops; which++) in ceph_osdc_release_request()
330 osd_req_op_data_release(req, which); in ceph_osdc_release_request()
452 _osd_req_op_init(struct ceph_osd_request *osd_req, unsigned int which, in _osd_req_op_init() argument
457 BUG_ON(which >= osd_req->r_num_ops); in _osd_req_op_init()
460 op = &osd_req->r_ops[which]; in _osd_req_op_init()
468 unsigned int which, u16 opcode) in osd_req_op_init() argument
470 (void)_osd_req_op_init(osd_req, which, opcode); in osd_req_op_init()
475 unsigned int which, u16 opcode, in osd_req_op_extent_init() argument
479 struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, opcode); in osd_req_op_extent_init()
497 unsigned int which, u64 length) in osd_req_op_extent_update() argument
502 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_extent_update()
503 op = &osd_req->r_ops[which]; in osd_req_op_extent_update()
515 void osd_req_op_cls_init(struct ceph_osd_request *osd_req, unsigned int which, in osd_req_op_cls_init() argument
518 struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, opcode); in osd_req_op_cls_init()
543 osd_req_op_cls_request_info_pagelist(osd_req, which, pagelist); in osd_req_op_cls_init()
551 int osd_req_op_xattr_init(struct ceph_osd_request *osd_req, unsigned int which, in osd_req_op_xattr_init() argument
555 struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, opcode); in osd_req_op_xattr_init()
585 unsigned int which, u16 opcode, in osd_req_op_watch_init() argument
588 struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, opcode); in osd_req_op_watch_init()
600 unsigned int which, in osd_req_op_alloc_hint_init() argument
604 struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, in osd_req_op_alloc_hint_init()
642 struct ceph_osd_op *dst, unsigned int which) in osd_req_encode_op() argument
649 BUG_ON(which >= req->r_num_ops); in osd_req_encode_op()
650 src = &req->r_ops[which]; in osd_req_encode_op()
757 unsigned int which, int num_ops, in ceph_osdc_new_request() argument
789 osd_req_op_init(req, which, opcode); in ceph_osdc_new_request()
802 osd_req_op_extent_init(req, which, opcode, objoff, objlen, in ceph_osdc_new_request()