Lines Matching refs:num_ops
551 unsigned int num_ops = req->r_num_ops; in request_reinit() local
569 req->r_num_ops = num_ops; in request_reinit()
579 unsigned int num_ops, in ceph_osdc_alloc_request() argument
586 BUG_ON(num_ops > CEPH_OSD_SLAB_OPS); in ceph_osdc_alloc_request()
588 } else if (num_ops <= CEPH_OSD_SLAB_OPS) { in ceph_osdc_alloc_request()
591 BUG_ON(num_ops > CEPH_OSD_MAX_OPS); in ceph_osdc_alloc_request()
592 req = kmalloc(struct_size(req, r_ops, num_ops), gfp_flags); in ceph_osdc_alloc_request()
600 req->r_num_ops = num_ops; in ceph_osdc_alloc_request()
1068 unsigned int which, int num_ops, in ceph_osdc_new_request() argument
1085 req = ceph_osdc_alloc_request(osdc, snapc, num_ops, use_mempool, in ceph_osdc_new_request()
1124 if (num_ops > 1) in ceph_osdc_new_request()
1130 r = __ceph_osdc_alloc_messages(req, GFP_NOFS, num_ops, 0); in ceph_osdc_new_request()
3562 int num_ops; member
3597 ceph_decode_32_safe(&p, end, m->num_ops, e_inval); in decode_MOSDOpReply()
3598 if (m->num_ops > ARRAY_SIZE(m->outdata_len)) in decode_MOSDOpReply()
3601 ceph_decode_need(&p, end, m->num_ops * sizeof(struct ceph_osd_op), in decode_MOSDOpReply()
3603 for (i = 0; i < m->num_ops; i++) { in decode_MOSDOpReply()
3611 for (i = 0; i < m->num_ops; i++) in decode_MOSDOpReply()
3741 if (m.num_ops != req->r_num_ops) { in handle_reply()
3742 pr_err("num_ops %d != %d for tid %llu\n", m.num_ops, in handle_reply()