Home
last modified time | relevance | path

Searched refs:iovec_num (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/infiniband/hw/erdma/
H A Derdma_cm.c339 int iovec_num = 0; in erdma_send_mpareqrep() local
347 iov[iovec_num].iov_base = rr; in erdma_send_mpareqrep()
348 iov[iovec_num].iov_len = sizeof(*rr); in erdma_send_mpareqrep()
349 iovec_num++; in erdma_send_mpareqrep()
352 iov[iovec_num].iov_base = &cep->mpa.ext_data; in erdma_send_mpareqrep()
353 iov[iovec_num].iov_len = sizeof(cep->mpa.ext_data); in erdma_send_mpareqrep()
354 iovec_num++; in erdma_send_mpareqrep()
358 iov[iovec_num].iov_base = (char *)pdata; in erdma_send_mpareqrep()
359 iov[iovec_num].iov_len = pd_len; in erdma_send_mpareqrep()
361 iovec_num++; in erdma_send_mpareqrep()
[all …]
/linux/drivers/infiniband/sw/siw/
H A Dsiw_cm.c472 int iovec_num = 0; in siw_send_mpareqrep() local
477 iov[iovec_num].iov_base = rr; in siw_send_mpareqrep()
478 iov[iovec_num].iov_len = sizeof(*rr); in siw_send_mpareqrep()
482 iovec_num++; in siw_send_mpareqrep()
483 iov[iovec_num].iov_base = &cep->mpa.v2_ctrl; in siw_send_mpareqrep()
484 iov[iovec_num].iov_len = sizeof(cep->mpa.v2_ctrl); in siw_send_mpareqrep()
488 iovec_num++; in siw_send_mpareqrep()
489 iov[iovec_num].iov_base = (char *)pdata; in siw_send_mpareqrep()
490 iov[iovec_num].iov_len = pd_len; in siw_send_mpareqrep()
498 rv = kernel_sendmsg(s, &msg, iov, iovec_num + 1, mpa_len); in siw_send_mpareqrep()