[go: nahoru, domu]

Searched refs:iov_len (Results 1 - 25 of 52) sorted by relevance

123

/drivers/usb/usbip/
H A Dvhci_tx.c92 iov[0].iov_len = sizeof(pdu_header);
98 iov[1].iov_len = urb->transfer_buffer_length;
114 iov[2].iov_len = len;
184 iov[0].iov_len = sizeof(pdu_header);
H A Dstub_tx.c198 iov[iovnum].iov_len = sizeof(pdu_header);
207 iov[iovnum].iov_len = urb->actual_length;
225 iov[iovnum].iov_len =
256 iov[iovnum].iov_len = len;
333 iov[0].iov_len = sizeof(pdu_header);
/drivers/hv/
H A Dchannel.c608 bufferlist[0].iov_len = sizeof(struct vmpacket_descriptor);
610 bufferlist[1].iov_len = bufferlen;
612 bufferlist[2].iov_len = (packetlen_aligned - packetlen);
671 bufferlist[0].iov_len = descsize;
673 bufferlist[1].iov_len = bufferlen;
675 bufferlist[2].iov_len = (packetlen_aligned - packetlen);
734 bufferlist[0].iov_len = descsize;
736 bufferlist[1].iov_len = bufferlen;
738 bufferlist[2].iov_len = (packetlen_aligned - packetlen);
H A Dring_buffer.c409 totalbytes_towrite += kv_list[i].iov_len;
437 kv_list[i].iov_len);
/drivers/staging/lustre/lnet/klnds/socklnd/
H A Dsocklnd_lib-linux.c107 nob += scratchiov[i].iov_len;
172 nob += scratchiov[i].iov_len = kiov[i].kiov_len;
230 nob += scratchiov[i].iov_len;
248 fragnob = iov[i].iov_len;
301 iov->iov_len = nob;
339 nob = scratchiov[0].iov_len;
344 nob += scratchiov[i].iov_len = kiov[i].kiov_len;
400 tx->tx_iov[0].iov_len);
414 tx->tx_iov[i].iov_len);
H A Dsocklnd_proto.c722 tx->tx_iov[0].iov_len = sizeof(lnet_hdr_t);
736 tx->tx_iov[0].iov_len = sizeof(ksock_msg_t);
741 tx->tx_iov[0].iov_len = offsetof(ksock_msg_t, ksm_u.lnetmsg.ksnm_hdr);
H A Dsocklnd_cb.c133 if (nob < (int) iov->iov_len) {
135 iov->iov_len -= nob;
139 nob -= iov->iov_len;
282 if (nob < (int)iov->iov_len) {
283 iov->iov_len -= nob;
288 nob -= iov->iov_len;
1059 conn->ksnc_rx_iov[0].iov_len = offsetof(ksock_msg_t, ksm_u);
1070 conn->ksnc_rx_iov[0].iov_len = sizeof (lnet_hdr_t);
1097 conn->ksnc_rx_iov[niov].iov_len = nob;
1222 conn->ksnc_rx_iov[0].iov_len
[all...]
/drivers/target/iscsi/
H A Discsi_target.c759 iov[i].iov_len = cur_len;
1417 iov[iov_count++].iov_len = padding;
1424 iov[iov_count++].iov_len = ISCSI_CRC_LEN;
1675 iov[niov++].iov_len = payload_length;
1682 iov[niov++].iov_len = padding;
1687 iov[niov++].iov_len = ISCSI_CRC_LEN;
2091 iov[niov++].iov_len = payload_length;
2096 iov[niov++].iov_len = padding;
2103 iov[niov++].iov_len = ISCSI_CRC_LEN;
2430 iov[iov_count++].iov_len
[all...]
H A Discsi_target_util.c1202 iov.iov_len = tx_hdr_size;
1329 int data = count->data_length, rx_loop = 0, total_rx = 0, iov_len; local
1339 iov_len = count->iov_count;
1342 rx_loop = kernel_recvmsg(conn->sock, &msg, iov_p, iov_len,
1361 int data = count->data_length, total_tx = 0, tx_loop = 0, iov_len; local
1376 iov_len = count->iov_count;
1379 tx_loop = kernel_sendmsg(conn->sock, &msg, iov_p, iov_len,
H A Discsi_target_erl1.c72 iov.iov_len = size;
89 iov.iov_len = padding;
102 iov.iov_len = ISCSI_CRC_LEN;
/drivers/staging/lustre/lnet/lnet/
H A Dlib-md.c118 if (lmd->md_iov.iov[i].iov_len <= 0)
121 total_length += lmd->md_iov.iov[i].iov_len;
155 lmd->md_iov.iov[0].iov_len = umd->length;
H A Dlib-move.c166 nob += (iov++)->iov_len;
185 while (doffset >= diov->iov_len) {
186 doffset -= diov->iov_len;
194 while (soffset >= siov->iov_len) {
195 soffset -= siov->iov_len;
204 this_nob = MIN(diov->iov_len - doffset,
205 siov->iov_len - soffset);
212 if (diov->iov_len > doffset + this_nob) {
220 if (siov->iov_len > soffset + this_nob) {
246 while (offset >= src->iov_len) { /* ski
[all...]
/drivers/vhost/
H A Dvringh.c80 partlen = min(iov->iov[iov->i].iov_len, len);
88 iov->iov[iov->i].iov_len -= partlen;
91 if (!iov->iov[iov->i].iov_len) {
93 iov->iov[iov->i].iov_len = iov->consumed;
353 iov->iov[iov->used].iov_len = len;
654 BUILD_BUG_ON(offsetof(struct iovec, iov_len) !=
655 offsetof(struct kvec, iov_len));
658 BUILD_BUG_ON(sizeof(((struct iovec *)NULL)->iov_len)
659 != sizeof(((struct kvec *)NULL)->iov_len));
H A Dnet.c245 size = min(from->iov_len, len);
247 to->iov_len = size;
248 from->iov_len -= size;
265 size = min(from->iov_len, len);
267 to->iov_len = size;
H A Dscsi.c224 return (PAGE_ALIGN((unsigned long)iov->iov_base + iov->iov_len) -
631 if ((vq->iov[out].iov_len != sizeof(struct virtio_scsi_event))) {
633 vq->iov[out].iov_len);
787 size_t len = iov->iov_len;
1036 if (unlikely(vq->iov[out].iov_len !=
1039 " bytes\n", vq->iov[out].iov_len);
1057 if (unlikely(vq->iov[0].iov_len < req_size)) {
1059 req_size, vq->iov[0].iov_len);
1111 tmp += vq->iov[data_first + i].iov_len;
1132 exp_data_len += vq->iov[data_first + i].iov_len;
[all...]
/drivers/xen/xenbus/
H A Dxenbus_xs.c282 msg.len += iovec[i].iov_len;
293 err = xb_write(iovec[i].iov_base, iovec[i].iov_len);
331 iovec.iov_len = strlen(string) + 1;
459 iovec[0].iov_len = strlen(path) + 1;
461 iovec[1].iov_len = strlen(string);
625 iov[0].iov_len = strlen(path) + 1;
627 iov[1].iov_len = strlen(token) + 1;
638 iov[0].iov_len = strlen(path) + 1;
640 iov[1].iov_len = strlen(token) + 1;
/drivers/misc/mic/host/
H A Dmic_virtio.c198 total += iov->iov[i].iov_len;
217 partlen = min(iov->iov[iov->i].iov_len, len);
221 iov->iov[iov->i].iov_len,
226 iov->iov[iov->i].iov_len,
237 iov->iov[iov->i].iov_len -= partlen;
239 if (!iov->iov[iov->i].iov_len) {
241 iov->iov[iov->i].iov_len = iov->consumed;
291 len = iov.iov_len;
/drivers/infiniband/hw/ipath/
H A Dipath_user_sdma.c198 iov[i].iov_base, iov[i].iov_len);
204 mpage += iov[i].iov_len;
205 len += iov[i].iov_len;
232 const unsigned long len = iov->iov_len;
335 addr, iov[idx].iov_len,
420 len = iov[idx].iov_len;
482 const size_t slen = iov[idx].iov_len;
/drivers/infiniband/hw/qib/
H A Dqib_user_sdma.c584 iov[i].iov_base, iov[i].iov_len);
590 mpage += iov[i].iov_len;
591 len += iov[i].iov_len;
611 const unsigned long len = iov->iov_len;
732 iov[idx].iov_len, npages);
835 len = iov[idx].iov_len;
880 const size_t slen = iov[idx].iov_len;
924 tidsmsize = iov[idx].iov_len;
H A Dqib_common.h490 __u64 iov_len; member in struct:qib_iovec
/drivers/mtd/
H A Dmtdconcat.c170 total_len += vecs[i].iov_len;
199 if (size <= vecs_copy[entry_high].iov_len)
201 size -= vecs_copy[entry_high++].iov_len;
204 old_iov_len = vecs_copy[entry_high].iov_len;
205 vecs_copy[entry_high].iov_len = size;
210 vecs_copy[entry_high].iov_len = old_iov_len - size;
H A Dmtdcore.c1094 if (!vecs[i].iov_len)
1096 ret = mtd_write(mtd, to, vecs[i].iov_len, &thislen,
1099 if (ret || thislen != vecs[i].iov_len)
1101 to += vecs[i].iov_len;
/drivers/mtd/lpddr/
H A Dlpddr_cmds.c427 if (n > vec->iov_len - vec_seek)
428 n = vec->iov_len - vec_seek;
447 if (vec_seek == vec->iov_len) {
625 vec.iov_len = len;
643 len += vecs[i].iov_len;
/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-tcpip.c267 .iov_len = nob
329 .iov_len = nob
/drivers/media/dvb-core/
H A Ddvb_net.c82 c = crc32_be( c, iov[j].iov_base, iov[j].iov_len );
634 hexdump( iov[0].iov_base, iov[0].iov_len );
635 hexdump( iov[1].iov_base, iov[1].iov_len );
636 hexdump( iov[2].iov_base, iov[2].iov_len );

Completed in 426 milliseconds

123