Home
last modified time | relevance | path

Searched refs:iov_offset (Results 1 – 21 of 21) sorted by relevance

/linux/lib/
H A Diov_iter.c94 n -= fault_in_readable(i->ubuf + i->iov_offset, n); in fault_in_iov_iter_readable()
102 for (p = iter_iov(i), skip = i->iov_offset; count; p++, skip = 0) { in fault_in_iov_iter_readable()
137 n -= fault_in_safe_writeable(i->ubuf + i->iov_offset, n); in fault_in_iov_iter_writeable()
145 for (p = iter_iov(i), skip = i->iov_offset; count; p++, skip = 0) { in fault_in_iov_iter_writeable()
173 .iov_offset = 0, in iov_iter_init()
501 size += i->iov_offset; in iov_iter_bvec_advance()
508 i->iov_offset = size; in iov_iter_bvec_advance()
521 size += i->iov_offset; // from beginning of current segment in iov_iter_iovec_advance()
527 i->iov_offset = size; in iov_iter_iovec_advance()
546 size += i->iov_offset; /* From beginning of current segment. */ in iov_iter_folioq_advance()
[all …]
H A Dscatterlist.c1170 unsigned long start = iter->iov_offset; in extract_bvec_to_sg()
1216 unsigned long start = iter->iov_offset; in extract_kvec_to_sg()
1279 size_t offset = iter->iov_offset; in extract_folioq_to_sg()
1321 iter->iov_offset = offset; in extract_folioq_to_sg()
1339 loff_t start = iter->xarray_start + iter->iov_offset; in extract_xarray_to_sg()
H A Dkunit_iov_iter.c451 KUNIT_EXPECT_EQ(test, iter.iov_offset, pr->to % PAGE_SIZE); in iov_kunit_copy_to_folioq()
513 KUNIT_EXPECT_EQ(test, iter.iov_offset, pr->to % PAGE_SIZE); in iov_kunit_copy_from_folioq()
612 KUNIT_EXPECT_EQ(test, iter.iov_offset, size); in iov_kunit_copy_to_xarray()
670 KUNIT_EXPECT_EQ(test, iter.iov_offset, size); in iov_kunit_copy_from_xarray()
1005 KUNIT_EXPECT_EQ(test, iter.iov_offset, pr->to - pr->from); in iov_kunit_extract_pages_xarray()
/linux/include/linux/
H A Diov_iter.h30 remain = step(base + iter->iov_offset, 0, len, priv, priv2); in iterate_ubuf()
32 iter->iov_offset += progress; in iterate_ubuf()
45 size_t progress = 0, skip = iter->iov_offset; in iterate_iovec()
66 iter->iov_offset = skip; in iterate_iovec()
79 size_t progress = 0, skip = iter->iov_offset; in iterate_kvec()
100 iter->iov_offset = skip; in iterate_kvec()
113 size_t progress = 0, skip = iter->iov_offset; in iterate_bvec()
139 iter->iov_offset = skip; in iterate_bvec()
153 size_t progress = 0, skip = iter->iov_offset; in iterate_folioq()
193 iter->iov_offset = skip; in iterate_folioq()
[all …]
/linux/drivers/net/ethernet/google/gve/
H A Dgve_tx.c105 iov[0].iov_offset = fifo->head; in gve_tx_alloc_fifo()
116 iov[1].iov_offset = 0; /* Start of fifo*/ in gve_tx_alloc_fifo()
559 u64 iov_offset, u64 iov_len) in gve_dma_sync_for_device() argument
561 u64 last_page = (iov_offset + iov_len - 1) / PAGE_SIZE; in gve_dma_sync_for_device()
562 u64 first_page = iov_offset / PAGE_SIZE; in gve_dma_sync_for_device()
606 info->iov[hdr_nfrags - 1].iov_offset, skb->len); in gve_tx_add_skb_copy()
609 tx->tx_fifo.base + info->iov[hdr_nfrags - 1].iov_offset, in gve_tx_add_skb_copy()
612 info->iov[hdr_nfrags - 1].iov_offset, in gve_tx_add_skb_copy()
629 info->iov[i].iov_offset); in gve_tx_add_skb_copy()
632 tx->tx_fifo.base + info->iov[i].iov_offset, in gve_tx_add_skb_copy()
[all …]
H A Dgve.h331 u32 iov_offset; /* offset into this segment */ member
/linux/fs/netfs/
H A Diterator.c115 size_t skip = iter->iov_offset + start_offset; in netfs_limit_bvec()
156 loff_t pos = iter->xarray_start + iter->iov_offset; in netfs_limit_xarray()
215 start_offset += iter->iov_offset; in netfs_limit_folioq()
H A Dread_pgpriv2.c73 creq->buffer.iter.iov_offset = cache->submit_off; in netfs_pgpriv2_copy_folio()
86 creq->buffer.iter.iov_offset = 0; in netfs_pgpriv2_copy_folio()
H A Dwrite_issue.c840 wreq->buffer.iter.iov_offset = 0; in netfs_write_folio_single()
/linux/fs/smb/client/
H A Dcompress.c166 loff_t start = iter->xarray_start + iter->iov_offset; in collect_sample()
H A Dsmbdirect.c2439 unsigned long start = iter->iov_offset; in smb_extract_bvec_to_rdma()
2480 unsigned long start = iter->iov_offset; in smb_extract_kvec_to_rdma()
2539 size_t offset = iter->iov_offset; in smb_extract_folioq_to_rdma()
2580 iter->iov_offset = offset; in smb_extract_folioq_to_rdma()
/linux/io_uring/
H A Drsrc.c905 iter->iov_offset = offset; in io_import_fixed()
915 iter->iov_offset = offset & ((1UL << imu->folio_shift) - 1); in io_import_fixed()
H A Dnet.c1314 bi.bi_bvec_done = from->iov_offset; in io_sg_from_iter()
1333 from->iov_offset = bi.bi_bvec_done; in io_sg_from_iter()
H A Drw.c664 addr = iter->ubuf + iter->iov_offset; in loop_rw_iter()
/linux/net/9p/
H A Dtrans_virtio.c350 p = data->kvec->iov_base + data->iov_offset; in p9_get_mapped_pages()
/linux/include/trace/events/
H A Dafs.h908 __entry->offset = msg->msg_iter.xarray_start + msg->msg_iter.iov_offset;
932 __entry->offset = msg->msg_iter.xarray_start + msg->msg_iter.iov_offset;
/linux/block/
H A Dbio.c1083 bio->bi_iter.bi_bvec_done = iter->iov_offset; in bio_iov_bvec_set()
/linux/drivers/nvme/host/
H A Dtcp.c318 return req->iter.bvec->bv_offset + req->iter.iov_offset; in nvme_tcp_req_cur_offset()
368 req->iter.iov_offset = offset; in nvme_tcp_init_iter()
/linux/net/vmw_vsock/
H A Dvirtio_transport_common.c54 if (iov_iter->iov_offset) in virtio_transport_can_zcopy()
/linux/net/ceph/
H A Dmessenger_v2.c156 it->bvec->bv_len - it->iov_offset), in do_try_sendpage()
157 it->bvec->bv_offset + it->iov_offset); in do_try_sendpage()
/linux/fs/fuse/
H A Dfile.c1501 return (unsigned long)iter_iov(ii)->iov_base + ii->iov_offset; in fuse_get_user_addr()