Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/display/
Ddrm_dp_aux_dev.c155 iov_iter_truncate(to, AUX_MAX_OFFSET - pos); in auxdev_read_iter()
198 iov_iter_truncate(from, AUX_MAX_OFFSET - pos); in auxdev_write_iter()
/linux-6.6.21/include/linux/
Duio.h307 static inline void iov_iter_truncate(struct iov_iter *i, u64 count) in iov_iter_truncate() function
336 iov_iter_truncate(i, max_bytes); in iov_iter_npages_cap()
/linux-6.6.21/fs/9p/
Dxattr.c45 iov_iter_truncate(&to, attr_size); in v9fs_fid_xattr_get()
/linux-6.6.21/fs/zonefs/
Dfile.c442 iov_iter_truncate(from, count); in zonefs_write_checks()
648 iov_iter_truncate(to, isize - iocb->ki_pos); in zonefs_file_read_iter()
/linux-6.6.21/block/
Dfops.c671 iov_iter_truncate(from, size); in blkdev_write_iter()
707 iov_iter_truncate(to, size); in blkdev_read_iter()
Dblk-map.c719 iov_iter_truncate(&iter, buf_len); in blk_rq_map_user_io()
/linux-6.6.21/fs/iomap/
Ddirect-io.c331 iov_iter_truncate(dio->submit.iter, length); in iomap_dio_bio_iter()
/linux-6.6.21/fs/ext4/
Dfile.c265 iov_iter_truncate(from, sbi->s_bitmap_maxbytes - iocb->ki_pos); in ext4_generic_write_checks()
/linux-6.6.21/fs/ntfs/
Dfile.c402 iov_iter_truncate(from, ll - pos); in ntfs_prepare_file_for_write()
418 iov_iter_truncate(from, ll - pos); in ntfs_prepare_file_for_write()
/linux-6.6.21/fs/proc/
Dvmcore.c327 iov_iter_truncate(iter, vmcore_size - *fpos); in __read_vmcore()
/linux-6.6.21/fs/ceph/
Dfile.c133 iov_iter_truncate(iter, maxsize); in iter_get_bvecs_alloc()
2276 iov_iter_truncate(from, limit - pos); in ceph_write_iter()
/linux-6.6.21/fs/smb/client/
Dfile.c2475 iov_iter_truncate(&wdata2->iter, wdata2->bytes); in cifs_writev_requeue()
3456 iov_iter_truncate(&wdata->iter, cur_len); in cifs_write_from_iter()
3986 iov_iter_truncate(&rdata->iter, cur_len); in cifs_send_async_read()
Dconnect.c789 iov_iter_truncate(&smb_msg.msg_iter, to_read); in cifs_read_iter_from_socket()
Dsmb2pdu.c4368 iov_iter_truncate(&rqst.rq_iter, rdata->got_bytes); in smb2_readv_callback()
Dsmb2ops.c4899 iov_iter_truncate(&iter, dw->len); in receive_encrypted_read()
/linux-6.6.21/fs/
Dread_write.c1694 iov_iter_truncate(from, count); in generic_write_checks()
/linux-6.6.21/net/ceph/
Dmessenger.c979 iov_iter_truncate(&cursor->iov_iter, length); in ceph_msg_data_iter_cursor_init()
Dmessenger_v2.c3791 iov_iter_truncate(&con->v2.in_iter, 0); in ceph_con_v2_reset_protocol()
3792 iov_iter_truncate(&con->v2.out_iter, 0); in ceph_con_v2_reset_protocol()
/linux-6.6.21/drivers/vhost/
Dscsi.c1169 iov_iter_truncate(&prot_iter, prot_bytes); in vhost_scsi_handle_vq()
/linux-6.6.21/mm/
Dfilemap.c2635 iov_iter_truncate(iter, inode->i_sb->s_maxbytes); in filemap_read()
/linux-6.6.21/fs/fuse/
Dfile.c2923 iov_iter_truncate(iter, fuse_round_up(ff->fm->fc, i_size - offset)); in fuse_direct_IO()