Searched refs:iov_count (Results 1 – 5 of 5) sorted by relevance
/drivers/target/iscsi/ |
D | iscsi_target.c | 577 u32 iov_count = 0, tx_size = 0; in iscsit_xmit_datain_pdu() local 581 iov[iov_count].iov_base = cmd->pdu; in iscsit_xmit_datain_pdu() 582 iov[iov_count++].iov_len = ISCSI_HDR_LEN; in iscsit_xmit_datain_pdu() 599 iov_ret = iscsit_map_iovec(cmd, &cmd->iov_data[iov_count], in iscsit_xmit_datain_pdu() 600 cmd->orig_iov_data_count - (iov_count + 2), in iscsit_xmit_datain_pdu() 605 iov_count += iov_ret; in iscsit_xmit_datain_pdu() 610 iov[iov_count].iov_base = cmd->pad_bytes; in iscsit_xmit_datain_pdu() 611 iov[iov_count++].iov_len = cmd->padding; in iscsit_xmit_datain_pdu() 624 iov[iov_count].iov_base = &cmd->data_crc; in iscsit_xmit_datain_pdu() 625 iov[iov_count++].iov_len = ISCSI_CRC_LEN; in iscsit_xmit_datain_pdu() [all …]
|
D | iscsi_target_util.c | 1065 u32 iov_count; in iscsit_send_tx_data() local 1073 iov_count = cmd->iov_data_count; in iscsit_send_tx_data() 1076 iov_count = cmd->iov_misc_count; in iscsit_send_tx_data() 1079 tx_sent = tx_data(conn, &iov[0], iov_count, tx_size); in iscsit_send_tx_data() 1234 int iov_count, in rx_data() argument 1244 iov_iter_kvec(&msg.msg_iter, READ, iov, iov_count, data); in rx_data() 1264 int iov_count, in tx_data() argument 1280 iov_iter_kvec(&msg.msg_iter, WRITE, iov, iov_count, data); in tx_data()
|
/drivers/vhost/ |
D | vhost.c | 2146 unsigned iov_count = *in_num + *out_num; in get_indirect() local 2170 vhost32_to_cpu(vq, desc.len), iov + iov_count, in get_indirect() 2171 iov_size - iov_count, access); in get_indirect() 2274 unsigned iov_count = *in_num + *out_num; in vhost_get_vq_desc() local 2310 vhost32_to_cpu(vq, desc.len), iov + iov_count, in vhost_get_vq_desc() 2311 iov_size - iov_count, access); in vhost_get_vq_desc()
|
D | vhost.h | 193 struct iovec iov[], unsigned int iov_count,
|
/drivers/scsi/ |
D | sg.c | 1725 unsigned int iov_count = hp->iovec_count; in sg_start_req() local 1775 dxfer_dir != SG_DXFER_UNKNOWN && !iov_count && in sg_start_req() 1814 if (iov_count) { in sg_start_req() 1818 res = import_iovec(rw, hp->dxferp, iov_count, 0, &iov, &i); in sg_start_req()
|