Lines Matching refs:r_num_ops
177 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_raw_data_in()
374 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_data_release()
494 for (which = 0; which < req->r_num_ops; which++) in ceph_osdc_release_request()
502 else if (req->r_num_ops <= CEPH_OSD_SLAB_OPS) in ceph_osdc_release_request()
551 unsigned int num_ops = req->r_num_ops; in request_reinit()
569 req->r_num_ops = num_ops; in request_reinit()
600 req->r_num_ops = num_ops; in ceph_osdc_alloc_request()
637 msg_size += 2 + req->r_num_ops * sizeof(struct ceph_osd_op); in __ceph_osdc_alloc_messages()
658 msg_size += req->r_num_ops * sizeof(struct ceph_osd_op); in __ceph_osdc_alloc_messages()
694 for (op = req->r_ops; op != &req->r_ops[req->r_num_ops]; op++) { in get_num_data_items()
755 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_init()
797 BUG_ON(which >= osd_req->r_num_ops); in osd_req_op_extent_update()
816 BUG_ON(which + 1 >= osd_req->r_num_ops); in osd_req_op_extent_dup_last()
2009 for (op = req->r_ops; op != &req->r_ops[req->r_num_ops]; op++) { in setup_request_data()
2142 ceph_encode_16(&p, req->r_num_ops); in encode_request_partial()
2143 for (i = 0; i < req->r_num_ops; i++) { in encode_request_partial()
3741 if (m.num_ops != req->r_num_ops) { in handle_reply()
3743 req->r_num_ops, req->r_tid); in handle_reply()
3746 for (i = 0; i < req->r_num_ops; i++) { in handle_reply()