/drivers/staging/lustre/lnet/lnet/ |
H A D | lo.c | 49 int delayed, unsigned int niov, 58 lnet_copy_iov2iov(niov, iov, offset, 63 lnet_copy_iov2kiov(niov, kiov, offset, 69 lnet_copy_kiov2iov(niov, iov, offset, 74 lnet_copy_kiov2kiov(niov, kiov, offset, 48 lolnd_recv(lnet_ni_t *ni, void *private, lnet_msg_t *lntmsg, int delayed, unsigned int niov, struct iovec *iov, lnet_kiov_t *kiov, unsigned int offset, unsigned int mlen, unsigned int rlen) argument
|
H A D | lib-md.c | 92 unsigned int niov; local 111 lmd->md_niov = niov = umd->length; 113 niov * sizeof(lmd->md_iov.iov[0])); 115 for (i = 0; i < (int)niov; i++) { 132 lmd->md_niov = niov = umd->length; 134 niov * sizeof(lmd->md_iov.kiov[0])); 136 for (i = 0; i < (int)niov; i++) { 153 lmd->md_niov = niov = 1;
|
H A D | lib-move.c | 161 lnet_iov_nob(unsigned int niov, struct iovec *iov) argument 165 while (niov-- > 0) 240 unsigned int niov; local 253 niov = 1; 256 LASSERT((int)niov <= dst_niov); 263 return niov; 271 niov++; 280 lnet_kiov_nob(unsigned int niov, lnet_kiov_t *kiov) argument 284 while (niov-- > 0) 374 lnet_copy_kiov2iov(unsigned int niov, struc argument 444 lnet_copy_iov2kiov(unsigned int nkiov, lnet_kiov_t *kiov, unsigned int kiovoffset, unsigned int niov, struct iovec *iov, unsigned int iovoffset, unsigned int nob) argument 522 unsigned int niov; local 568 unsigned int niov = 0; local [all...] |
/drivers/staging/lustre/lnet/klnds/socklnd/ |
H A D | socklnd_lib-linux.c | 97 unsigned int niov = 1; local 100 unsigned int niov = tx->tx_niov; local 105 for (nob = i = 0; i < niov; i++) { 114 rc = kernel_sendmsg(sock, &msg, (struct kvec *)scratchiov, niov, nob); 158 unsigned int niov = 1; local 164 unsigned int niov = tx->tx_nkiov; 169 for (nob = i = 0; i < niov; i++) { 179 rc = kernel_sendmsg(sock, &msg, (struct kvec *)scratchiov, niov, nob); 181 for (i = 0; i < niov; i++) 208 unsigned int niov local 271 ksocknal_lib_kiov_vmap(lnet_kiov_t *kiov, int niov, struct iovec *iov, struct page **pages) argument 313 unsigned int niov = 1; local [all...] |
H A D | socklnd_cb.c | 720 CDEBUG (D_NET, "Packet %p type %d, nob %d niov %d nkiov %d\n", 1036 unsigned int niov; local 1091 niov = 0; 1096 conn->ksnc_rx_iov[niov].iov_base = ksocknal_slop_buffer; 1097 conn->ksnc_rx_iov[niov].iov_len = nob; 1098 niov++; 1103 niov < sizeof(conn->ksnc_rx_iov_space) / sizeof (struct iovec)); 1105 conn->ksnc_rx_niov = niov; 1319 unsigned int niov, struct iovec *iov, lnet_kiov_t *kiov, 1326 LASSERT (niov < 1318 ksocknal_recv(lnet_ni_t *ni, void *private, lnet_msg_t *msg, int delayed, unsigned int niov, struct iovec *iov, lnet_kiov_t *kiov, unsigned int offset, unsigned int mlen, unsigned int rlen) argument [all...] |
H A D | socklnd.h | 519 int delayed, unsigned int niov,
|
/drivers/staging/lustre/include/linux/lnet/ |
H A D | lib-lnet.h | 384 unsigned int niov; local 387 niov = umd->length; 388 size = offsetof(lnet_libmd_t, md_iov.kiov[niov]); 390 niov = ((umd->options & LNET_MD_IOVEC) != 0) ? 392 size = offsetof(lnet_libmd_t, md_iov.iov[niov]); 400 md->md_niov = niov; 755 unsigned int lnet_iov_nob(unsigned int niov, struct iovec *iov); 760 unsigned int lnet_kiov_nob(unsigned int niov, lnet_kiov_t *iov); 769 void lnet_copy_kiov2iov(unsigned int niov, struct iovec *iov, 775 unsigned int niov, struc [all...] |
H A D | lib-types.h | 325 * of 'niov' fragments which are... 348 int delayed, unsigned int niov,
|
/drivers/infiniband/hw/ipath/ |
H A D | ipath_user_sdma.c | 178 unsigned long niov) { 194 for (i = 0; i < niov; i++) { 325 unsigned long niov) 330 for (idx = 0; idx < niov; idx++) { 355 unsigned long niov, int npages) 360 ret = ipath_user_sdma_coalesce(dd, pkt, iov, niov); 362 ret = ipath_user_sdma_pin_pkt(dd, pq, pkt, iov, niov); 395 unsigned long niov, 410 while (idx < niov && npkts < maxpkts) { 481 while (pktnwc < pktnw && idx < niov) { 175 ipath_user_sdma_coalesce(const struct ipath_devdata *dd, struct ipath_user_sdma_pkt *pkt, const struct iovec *iov, unsigned long niov) argument 321 ipath_user_sdma_pin_pkt(const struct ipath_devdata *dd, struct ipath_user_sdma_queue *pq, struct ipath_user_sdma_pkt *pkt, const struct iovec *iov, unsigned long niov) argument 351 ipath_user_sdma_init_payload(const struct ipath_devdata *dd, struct ipath_user_sdma_queue *pq, struct ipath_user_sdma_pkt *pkt, const struct iovec *iov, unsigned long niov, int npages) argument 391 ipath_user_sdma_queue_pkts(const struct ipath_devdata *dd, struct ipath_user_sdma_queue *pq, struct list_head *list, const struct iovec *iov, unsigned long niov, int maxpkts) argument [all...] |
/drivers/infiniband/hw/qib/ |
H A D | qib_user_sdma.c | 564 unsigned long niov) 580 for (i = 0; i < niov; i++) { 722 unsigned long niov) 727 for (idx = 0; idx < niov; idx++) { 764 unsigned long niov, int npages) 770 ret = qib_user_sdma_coalesce(dd, pq, pkt, iov, niov); 772 ret = qib_user_sdma_pin_pkt(dd, pq, pkt, iov, niov); 809 unsigned long niov, 824 while (idx < niov && npkts < *maxpkts) { 879 while (pktnwc < pktnw && idx < niov) { 560 qib_user_sdma_coalesce(const struct qib_devdata *dd, struct qib_user_sdma_queue *pq, struct qib_user_sdma_pkt *pkt, const struct iovec *iov, unsigned long niov) argument 718 qib_user_sdma_pin_pkt(const struct qib_devdata *dd, struct qib_user_sdma_queue *pq, struct qib_user_sdma_pkt *pkt, const struct iovec *iov, unsigned long niov) argument 760 qib_user_sdma_init_payload(const struct qib_devdata *dd, struct qib_user_sdma_queue *pq, struct qib_user_sdma_pkt *pkt, const struct iovec *iov, unsigned long niov, int npages) argument 805 qib_user_sdma_queue_pkts(const struct qib_devdata *dd, struct qib_pportdata *ppd, struct qib_user_sdma_queue *pq, const struct iovec *iov, unsigned long niov, struct list_head *list, int *maxpkts, int *ndesc) argument [all...] |
/drivers/target/iscsi/ |
H A D | iscsi_target.c | 1663 int niov = 0, rx_got, rx_size = payload_length; local 1674 iov[niov].iov_base = ping_data; 1675 iov[niov++].iov_len = payload_length; 1681 iov[niov].iov_base = &cmd->pad_bytes; 1682 iov[niov++].iov_len = padding; 1686 iov[niov].iov_base = &checksum; 1687 iov[niov++].iov_len = ISCSI_CRC_LEN; 1691 rx_got = rx_data(conn, &cmd->iov_misc[0], niov, rx_size); 2078 int niov = 0, rx_got; local 2090 iov[niov] 2858 int niov = 0, tx_size, rc; local 2967 int niov = 0, tx_size; local [all...] |
/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
H A D | o2iblnd_cb.c | 700 unsigned int niov, struct iovec *iov, int offset, int nob) 710 LASSERT (niov > 0); 715 niov--; 717 LASSERT (niov > 0); 722 LASSERT (niov > 0); 743 niov--; 759 CDEBUG(D_NET, "niov %d offset %d nob %d\n", nkiov, offset, nob); 1631 unsigned int niov = lntmsg->msg_niov; local 1650 niov, iov, offset, nob); 1653 niov, kio 699 kiblnd_setup_rd_iov(lnet_ni_t *ni, kib_tx_t *tx, kib_rdma_desc_t *rd, unsigned int niov, struct iovec *iov, int offset, int nob) argument 1690 kiblnd_recv(lnet_ni_t *ni, void *private, lnet_msg_t *lntmsg, int delayed, unsigned int niov, struct iovec *iov, lnet_kiov_t *kiov, unsigned int offset, unsigned int mlen, unsigned int rlen) argument [all...] |
H A D | o2iblnd.h | 1029 unsigned int niov, struct iovec *iov, lnet_kiov_t *kiov,
|
/drivers/vhost/ |
H A D | scsi.c | 832 int niov, 839 for (i = 0; i < niov; i++) 855 for (i = 0; i < niov; i++) { 874 int niov, 881 for (i = 0; i < niov; i++) 896 for (i = 0; i < niov; i++) { 830 vhost_scsi_map_iov_to_sgl(struct tcm_vhost_cmd *cmd, struct iovec *iov, int niov, bool write) argument 872 vhost_scsi_map_iov_to_prot(struct tcm_vhost_cmd *cmd, struct iovec *iov, int niov, bool write) argument
|