Lines Matching full:vec

686 	struct kvec vec = {buf, buflen};  in smc_clc_wait_msg()  local
701 iov_iter_kvec(&msg.msg_iter, ITER_DEST, &vec, 1, in smc_clc_wait_msg()
748 iov_iter_kvec(&msg.msg_iter, ITER_DEST, &vec, 1, recvlen); in smc_clc_wait_msg()
760 vec.iov_base = &tmp; in smc_clc_wait_msg()
761 vec.iov_len = SMC_CLC_RECV_BUF_LEN; in smc_clc_wait_msg()
765 iov_iter_kvec(&msg.msg_iter, ITER_DEST, &vec, 1, recvlen); in smc_clc_wait_msg()
794 struct kvec vec; in smc_clc_send_decline() local
821 vec.iov_base = &dclc; in smc_clc_send_decline()
822 vec.iov_len = send_len; in smc_clc_send_decline()
823 len = kernel_sendmsg(smc->clcsock, &msg, &vec, 1, send_len); in smc_clc_send_decline()
845 struct kvec vec[8]; in smc_clc_send_proposal() local
986 vec[i].iov_base = pclc_base; in smc_clc_send_proposal()
987 vec[i++].iov_len = sizeof(*pclc_base); in smc_clc_send_proposal()
988 vec[i].iov_base = pclc_smcd; in smc_clc_send_proposal()
989 vec[i++].iov_len = sizeof(*pclc_smcd); in smc_clc_send_proposal()
991 vec[i].iov_base = pclc_prfx; in smc_clc_send_proposal()
992 vec[i++].iov_len = sizeof(*pclc_prfx); in smc_clc_send_proposal()
994 vec[i].iov_base = ipv6_prfx; in smc_clc_send_proposal()
995 vec[i++].iov_len = pclc_prfx->ipv6_prefixes_cnt * in smc_clc_send_proposal()
1000 vec[i].iov_base = v2_ext; in smc_clc_send_proposal()
1001 vec[i++].iov_len = sizeof(*v2_ext) + in smc_clc_send_proposal()
1004 vec[i].iov_base = smcd_v2_ext; in smc_clc_send_proposal()
1005 vec[i++].iov_len = sizeof(*smcd_v2_ext); in smc_clc_send_proposal()
1007 vec[i].iov_base = gidchids; in smc_clc_send_proposal()
1008 vec[i++].iov_len = v2_ext->hdr.ism_gid_cnt * in smc_clc_send_proposal()
1013 vec[i].iov_base = trl; in smc_clc_send_proposal()
1014 vec[i++].iov_len = sizeof(*trl); in smc_clc_send_proposal()
1016 len = kernel_sendmsg(smc->clcsock, &msg, vec, i, plen); in smc_clc_send_proposal()
1148 struct kvec vec[5]; in smc_clc_send_confirm_accept() local
1165 vec[i].iov_base = clc; in smc_clc_send_confirm_accept()
1167 vec[i++].iov_len = (clc->hdr.typev1 == SMC_TYPE_D ? in smc_clc_send_confirm_accept()
1172 vec[i++].iov_len = (clc->hdr.typev1 == SMC_TYPE_D ? in smc_clc_send_confirm_accept()
1177 vec[i].iov_base = &fce_v2x; in smc_clc_send_confirm_accept()
1178 vec[i++].iov_len = fce_len; in smc_clc_send_confirm_accept()
1181 vec[i].iov_base = &gle; in smc_clc_send_confirm_accept()
1182 vec[i++].iov_len = sizeof(gle); in smc_clc_send_confirm_accept()
1183 vec[i].iov_base = &ini->smcrv2.gidlist.list; in smc_clc_send_confirm_accept()
1184 vec[i++].iov_len = gle.gid_cnt * in smc_clc_send_confirm_accept()
1189 vec[i].iov_base = &trl; in smc_clc_send_confirm_accept()
1190 vec[i++].iov_len = sizeof(trl); in smc_clc_send_confirm_accept()
1191 return kernel_sendmsg(smc->clcsock, &msg, vec, 1, in smc_clc_send_confirm_accept()