Lines Matching refs:vct
890 struct rds_iov_vector_arr *vct) in rds_rm_size() argument
911 if (vct->indx >= vct->len) { in rds_rm_size()
912 vct->len += vct->incr; in rds_rm_size()
914 krealloc(vct->vec, in rds_rm_size()
915 vct->len * in rds_rm_size()
919 vct->len -= vct->incr; in rds_rm_size()
922 vct->vec = tmp_iov; in rds_rm_size()
924 iov = &vct->vec[vct->indx]; in rds_rm_size()
926 vct->indx++; in rds_rm_size()
986 struct rds_iov_vector_arr *vct) in rds_cmsg_send() argument
1003 if (ind >= vct->indx) in rds_cmsg_send()
1005 ret = rds_cmsg_rdma_args(rs, rm, cmsg, &vct->vec[ind]); in rds_cmsg_send()
1122 struct rds_iov_vector_arr vct; in rds_sendmsg() local
1125 memset(&vct, 0, sizeof(vct)); in rds_sendmsg()
1128 vct.incr = 1; in rds_sendmsg()
1265 ret = rds_rm_size(msg, num_sgs, &vct); in rds_sendmsg()
1314 ret = rds_cmsg_send(rs, rm, msg, &allocated_mr, &vct); in rds_sendmsg()
1393 for (ind = 0; ind < vct.indx; ind++) in rds_sendmsg()
1394 kfree(vct.vec[ind].iov); in rds_sendmsg()
1395 kfree(vct.vec); in rds_sendmsg()
1400 for (ind = 0; ind < vct.indx; ind++) in rds_sendmsg()
1401 kfree(vct.vec[ind].iov); in rds_sendmsg()
1402 kfree(vct.vec); in rds_sendmsg()