Lines Matching refs:vct
949 struct rds_iov_vector_arr *vct) in rds_rm_size() argument
970 if (vct->indx >= vct->len) { in rds_rm_size()
971 vct->len += vct->incr; in rds_rm_size()
973 krealloc(vct->vec, in rds_rm_size()
974 vct->len * in rds_rm_size()
978 vct->len -= vct->incr; in rds_rm_size()
981 vct->vec = tmp_iov; in rds_rm_size()
983 iov = &vct->vec[vct->indx]; in rds_rm_size()
985 vct->indx++; in rds_rm_size()
1045 struct rds_iov_vector_arr *vct) in rds_cmsg_send() argument
1062 if (ind >= vct->indx) in rds_cmsg_send()
1064 ret = rds_cmsg_rdma_args(rs, rm, cmsg, &vct->vec[ind]); in rds_cmsg_send()
1148 struct rds_iov_vector_arr vct; in rds_sendmsg() local
1151 memset(&vct, 0, sizeof(vct)); in rds_sendmsg()
1154 vct.incr = 1; in rds_sendmsg()
1290 ret = rds_rm_size(msg, num_sgs, &vct); in rds_sendmsg()
1363 ret = rds_cmsg_send(rs, rm, msg, &allocated_mr, &vct); in rds_sendmsg()
1441 for (ind = 0; ind < vct.indx; ind++) in rds_sendmsg()
1442 kfree(vct.vec[ind].iov); in rds_sendmsg()
1443 kfree(vct.vec); in rds_sendmsg()
1448 for (ind = 0; ind < vct.indx; ind++) in rds_sendmsg()
1449 kfree(vct.vec[ind].iov); in rds_sendmsg()
1450 kfree(vct.vec); in rds_sendmsg()