Lines Matching refs:r_num_ops
184 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_raw_data_in()
376 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_data_release()
498 for (which = 0; which < req->r_num_ops; which++) in ceph_osdc_release_request()
506 else if (req->r_num_ops <= CEPH_OSD_SLAB_OPS) in ceph_osdc_release_request()
567 req->r_num_ops = num_ops; in ceph_osdc_alloc_request()
604 msg_size += 2 + req->r_num_ops * sizeof(struct ceph_osd_op); in __ceph_osdc_alloc_messages()
625 msg_size += req->r_num_ops * sizeof(struct ceph_osd_op); in __ceph_osdc_alloc_messages()
661 for (op = req->r_ops; op != &req->r_ops[req->r_num_ops]; op++) { in get_num_data_items()
723 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_init()
765 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_extent_update()
784 BUG_ON(which + 1 >= osd_req->r_num_ops); in osd_req_op_extent_dup_last()
2047 for (op = req->r_ops; op != &req->r_ops[req->r_num_ops]; op++) { in setup_request_data()
2181 ceph_encode_16(&p, req->r_num_ops); in encode_request_partial()
2182 for (i = 0; i < req->r_num_ops; i++) { in encode_request_partial()
3835 if (m.num_ops != req->r_num_ops) { in handle_reply()
3837 req->r_num_ops, req->r_tid); in handle_reply()
3840 for (i = 0; i < req->r_num_ops; i++) { in handle_reply()
5388 for (i = 0; i < req->r_num_ops; ++i) { in sparse_data_requested()
5750 while (++o->o_sparse_op_idx < req->r_num_ops) { in prep_next_sparse_read()