/linux-4.19.296/fs/xfs/ |
D | xfs_file.c | 187 trace_xfs_file_direct_read(ip, count, iocb->ki_pos); in xfs_file_dio_aio_read() 210 trace_xfs_file_dax_read(ip, count, iocb->ki_pos); in xfs_file_dax_read() 237 trace_xfs_file_buffered_read(ip, iov_iter_count(to), iocb->ki_pos); in xfs_file_buffered_aio_read() 334 if (iocb->ki_pos > isize) { in xfs_file_aio_write_checks() 356 trace_xfs_zero_eof(ip, isize, iocb->ki_pos - isize); in xfs_file_aio_write_checks() 357 error = iomap_zero_range(inode, isize, iocb->ki_pos - isize, in xfs_file_aio_write_checks() 394 loff_t offset = iocb->ki_pos; in xfs_dio_write_end_io() 492 if ((iocb->ki_pos | count) & target->bt_logical_sectormask) in xfs_file_dio_aio_write() 502 if ((iocb->ki_pos & mp->m_blockmask) || in xfs_file_dio_aio_write() 503 ((iocb->ki_pos + count) & mp->m_blockmask)) { in xfs_file_dio_aio_write() [all …]
|
/linux-4.19.296/fs/ceph/ |
D | file.c | 644 u64 off = iocb->ki_pos; in ceph_sync_read() 709 if (off > iocb->ki_pos) { in ceph_sync_read() 710 ret = off - iocb->ki_pos; in ceph_sync_read() 711 iocb->ki_pos = off; in ceph_sync_read() 756 loff_t endoff = aio_req->iocb->ki_pos + aio_req->total_len; in ceph_aio_complete() 821 loff_t endoff = aio_req->iocb->ki_pos + rc; in ceph_aio_complete_req() 931 loff_t pos = iocb->ki_pos; in ceph_direct_read_write() 995 if (pos == iocb->ki_pos && !is_sync_kiocb(iocb) && in ceph_direct_read_write() 1106 if (ret != -EOLDSNAPC && pos > iocb->ki_pos) { in ceph_direct_read_write() 1107 ret = pos - iocb->ki_pos; in ceph_direct_read_write() [all …]
|
/linux-4.19.296/fs/9p/ |
D | vfs_file.c | 404 iov_iter_count(to), iocb->ki_pos); in v9fs_file_read_iter() 406 ret = p9_client_read(fid, iocb->ki_pos, to, &err); in v9fs_file_read_iter() 410 iocb->ki_pos += ret; in v9fs_file_read_iter() 434 origin = iocb->ki_pos; in v9fs_file_write_iter() 435 retval = p9_client_write(file->private_data, iocb->ki_pos, from, &err); in v9fs_file_write_iter() 445 iocb->ki_pos += retval; in v9fs_file_write_iter() 447 if (iocb->ki_pos > i_size) { in v9fs_file_write_iter() 448 inode_add_bytes(inode, iocb->ki_pos - i_size); in v9fs_file_write_iter() 453 v9fs_i_size_write(inode, iocb->ki_pos); in v9fs_file_write_iter()
|
D | vfs_addr.c | 253 loff_t pos = iocb->ki_pos; in v9fs_direct_IO()
|
/linux-4.19.296/fs/ext4/ |
D | file.c | 180 if (iocb->ki_pos >= sbi->s_bitmap_maxbytes) in ext4_write_checks() 182 iov_iter_truncate(from, sbi->s_bitmap_maxbytes - iocb->ki_pos); in ext4_write_checks() 255 ext4_unaligned_aio(inode, from, iocb->ki_pos)) { in ext4_file_write_iter() 263 if (ext4_overwrite_io(inode, iocb->ki_pos, iov_iter_count(from))) { in ext4_file_write_iter()
|
/linux-4.19.296/fs/ext2/ |
D | file.c | 67 if (ret > 0 && iocb->ki_pos > i_size_read(inode)) { in ext2_dax_write_iter() 68 i_size_write(inode, iocb->ki_pos); in ext2_dax_write_iter()
|
/linux-4.19.296/fs/nfs/ |
D | file.c | 164 iov_iter_count(to), (unsigned long) iocb->ki_pos); in nfs_file_read() 612 file, iov_iter_count(from), (long long) iocb->ki_pos); in nfs_file_write() 624 if (iocb->ki_pos > i_size_read(inode)) in nfs_file_write() 631 result = generic_perform_write(file, from, iocb->ki_pos); in nfs_file_write() 639 iocb->ki_pos += written; in nfs_file_write()
|
D | direct.c | 585 file, count, (long long) iocb->ki_pos); in nfs_file_direct_read() 600 dreq->io_start = iocb->ki_pos; in nfs_file_direct_read() 619 requested = nfs_direct_read_schedule_iovec(dreq, iter, iocb->ki_pos); in nfs_file_direct_read() 628 iocb->ki_pos += result; in nfs_file_direct_read() 1008 file, iov_iter_count(iter), (long long) iocb->ki_pos); in nfs_file_direct_write() 1020 pos = iocb->ki_pos; in nfs_file_direct_write() 1065 iocb->ki_pos = pos + result; in nfs_file_direct_write()
|
/linux-4.19.296/fs/orangefs/ |
D | file.c | 398 loff_t pos = iocb->ki_pos; in orangefs_file_read_iter() 408 iocb->ki_pos = pos; in orangefs_file_read_iter() 451 pos = iocb->ki_pos; in orangefs_file_write_iter() 463 iocb->ki_pos = pos; in orangefs_file_write_iter()
|
/linux-4.19.296/fs/coda/ |
D | file.c | 45 return vfs_iter_read(cfi->cfi_container, to, &iocb->ki_pos, 0); in coda_file_read_iter() 62 ret = vfs_iter_write(cfi->cfi_container, to, &iocb->ki_pos, 0); in coda_file_write_iter()
|
/linux-4.19.296/fs/gfs2/ |
D | file.c | 723 loff_t offset = iocb->ki_pos; in gfs2_file_direct_write() 789 gfs2_size_hint(file, iocb->ki_pos, iov_iter_count(from)); in gfs2_file_write_iter() 838 iocb->ki_pos += buffered; in gfs2_file_write_iter() 841 (iocb->ki_pos - buffered) >> PAGE_SHIFT, in gfs2_file_write_iter() 842 (iocb->ki_pos - 1) >> PAGE_SHIFT); in gfs2_file_write_iter() 850 iocb->ki_pos += ret; in gfs2_file_write_iter()
|
/linux-4.19.296/fs/ |
D | block_dev.c | 208 loff_t pos = iocb->ki_pos; in __blkdev_direct_IO_simple() 309 iocb->ki_pos += ret; in blkdev_bio_end_io() 346 loff_t pos = iocb->ki_pos; in __blkdev_direct_IO() 1931 if (iocb->ki_pos >= size) in blkdev_write_iter() 1937 size -= iocb->ki_pos; in blkdev_write_iter() 1958 loff_t pos = iocb->ki_pos; in blkdev_read_iter()
|
D | direct-io.c | 257 loff_t offset = dio->iocb->ki_pos; in dio_complete() 326 dio->iocb->ki_pos += transferred; in dio_complete() 1183 loff_t offset = iocb->ki_pos; in do_blockdev_direct_IO()
|
D | read_write.c | 403 kiocb.ki_pos = *ppos; in new_sync_read() 408 *ppos = kiocb.ki_pos; in new_sync_read() 471 kiocb.ki_pos = *ppos; in new_sync_write() 477 *ppos = kiocb.ki_pos; in new_sync_write() 676 kiocb.ki_pos = *ppos; in do_iter_readv_writev() 683 *ppos = kiocb.ki_pos; in do_iter_readv_writev()
|
D | iomap.c | 891 loff_t pos = iocb->ki_pos, ret = 0, written = 0; in iomap_file_buffered_write() 1485 loff_t offset = iocb->ki_pos; in iomap_dio_complete() 1502 iocb->ki_pos += ret; in iomap_dio_complete() 1821 loff_t pos = iocb->ki_pos, start = pos; in iomap_dio_rw() 1822 loff_t end = iocb->ki_pos + count - 1, ret = 0; in iomap_dio_rw()
|
D | aio.c | 1448 req->ki_pos = iocb->aio_offset; in aio_prep_rw() 1537 ret = rw_verify_area(READ, file, &req->ki_pos, iov_iter_count(&iter)); in aio_read() 1565 ret = rw_verify_area(WRITE, file, &req->ki_pos, iov_iter_count(&iter)); in aio_write()
|
/linux-4.19.296/fs/ocfs2/ |
D | file.c | 2379 int append_write = ((iocb->ki_pos + count) >= in ocfs2_file_write_iter() 2450 ret = ocfs2_prepare_inode_for_write(file, iocb->ki_pos, count, !nowait); in ocfs2_file_write_iter() 2458 ocfs2_is_io_unaligned(inode, count, iocb->ki_pos)) { in ocfs2_file_write_iter() 2491 iocb->ki_pos - written, in ocfs2_file_write_iter() 2492 iocb->ki_pos - 1); in ocfs2_file_write_iter() 2504 iocb->ki_pos - written, in ocfs2_file_write_iter() 2505 iocb->ki_pos - 1); in ocfs2_file_write_iter()
|
/linux-4.19.296/fs/overlayfs/ |
D | file.c | 248 ret = vfs_iter_read(real.file, iter, &iocb->ki_pos, in ovl_read_iter() 283 ret = vfs_iter_write(real.file, iter, &iocb->ki_pos, in ovl_write_iter()
|
/linux-4.19.296/fs/udf/ |
D | file.c | 152 iocb->ki_pos + iov_iter_count(from))) { in udf_file_write_iter()
|
/linux-4.19.296/fs/fuse/ |
D | file.c | 946 (iocb->ki_pos + iov_iter_count(to) > i_size_read(inode))) { in fuse_file_read_iter() 1227 loff_t pos = iocb->ki_pos; in fuse_file_write_iter() 1251 iocb->ki_pos = pos + written_buffered; in fuse_file_write_iter() 1253 written = fuse_perform_write(iocb, mapping, from, iocb->ki_pos); in fuse_file_write_iter() 1255 iocb->ki_pos += written; in fuse_file_write_iter() 1450 return __fuse_direct_read(&io, to, &iocb->ki_pos); in fuse_direct_read_iter() 1466 res = fuse_direct_io(&io, from, &iocb->ki_pos, FUSE_DIO_WRITE); in fuse_direct_write_iter() 1469 fuse_write_update_size(inode, iocb->ki_pos); in fuse_direct_write_iter() 2886 loff_t offset = iocb->ki_pos; in fuse_direct_IO()
|
/linux-4.19.296/fs/jfs/ |
D | inode.c | 353 loff_t end = iocb->ki_pos + count; in jfs_direct_IO()
|
/linux-4.19.296/fs/hugetlbfs/ |
D | inode.c | 262 unsigned long index = iocb->ki_pos >> huge_page_shift(h); in hugetlbfs_read_iter() 263 unsigned long offset = iocb->ki_pos & ~huge_page_mask(h); in hugetlbfs_read_iter() 314 iocb->ki_pos = ((loff_t)index << huge_page_shift(h)) + offset; in hugetlbfs_read_iter()
|
/linux-4.19.296/fs/ntfs/ |
D | file.c | 346 (unsigned long long)iocb->ki_pos, in ntfs_prepare_file_for_write() 393 pos = iocb->ki_pos; in ntfs_prepare_file_for_write() 1951 written = ntfs_perform_write(file, from, iocb->ki_pos); in ntfs_file_write_iter() 1954 iocb->ki_pos += written; in ntfs_file_write_iter()
|
/linux-4.19.296/fs/cifs/ |
D | file.c | 2822 ctx->pos = iocb->ki_pos; in cifs_user_writev() 2833 rc = cifs_write_from_iter(iocb->ki_pos, ctx->len, &saved_from, in cifs_user_writev() 2873 iocb->ki_pos += total_written; in cifs_user_writev() 2898 if (!cifs_find_lock_conflict(cfile, iocb->ki_pos, iov_iter_count(from), in cifs_writev() 3359 loff_t offset = iocb->ki_pos; in cifs_user_readv() 3434 iocb->ki_pos += total_read; in cifs_user_readv() 3472 if (!cifs_find_lock_conflict(cfile, iocb->ki_pos, iov_iter_count(to), in cifs_strict_readv()
|
/linux-4.19.296/fs/btrfs/ |
D | file.c | 1589 loff_t pos = iocb->ki_pos; in btrfs_buffered_write() 1842 pos = iocb->ki_pos; in __btrfs_direct_write() 1860 iocb->ki_pos = pos + written_buffered; in __btrfs_direct_write() 1919 pos = iocb->ki_pos; in btrfs_file_write_iter() 1984 iocb->ki_pos = pos + num_written; in btrfs_file_write_iter()
|