Lines Matching defs:which

130 osd_req_op_raw_data_in(struct ceph_osd_request *osd_req, unsigned int which)
132 BUG_ON(which >= osd_req->r_num_ops);
134 return &osd_req->r_ops[which].raw_data_in;
139 unsigned int which)
141 return osd_req_op_data(osd_req, which, extent, osd_data);
147 unsigned int which)
149 return osd_req_op_data(osd_req, which, cls, response_data);
154 unsigned int which, struct page **pages,
160 osd_data = osd_req_op_raw_data_in(osd_req, which);
167 unsigned int which, struct page **pages,
173 osd_data = osd_req_op_data(osd_req, which, extent, osd_data);
180 unsigned int which, struct ceph_pagelist *pagelist)
184 osd_data = osd_req_op_data(osd_req, which, extent, osd_data);
191 unsigned int which, struct bio *bio, size_t bio_length)
195 osd_data = osd_req_op_data(osd_req, which, extent, osd_data);
203 unsigned int which, struct ceph_pagelist *pagelist)
207 osd_data = osd_req_op_data(osd_req, which, cls, request_info);
213 unsigned int which, struct ceph_pagelist *pagelist)
217 osd_data = osd_req_op_data(osd_req, which, cls, request_data);
223 unsigned int which, struct page **pages, u64 length,
228 osd_data = osd_req_op_data(osd_req, which, cls, request_data);
235 unsigned int which, struct page **pages, u64 length,
240 osd_data = osd_req_op_data(osd_req, which, cls, response_data);
278 unsigned int which)
282 BUG_ON(which >= osd_req->r_num_ops);
283 op = &osd_req->r_ops[which];
307 unsigned int which;
325 for (which = 0; which < req->r_num_ops; which++)
326 osd_req_op_data_release(req, which);
448 _osd_req_op_init(struct ceph_osd_request *osd_req, unsigned int which,
453 BUG_ON(which >= osd_req->r_num_ops);
456 op = &osd_req->r_ops[which];
464 unsigned int which, u16 opcode)
466 (void)_osd_req_op_init(osd_req, which, opcode);
471 unsigned int which, u16 opcode,
475 struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, opcode);
494 unsigned int which, u64 length)
499 BUG_ON(which >= osd_req->r_num_ops);
500 op = &osd_req->r_ops[which];
512 void osd_req_op_cls_init(struct ceph_osd_request *osd_req, unsigned int which,
515 struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, opcode);
540 osd_req_op_cls_request_info_pagelist(osd_req, which, pagelist);
549 unsigned int which, u16 opcode,
552 struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which, opcode);
564 unsigned int which,
568 struct ceph_osd_req_op *op = _osd_req_op_init(osd_req, which,
606 struct ceph_osd_op *dst, unsigned int which)
613 BUG_ON(which >= req->r_num_ops);
614 src = &req->r_ops[which];
1797 * list, waiting for the new osdmap (which can take