Lines Matching refs:vec
661 struct kvec vec = {buf, buflen}; in smc_clc_wait_msg() local
676 iov_iter_kvec(&msg.msg_iter, READ, &vec, 1, in smc_clc_wait_msg()
723 iov_iter_kvec(&msg.msg_iter, READ, &vec, 1, recvlen); in smc_clc_wait_msg()
735 vec.iov_base = &tmp; in smc_clc_wait_msg()
736 vec.iov_len = SMC_CLC_RECV_BUF_LEN; in smc_clc_wait_msg()
740 iov_iter_kvec(&msg.msg_iter, READ, &vec, 1, recvlen); in smc_clc_wait_msg()
769 struct kvec vec; in smc_clc_send_decline() local
796 vec.iov_base = &dclc; in smc_clc_send_decline()
797 vec.iov_len = send_len; in smc_clc_send_decline()
798 len = kernel_sendmsg(smc->clcsock, &msg, &vec, 1, send_len); in smc_clc_send_decline()
818 struct kvec vec[8]; in smc_clc_send_proposal() local
935 vec[i].iov_base = pclc_base; in smc_clc_send_proposal()
936 vec[i++].iov_len = sizeof(*pclc_base); in smc_clc_send_proposal()
937 vec[i].iov_base = pclc_smcd; in smc_clc_send_proposal()
938 vec[i++].iov_len = sizeof(*pclc_smcd); in smc_clc_send_proposal()
940 vec[i].iov_base = pclc_prfx; in smc_clc_send_proposal()
941 vec[i++].iov_len = sizeof(*pclc_prfx); in smc_clc_send_proposal()
943 vec[i].iov_base = ipv6_prfx; in smc_clc_send_proposal()
944 vec[i++].iov_len = pclc_prfx->ipv6_prefixes_cnt * in smc_clc_send_proposal()
949 vec[i].iov_base = v2_ext; in smc_clc_send_proposal()
950 vec[i++].iov_len = sizeof(*v2_ext) + in smc_clc_send_proposal()
953 vec[i].iov_base = smcd_v2_ext; in smc_clc_send_proposal()
954 vec[i++].iov_len = sizeof(*smcd_v2_ext); in smc_clc_send_proposal()
956 vec[i].iov_base = gidchids; in smc_clc_send_proposal()
957 vec[i++].iov_len = ini->ism_offered_cnt * in smc_clc_send_proposal()
962 vec[i].iov_base = trl; in smc_clc_send_proposal()
963 vec[i++].iov_len = sizeof(*trl); in smc_clc_send_proposal()
965 len = kernel_sendmsg(smc->clcsock, &msg, vec, i, plen); in smc_clc_send_proposal()
989 struct kvec vec[5]; in smc_clc_send_confirm_accept() local
1079 vec[i].iov_base = clc_v2; in smc_clc_send_confirm_accept()
1081 vec[i++].iov_len = (clc->hdr.typev1 == SMC_TYPE_D ? in smc_clc_send_confirm_accept()
1086 vec[i++].iov_len = (clc->hdr.typev1 == SMC_TYPE_D ? in smc_clc_send_confirm_accept()
1091 vec[i].iov_base = &fce; in smc_clc_send_confirm_accept()
1092 vec[i++].iov_len = sizeof(fce); in smc_clc_send_confirm_accept()
1095 vec[i].iov_base = &gle; in smc_clc_send_confirm_accept()
1096 vec[i++].iov_len = sizeof(gle); in smc_clc_send_confirm_accept()
1097 vec[i].iov_base = &ini->smcrv2.gidlist.list; in smc_clc_send_confirm_accept()
1098 vec[i++].iov_len = gle.gid_cnt * in smc_clc_send_confirm_accept()
1101 vec[i].iov_base = &gle.reserved; in smc_clc_send_confirm_accept()
1102 vec[i++].iov_len = sizeof(gle.reserved); in smc_clc_send_confirm_accept()
1106 vec[i].iov_base = &trl; in smc_clc_send_confirm_accept()
1107 vec[i++].iov_len = sizeof(trl); in smc_clc_send_confirm_accept()
1108 return kernel_sendmsg(smc->clcsock, &msg, vec, 1, in smc_clc_send_confirm_accept()