Lines Matching refs:vct
890 struct rds_iov_vector_arr *vct)
911 if (vct->indx >= vct->len) {
912 vct->len += vct->incr;
914 krealloc(vct->vec,
915 vct->len *
919 vct->len -= vct->incr;
922 vct->vec = tmp_iov;
924 iov = &vct->vec[vct->indx];
926 vct->indx++;
986 struct rds_iov_vector_arr *vct)
1003 if (ind >= vct->indx)
1005 ret = rds_cmsg_rdma_args(rs, rm, cmsg, &vct->vec[ind]);
1122 struct rds_iov_vector_arr vct;
1125 memset(&vct, 0, sizeof(vct));
1128 vct.incr = 1;
1265 ret = rds_rm_size(msg, num_sgs, &vct);
1316 ret = rds_cmsg_send(rs, rm, msg, &allocated_mr, &vct);
1396 for (ind = 0; ind < vct.indx; ind++)
1397 kfree(vct.vec[ind].iov);
1398 kfree(vct.vec);
1403 for (ind = 0; ind < vct.indx; ind++)
1404 kfree(vct.vec[ind].iov);
1405 kfree(vct.vec);