Home
last modified time | relevance | path

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

/drivers/infiniband/hw/qib/
Dqib_user_sdma.c561 unsigned long niov) in qib_user_sdma_coalesce() argument
577 for (i = 0; i < niov; i++) { in qib_user_sdma_coalesce()
719 unsigned long niov) in qib_user_sdma_pin_pkt() argument
724 for (idx = 0; idx < niov; idx++) { in qib_user_sdma_pin_pkt()
761 unsigned long niov, int npages) in qib_user_sdma_init_payload() argument
767 ret = qib_user_sdma_coalesce(dd, pq, pkt, iov, niov); in qib_user_sdma_init_payload()
769 ret = qib_user_sdma_pin_pkt(dd, pq, pkt, iov, niov); in qib_user_sdma_init_payload()
806 unsigned long niov, in qib_user_sdma_queue_pkts() argument
821 while (idx < niov && npkts < *maxpkts) { in qib_user_sdma_queue_pkts()
876 while (pktnwc < pktnw && idx < niov) { in qib_user_sdma_queue_pkts()
/drivers/target/iscsi/
Discsi_target.c504 u32 niov = 0, tx_size = ISCSI_HDR_LEN; in iscsit_xmit_nondatain_pdu() local
508 iov[niov].iov_base = cmd->pdu; in iscsit_xmit_nondatain_pdu()
509 iov[niov++].iov_len = ISCSI_HDR_LEN; in iscsit_xmit_nondatain_pdu()
528 iov[niov].iov_base = (void *)data_buf; in iscsit_xmit_nondatain_pdu()
529 iov[niov++].iov_len = data_buf_len; in iscsit_xmit_nondatain_pdu()
533 iov[niov].iov_base = &cmd->pad_bytes; in iscsit_xmit_nondatain_pdu()
534 iov[niov++].iov_len = padding; in iscsit_xmit_nondatain_pdu()
546 iov[niov].iov_base = &cmd->data_crc; in iscsit_xmit_nondatain_pdu()
547 iov[niov++].iov_len = ISCSI_CRC_LEN; in iscsit_xmit_nondatain_pdu()
555 cmd->iov_misc_count = niov; in iscsit_xmit_nondatain_pdu()
[all …]