Searched refs:iov_iter_truncate (Results 1 – 21 of 21) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/display/ |
D | drm_dp_aux_dev.c | 155 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/ |
D | uio.h | 307 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/ |
D | xattr.c | 45 iov_iter_truncate(&to, attr_size); in v9fs_fid_xattr_get()
|
/linux-6.6.21/fs/zonefs/ |
D | file.c | 442 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/ |
D | fops.c | 671 iov_iter_truncate(from, size); in blkdev_write_iter() 707 iov_iter_truncate(to, size); in blkdev_read_iter()
|
D | blk-map.c | 719 iov_iter_truncate(&iter, buf_len); in blk_rq_map_user_io()
|
/linux-6.6.21/fs/iomap/ |
D | direct-io.c | 331 iov_iter_truncate(dio->submit.iter, length); in iomap_dio_bio_iter()
|
/linux-6.6.21/fs/ext4/ |
D | file.c | 265 iov_iter_truncate(from, sbi->s_bitmap_maxbytes - iocb->ki_pos); in ext4_generic_write_checks()
|
/linux-6.6.21/fs/ntfs/ |
D | file.c | 402 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/ |
D | vmcore.c | 327 iov_iter_truncate(iter, vmcore_size - *fpos); in __read_vmcore()
|
/linux-6.6.21/fs/ceph/ |
D | file.c | 133 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/ |
D | file.c | 2475 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()
|
D | connect.c | 789 iov_iter_truncate(&smb_msg.msg_iter, to_read); in cifs_read_iter_from_socket()
|
D | smb2pdu.c | 4368 iov_iter_truncate(&rqst.rq_iter, rdata->got_bytes); in smb2_readv_callback()
|
D | smb2ops.c | 4899 iov_iter_truncate(&iter, dw->len); in receive_encrypted_read()
|
/linux-6.6.21/fs/ |
D | read_write.c | 1694 iov_iter_truncate(from, count); in generic_write_checks()
|
/linux-6.6.21/net/ceph/ |
D | messenger.c | 979 iov_iter_truncate(&cursor->iov_iter, length); in ceph_msg_data_iter_cursor_init()
|
D | messenger_v2.c | 3791 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/ |
D | scsi.c | 1169 iov_iter_truncate(&prot_iter, prot_bytes); in vhost_scsi_handle_vq()
|
/linux-6.6.21/mm/ |
D | filemap.c | 2635 iov_iter_truncate(iter, inode->i_sb->s_maxbytes); in filemap_read()
|
/linux-6.6.21/fs/fuse/ |
D | file.c | 2923 iov_iter_truncate(iter, fuse_round_up(ff->fm->fc, i_size - offset)); in fuse_direct_IO()
|