Home
last modified time | relevance | path

Searched refs:iter_iov (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/lib/
Diov_iter.c127 const struct iovec *iov = iter_iov(i); \
132 i->nr_segs -= iov - iter_iov(i); \
224 for (p = iter_iov(i), skip = i->iov_offset; count; p++, skip = 0) { in fault_in_iov_iter_readable()
267 for (p = iter_iov(i), skip = i->iov_offset; count; p++, skip = 0) { in fault_in_iov_iter_writeable()
632 for (iov = iter_iov(i), end = iov + i->nr_segs; iov < end; iov++) { in iov_iter_iovec_advance()
638 i->nr_segs -= iov - iter_iov(i); in iov_iter_iovec_advance()
692 const struct iovec *iov = iter_iov(i); in iov_iter_revert()
714 return min(i->count, iter_iov(i)->iov_len - i->iov_offset); in iov_iter_single_seg_count()
815 const struct iovec *iov = iter_iov(i) + k; in iov_iter_aligned_iovec()
902 const struct iovec *iov = iter_iov(i) + k; in iov_iter_alignment_iovec()
[all …]
/linux-6.6.21/include/linux/
Duio.h86 static inline const struct iovec *iter_iov(const struct iov_iter *iter) in iter_iov() function
93 #define iter_iov_addr(iter) (iter_iov(iter)->iov_base + (iter)->iov_offset)
94 #define iter_iov_len(iter) (iter_iov(iter)->iov_len - (iter)->iov_offset)
/linux-6.6.21/block/
Dblk-map.c34 memcpy(bmd->iov, iter_iov(data), sizeof(struct iovec) * data->nr_segs); in bio_alloc_map_data()
/linux-6.6.21/io_uring/
Drw.c514 iov_off = iter_iov(iter) - fast_iov; in io_req_map_rw()
Dnet.c200 size_t fast_idx = iter_iov(&kmsg->msg.msg_iter) - kmsg->fast_iov; in io_setup_async_msg()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dfile_ops.c287 const struct iovec *iov = iter_iov(from); in hfi1_write_iter()
/linux-6.6.21/fs/btrfs/
Dfile.c3731 const struct iovec *iov1 = iter_iov(iter) + seg; in check_direct_read()
3732 const struct iovec *iov2 = iter_iov(iter) + i; in check_direct_read()
/linux-6.6.21/sound/core/
Dpcm_native.c3520 const struct iovec *iov = iter_iov(to); in snd_pcm_readv()
3560 const struct iovec *iov = iter_iov(from); in snd_pcm_writev()
/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_file_ops.c2250 return qib_user_sdma_writev(rcd, pq, iter_iov(from), from->nr_segs); in qib_write_iter()
/linux-6.6.21/drivers/vhost/
Dscsi.c721 if (!iter || !iter_iov(iter)) { in vhost_scsi_calc_sgls()
/linux-6.6.21/drivers/net/
Dtun.c1490 const struct iovec *iov = iter_iov(it); in tun_napi_alloc_frags()
/linux-6.6.21/fs/fuse/
Dfile.c1360 return (unsigned long)iter_iov(ii)->iov_base + ii->iov_offset; in fuse_get_user_addr()