Home
last modified time | relevance | path

Searched refs:iov_count (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_sockmap.c142 int iov_count; member
473 int iov_count, int iov_length, in msg_alloc_iov() argument
480 iov = calloc(iov_count, sizeof(struct iovec)); in msg_alloc_iov()
484 for (i = 0; i < iov_count; i++) { in msg_alloc_iov()
488 fprintf(stderr, "iov_count %i/%i OOM\n", i, iov_count); in msg_alloc_iov()
503 msg->msg_iovlen = iov_count; in msg_alloc_iov()
551 static int msg_loop(int fd, int iov_count, int iov_length, int cnt, in msg_loop() argument
564 err = msg_alloc_iov(&msg, iov_count, iov_alloc_length, data, tx); in msg_loop()
568 err = msg_alloc_iov(&msg_peek, iov_count, iov_length, data, tx); in msg_loop()
617 total_bytes = (float)iov_count * (float)iov_length * (float)cnt; in msg_loop()
[all …]
/linux-6.1.9/drivers/target/iscsi/
Discsi_target.c577 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 …]
Discsi_target_util.c1049 u32 iov_count; in iscsit_send_tx_data() local
1057 iov_count = cmd->iov_data_count; in iscsit_send_tx_data()
1060 iov_count = cmd->iov_misc_count; in iscsit_send_tx_data()
1063 tx_sent = tx_data(conn, &iov[0], iov_count, tx_size); in iscsit_send_tx_data()
1218 int iov_count, in rx_data() argument
1228 iov_iter_kvec(&msg.msg_iter, READ, iov, iov_count, data); in rx_data()
1248 int iov_count, in tx_data() argument
1264 iov_iter_kvec(&msg.msg_iter, WRITE, iov, iov_count, data); in tx_data()
/linux-6.1.9/block/
Dblk-map.c694 bool vec, int iov_count, bool check_iter_count, int rw) in blk_rq_map_user_io() argument
703 ret = import_iovec(rw, ubuf, iov_count ? iov_count : buf_len, in blk_rq_map_user_io()
708 if (iov_count) { in blk_rq_map_user_io()
/linux-6.1.9/arch/um/drivers/
Dvector_kern.c339 int iov_count; in vector_enqueue() local
353 iov_count = prep_msg( in vector_enqueue()
358 if (iov_count < 1) in vector_enqueue()
360 mmsg_vector->msg_hdr.msg_iovlen = iov_count; in vector_enqueue()
914 int iov_count, pkt_len = 0; in writev_tx() local
917 iov_count = prep_msg(vp, skb, (struct iovec *) &iov); in writev_tx()
919 if (iov_count < 1) in writev_tx()
925 iov_count in writev_tx()
/linux-6.1.9/drivers/vhost/
Dvhost.h186 struct iovec iov[], unsigned int iov_count,
Dvhost.c2149 unsigned iov_count = *in_num + *out_num; in get_indirect() local
2173 vhost32_to_cpu(vq, desc.len), iov + iov_count, in get_indirect()
2174 iov_size - iov_count, access); in get_indirect()
2277 unsigned iov_count = *in_num + *out_num; in vhost_get_vq_desc() local
2313 vhost32_to_cpu(vq, desc.len), iov + iov_count, in vhost_get_vq_desc()
2314 iov_size - iov_count, access); in vhost_get_vq_desc()
/linux-6.1.9/drivers/scsi/
Dsg.c1724 unsigned int iov_count = hp->iovec_count; in sg_start_req() local
1769 dxfer_dir != SG_DXFER_UNKNOWN && !iov_count && in sg_start_req()
1808 GFP_ATOMIC, iov_count, iov_count, 1, rw); in sg_start_req()