Lines Matching refs:vct
889 struct rds_iov_vector_arr *vct)
910 if (vct->indx >= vct->len) {
911 vct->len += vct->incr;
913 krealloc(vct->vec,
914 vct->len *
918 vct->len -= vct->incr;
921 vct->vec = tmp_iov;
923 iov = &vct->vec[vct->indx];
925 vct->indx++;
985 struct rds_iov_vector_arr *vct)
1002 if (ind >= vct->indx)
1004 ret = rds_cmsg_rdma_args(rs, rm, cmsg, &vct->vec[ind]);
1121 struct rds_iov_vector_arr vct;
1124 memset(&vct, 0, sizeof(vct));
1127 vct.incr = 1;
1263 ret = rds_rm_size(msg, num_sgs, &vct);
1314 ret = rds_cmsg_send(rs, rm, msg, &allocated_mr, &vct);
1390 for (ind = 0; ind < vct.indx; ind++)
1391 kfree(vct.vec[ind].iov);
1392 kfree(vct.vec);
1397 for (ind = 0; ind < vct.indx; ind++)
1398 kfree(vct.vec[ind].iov);
1399 kfree(vct.vec);