Lines Matching refs:vec

675 	struct kvec vec = {buf, buflen};  in smc_clc_wait_msg()  local
690 iov_iter_kvec(&msg.msg_iter, ITER_DEST, &vec, 1, in smc_clc_wait_msg()
737 iov_iter_kvec(&msg.msg_iter, ITER_DEST, &vec, 1, recvlen); in smc_clc_wait_msg()
749 vec.iov_base = &tmp; in smc_clc_wait_msg()
750 vec.iov_len = SMC_CLC_RECV_BUF_LEN; in smc_clc_wait_msg()
754 iov_iter_kvec(&msg.msg_iter, ITER_DEST, &vec, 1, recvlen); in smc_clc_wait_msg()
783 struct kvec vec; in smc_clc_send_decline() local
810 vec.iov_base = &dclc; in smc_clc_send_decline()
811 vec.iov_len = send_len; in smc_clc_send_decline()
812 len = kernel_sendmsg(smc->clcsock, &msg, &vec, 1, send_len); in smc_clc_send_decline()
833 struct kvec vec[8]; in smc_clc_send_proposal() local
956 vec[i].iov_base = pclc_base; in smc_clc_send_proposal()
957 vec[i++].iov_len = sizeof(*pclc_base); in smc_clc_send_proposal()
958 vec[i].iov_base = pclc_smcd; in smc_clc_send_proposal()
959 vec[i++].iov_len = sizeof(*pclc_smcd); in smc_clc_send_proposal()
961 vec[i].iov_base = pclc_prfx; in smc_clc_send_proposal()
962 vec[i++].iov_len = sizeof(*pclc_prfx); in smc_clc_send_proposal()
964 vec[i].iov_base = ipv6_prfx; in smc_clc_send_proposal()
965 vec[i++].iov_len = pclc_prfx->ipv6_prefixes_cnt * in smc_clc_send_proposal()
970 vec[i].iov_base = v2_ext; in smc_clc_send_proposal()
971 vec[i++].iov_len = sizeof(*v2_ext) + in smc_clc_send_proposal()
974 vec[i].iov_base = smcd_v2_ext; in smc_clc_send_proposal()
975 vec[i++].iov_len = sizeof(*smcd_v2_ext); in smc_clc_send_proposal()
977 vec[i].iov_base = gidchids; in smc_clc_send_proposal()
978 vec[i++].iov_len = ini->ism_offered_cnt * in smc_clc_send_proposal()
983 vec[i].iov_base = trl; in smc_clc_send_proposal()
984 vec[i++].iov_len = sizeof(*trl); in smc_clc_send_proposal()
986 len = kernel_sendmsg(smc->clcsock, &msg, vec, i, plen); in smc_clc_send_proposal()
1011 struct kvec vec[5]; in smc_clc_send_confirm_accept() local
1102 vec[i].iov_base = clc_v2; in smc_clc_send_confirm_accept()
1104 vec[i++].iov_len = (clc->hdr.typev1 == SMC_TYPE_D ? in smc_clc_send_confirm_accept()
1109 vec[i++].iov_len = (clc->hdr.typev1 == SMC_TYPE_D ? in smc_clc_send_confirm_accept()
1114 vec[i].iov_base = &fce; in smc_clc_send_confirm_accept()
1115 vec[i++].iov_len = fce_len; in smc_clc_send_confirm_accept()
1118 vec[i].iov_base = &gle; in smc_clc_send_confirm_accept()
1119 vec[i++].iov_len = sizeof(gle); in smc_clc_send_confirm_accept()
1120 vec[i].iov_base = &ini->smcrv2.gidlist.list; in smc_clc_send_confirm_accept()
1121 vec[i++].iov_len = gle.gid_cnt * in smc_clc_send_confirm_accept()
1126 vec[i].iov_base = &trl; in smc_clc_send_confirm_accept()
1127 vec[i++].iov_len = sizeof(trl); in smc_clc_send_confirm_accept()
1128 return kernel_sendmsg(smc->clcsock, &msg, vec, 1, in smc_clc_send_confirm_accept()