/drivers/staging/lustre/lnet/lnet/ |
D | lib-md.c | 90 unsigned int niov; in lnet_md_build() local 108 niov = umd->length; in lnet_md_build() 111 niov * sizeof(lmd->md_iov.iov[0])); in lnet_md_build() 113 for (i = 0; i < (int)niov; i++) { in lnet_md_build() 130 niov = umd->length; in lnet_md_build() 133 niov * sizeof(lmd->md_iov.kiov[0])); in lnet_md_build() 135 for (i = 0; i < (int)niov; i++) { in lnet_md_build() 152 niov = 1; in lnet_md_build()
|
D | lib-move.c | 158 lnet_iov_nob(unsigned int niov, struct kvec *iov) in lnet_iov_nob() argument 162 LASSERT(!niov || iov); in lnet_iov_nob() 163 while (niov-- > 0) in lnet_iov_nob() 261 unsigned int niov; in lnet_extract_iov() local 274 niov = 1; in lnet_extract_iov() 277 LASSERT((int)niov <= dst_niov); in lnet_extract_iov() 284 return niov; in lnet_extract_iov() 292 niov++; in lnet_extract_iov() 300 lnet_kiov_nob(unsigned int niov, lnet_kiov_t *kiov) in lnet_kiov_nob() argument 304 LASSERT(!niov || kiov); in lnet_kiov_nob() [all …]
|
/drivers/staging/lustre/lnet/klnds/socklnd/ |
D | socklnd_lib.c | 167 unsigned int niov = conn->ksnc_rx_niov; in ksocknal_lib_recv_iov() local 179 LASSERT(niov > 0); in ksocknal_lib_recv_iov() 181 for (nob = i = 0; i < niov; i++) in ksocknal_lib_recv_iov() 186 iov_iter_kvec(&msg.msg_iter, READ | ITER_KVEC, iov, niov, nob); in ksocknal_lib_recv_iov() 198 LASSERT(i < niov); in ksocknal_lib_recv_iov() 216 unsigned int niov = conn->ksnc_rx_nkiov; in ksocknal_lib_recv_kiov() local 228 for (nob = i = 0; i < niov; i++) in ksocknal_lib_recv_kiov() 233 iov_iter_bvec(&msg.msg_iter, READ | ITER_BVEC, kiov, niov, nob); in ksocknal_lib_recv_kiov() 238 LASSERT(i < niov); in ksocknal_lib_recv_kiov()
|
D | socklnd_cb.c | 1045 unsigned int niov; in ksocknal_new_packet() local 1101 niov = 0; in ksocknal_new_packet() 1106 conn->ksnc_rx_iov[niov].iov_base = ksocknal_slop_buffer; in ksocknal_new_packet() 1107 conn->ksnc_rx_iov[niov].iov_len = nob; in ksocknal_new_packet() 1108 niov++; in ksocknal_new_packet() 1113 niov < sizeof(conn->ksnc_rx_iov_space) / sizeof(struct iovec)); in ksocknal_new_packet() 1115 conn->ksnc_rx_niov = niov; in ksocknal_new_packet()
|
/drivers/staging/lustre/include/linux/lnet/ |
D | lib-lnet.h | 201 unsigned int niov; in lnet_md_alloc() local 204 niov = umd->length; in lnet_md_alloc() 205 size = offsetof(lnet_libmd_t, md_iov.kiov[niov]); in lnet_md_alloc() 207 niov = umd->options & LNET_MD_IOVEC ? umd->length : 1; in lnet_md_alloc() 208 size = offsetof(lnet_libmd_t, md_iov.iov[niov]); in lnet_md_alloc() 216 md->md_niov = niov; in lnet_md_alloc() 606 unsigned int lnet_iov_nob(unsigned int niov, struct kvec *iov); 611 unsigned int lnet_kiov_nob(unsigned int niov, lnet_kiov_t *iov);
|
/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.c | 565 unsigned long niov) in qib_user_sdma_coalesce() argument 581 for (i = 0; i < niov; i++) { in qib_user_sdma_coalesce() 723 unsigned long niov) in qib_user_sdma_pin_pkt() argument 728 for (idx = 0; idx < niov; idx++) { in qib_user_sdma_pin_pkt() 765 unsigned long niov, int npages) in qib_user_sdma_init_payload() argument 771 ret = qib_user_sdma_coalesce(dd, pq, pkt, iov, niov); in qib_user_sdma_init_payload() 773 ret = qib_user_sdma_pin_pkt(dd, pq, pkt, iov, niov); in qib_user_sdma_init_payload() 810 unsigned long niov, in qib_user_sdma_queue_pkts() argument 825 while (idx < niov && npkts < *maxpkts) { in qib_user_sdma_queue_pkts() 880 while (pktnwc < pktnw && idx < niov) { in qib_user_sdma_queue_pkts()
|
/drivers/target/iscsi/ |
D | iscsi_target.c | 515 u32 niov = 0, tx_size = ISCSI_HDR_LEN; in iscsit_xmit_nondatain_pdu() local 519 iov[niov].iov_base = cmd->pdu; in iscsit_xmit_nondatain_pdu() 520 iov[niov++].iov_len = ISCSI_HDR_LEN; in iscsit_xmit_nondatain_pdu() 539 iov[niov].iov_base = (void *)data_buf; in iscsit_xmit_nondatain_pdu() 540 iov[niov++].iov_len = data_buf_len; in iscsit_xmit_nondatain_pdu() 544 iov[niov].iov_base = &cmd->pad_bytes; in iscsit_xmit_nondatain_pdu() 545 iov[niov++].iov_len = padding; in iscsit_xmit_nondatain_pdu() 558 iov[niov].iov_base = &cmd->data_crc; in iscsit_xmit_nondatain_pdu() 559 iov[niov++].iov_len = ISCSI_CRC_LEN; in iscsit_xmit_nondatain_pdu() 567 cmd->iov_misc_count = niov; in iscsit_xmit_nondatain_pdu() [all …]
|
/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd_cb.c | 654 unsigned int niov, const struct kvec *iov, int offset, int nob) in kiblnd_setup_rd_iov() argument 664 LASSERT(niov > 0); in kiblnd_setup_rd_iov() 669 niov--; in kiblnd_setup_rd_iov() 671 LASSERT(niov > 0); in kiblnd_setup_rd_iov() 676 LASSERT(niov > 0); in kiblnd_setup_rd_iov() 701 niov--; in kiblnd_setup_rd_iov() 1672 unsigned int niov = lntmsg->msg_niov; in kiblnd_reply() local 1691 niov, iov, offset, nob); in kiblnd_reply() 1694 niov, kiov, offset, nob); in kiblnd_reply()
|