Searched refs:niov (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/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()
|
/Linux-v4.19/drivers/target/iscsi/ |
D | iscsi_target.c | 514 u32 niov = 0, tx_size = ISCSI_HDR_LEN; in iscsit_xmit_nondatain_pdu() local 518 iov[niov].iov_base = cmd->pdu; in iscsit_xmit_nondatain_pdu() 519 iov[niov++].iov_len = ISCSI_HDR_LEN; in iscsit_xmit_nondatain_pdu() 538 iov[niov].iov_base = (void *)data_buf; in iscsit_xmit_nondatain_pdu() 539 iov[niov++].iov_len = data_buf_len; in iscsit_xmit_nondatain_pdu() 543 iov[niov].iov_base = &cmd->pad_bytes; in iscsit_xmit_nondatain_pdu() 544 iov[niov++].iov_len = padding; in iscsit_xmit_nondatain_pdu() 556 iov[niov].iov_base = &cmd->data_crc; in iscsit_xmit_nondatain_pdu() 557 iov[niov++].iov_len = ISCSI_CRC_LEN; in iscsit_xmit_nondatain_pdu() 565 cmd->iov_misc_count = niov; in iscsit_xmit_nondatain_pdu() [all …]
|