Lines Matching refs:num_ops
569 unsigned int num_ops,
576 BUG_ON(num_ops > CEPH_OSD_SLAB_OPS);
578 } else if (num_ops <= CEPH_OSD_SLAB_OPS) {
581 BUG_ON(num_ops > CEPH_OSD_MAX_OPS);
582 req = kmalloc(struct_size(req, r_ops, num_ops), gfp_flags);
590 req->r_num_ops = num_ops;
1082 unsigned int which, int num_ops,
1100 req = ceph_osdc_alloc_request(osdc, snapc, num_ops, use_mempool,
1139 if (num_ops > 1) {
1148 num_req_ops = num_ops;
1152 num_rep_ops = num_ops;
3677 int num_ops;
3712 ceph_decode_32_safe(&p, end, m->num_ops, e_inval);
3713 if (m->num_ops > ARRAY_SIZE(m->outdata_len))
3716 ceph_decode_need(&p, end, m->num_ops * sizeof(struct ceph_osd_op),
3718 for (i = 0; i < m->num_ops; i++) {
3726 for (i = 0; i < m->num_ops; i++)
3856 if (m.num_ops != req->r_num_ops) {
3857 pr_err("num_ops %d != %d for tid %llu\n", m.num_ops,