/linux-6.6.21/fs/exfat/ |
D | file.c | 18 loff_t start = i_size_read(inode), count = size - i_size_read(inode); in exfat_cont_expand() 111 num_clusters_new = EXFAT_B_TO_CLU_ROUND_UP(i_size_read(inode), sbi); in __exfat_truncate() 116 if (i_size_read(inode) > 0) { in __exfat_truncate() 212 inode->i_blocks = round_up(i_size_read(inode), sbi->cluster_size) >> 9; in exfat_truncate() 214 aligned_size = i_size_read(inode); in exfat_truncate() 220 if (ei->i_size_ondisk > i_size_read(inode)) in exfat_truncate() 223 if (ei->i_size_aligned > i_size_read(inode)) in exfat_truncate() 253 attr->ia_size > i_size_read(inode)) { in exfat_setattr()
|
D | inode.c | 70 on_disk_size = i_size_read(inode); in __exfat_write_inode() 281 last_block = EXFAT_B_TO_BLK_ROUND_UP(i_size_read(inode), sb); in exfat_get_block() 356 if (to > i_size_read(inode)) { in exfat_write_failed() 357 truncate_pagecache(inode, i_size_read(inode)); in exfat_write_failed() 390 if (ei->i_size_aligned < i_size_read(inode)) { in exfat_write_end() 393 i_size_read(inode), ei->i_size_aligned); in exfat_write_end() 578 inode->i_blocks = round_up(i_size_read(inode), sbi->cluster_size) >> 9; in exfat_fill_inode()
|
/linux-6.6.21/fs/ceph/ |
D | cache.c | 38 i_size_read(inode)); in ceph_fscache_register_inode_cookie() 60 loff_t i_size = i_size_read(inode); in ceph_fscache_unuse_cookie() 72 loff_t i_size = i_size_read(inode); in ceph_fscache_update() 82 &ci->i_version, i_size_read(inode), in ceph_fscache_invalidate()
|
/linux-6.6.21/fs/ecryptfs/ |
D | mmap.c | 242 if ((i_size_read(inode) / PAGE_SIZE) != page->index) in fill_zeros_to_end_of_page() 244 end_byte_in_page = i_size_read(inode) % PAGE_SIZE; in fill_zeros_to_end_of_page() 326 >= i_size_read(page->mapping->host)) { in ecryptfs_write_begin() 346 if (prev_page_end_size > i_size_read(page->mapping->host)) { in ecryptfs_write_begin() 360 if ((i_size_read(mapping->host) == prev_page_end_size) in ecryptfs_write_begin() 389 put_unaligned_be64(i_size_read(ecryptfs_inode), file_size_virt); in ecryptfs_write_inode_size_to_header() 429 put_unaligned_be64(i_size_read(ecryptfs_inode), xattr_virt); in ecryptfs_write_inode_size_to_xattr() 508 if (pos + copied > i_size_read(ecryptfs_inode)) { in ecryptfs_write_end() 512 (unsigned long long)i_size_read(ecryptfs_inode)); in ecryptfs_write_end()
|
/linux-6.6.21/fs/ntfs/ |
D | usnjrnl.c | 56 i_size_read(vol->usnjrnl_j_ino)); in ntfs_stamp_usnjrnl() 58 cpu_to_sle64(i_size_read(vol->usnjrnl_j_ino)); in ntfs_stamp_usnjrnl()
|
D | aops.c | 68 i_size = i_size_read(vi); in ntfs_end_buffer_async_read() 216 i_size = i_size_read(vi); in ntfs_read_block() 394 i_size = i_size_read(vi); in ntfs_read_folio() 481 i_size = i_size_read(vi); in ntfs_read_folio() 586 i_size = i_size_read(vi); in ntfs_write_block() 958 dblock = (i_size_read(vi) + bh_size - 1) >> bh_size_bits; in ntfs_write_mst_block() 1351 i_size = i_size_read(vi); in ntfs_writepage() 1470 i_size = i_size_read(vi); in ntfs_writepage() 1578 i_size = i_size_read(VFS_I(ni)); in ntfs_bmap()
|
D | mft.c | 56 i_size = i_size_read(mft_vi); in map_mft_record_page() 1610 old_data_size = i_size_read(mftbmp_vi); in ntfs_mft_bitmap_extend_initialized_nolock() 1668 if (i_size_read(mftbmp_vi) != old_data_size) { in ntfs_mft_bitmap_extend_initialized_nolock() 1682 (long long)i_size_read(mftbmp_vi), in ntfs_mft_bitmap_extend_initialized_nolock() 2106 i_size = i_size_read(mft_vi); in ntfs_mft_record_format() 2323 (long long)i_size_read(vol->mftbmp_ino), in ntfs_mft_record_alloc() 2340 (long long)i_size_read(vol->mftbmp_ino), in ntfs_mft_record_alloc() 2361 (long long)i_size_read(vol->mftbmp_ino), in ntfs_mft_record_alloc() 2405 (long long)i_size_read(vol->mft_ino), in ntfs_mft_record_alloc() 2420 (long long)i_size_read(vol->mft_ino), in ntfs_mft_record_alloc() [all …]
|
/linux-6.6.21/fs/ocfs2/ |
D | aops.c | 199 …mlog(ML_ERROR, "Size %llu, clusters %u\n", (unsigned long long)i_size_read(inode), OCFS2_I(inode)-… in ocfs2_get_block() 205 past_eof = ocfs2_blocks_for_bytes(inode->i_sb, i_size_read(inode)); in ocfs2_get_block() 232 size = i_size_read(inode); in ocfs2_read_inline_data() 318 if (start >= i_size_read(inode)) { in ocfs2_read_folio() 378 if (readahead_pos(rac) >= i_size_read(inode)) in ocfs2_readahead() 579 if (i_size_read(inode) > offset) in ocfs2_should_read_blk() 957 new = new | ((i_size_read(inode) <= page_offset(page)) && in ocfs2_prepare_page_for_write() 1052 last_byte = max(user_pos + user_len, i_size_read(inode)); in ocfs2_grab_pages_for_write() 1573 if (oi->ip_clusters != 0 || i_size_read(inode) != 0) in ocfs2_try_to_write_inline_data() 1619 if (newsize <= i_size_read(inode)) in ocfs2_expand_nonsparse_inode() [all …]
|
D | file.c | 452 mlog_bug_on_msg(le64_to_cpu(fe->i_size) != i_size_read(inode), in ocfs2_truncate_file() 456 i_size_read(inode), in ocfs2_truncate_file() 487 i_size_read(inode), 1); in ocfs2_truncate_file() 606 (unsigned long long)i_size_read(inode), in ocfs2_extend_allocation() 677 (unsigned long long)i_size_read(inode)); in ocfs2_extend_allocation() 823 di->i_size = cpu_to_le64((u64)i_size_read(inode)); in ocfs2_write_zero_page() 970 zero_start = ocfs2_align_bytes_to_blocks(sb, i_size_read(inode)); in ocfs2_zero_extend() 973 (unsigned long long)i_size_read(inode)); in ocfs2_zero_extend() 1058 if (i_size_read(inode) == new_i_size) in ocfs2_extend_file() 1060 BUG_ON(new_i_size < i_size_read(inode)); in ocfs2_extend_file() [all …]
|
D | move_extents.c | 770 if ((i_size_read(inode) == 0) || (range->me_len == 0)) in __ocfs2_move_extents_range() 1014 if (range.me_start > i_size_read(inode)) { in ocfs2_ioctl_move_extents() 1019 if (range.me_start + range.me_len > i_size_read(inode)) in ocfs2_ioctl_move_extents() 1020 range.me_len = i_size_read(inode) - range.me_start; in ocfs2_ioctl_move_extents() 1032 if (range.me_threshold > i_size_read(inode)) in ocfs2_ioctl_move_extents() 1033 range.me_threshold = i_size_read(inode); in ocfs2_ioctl_move_extents()
|
D | quota_local.c | 140 if (i_size_read(inode) >> inode->i_sb->s_blocksize_bits <= v_block) in ocfs2_read_quota_block() 145 (unsigned long long)i_size_read(inode)); in ocfs2_read_quota_block() 974 i_size_read(lqinode) + 2 * sb->s_blocksize, in ocfs2_local_quota_add_chunk() 975 i_size_read(lqinode)); in ocfs2_local_quota_add_chunk() 981 i_size_read(lqinode) + 2 * sb->s_blocksize); in ocfs2_local_quota_add_chunk() 1117 i_size_read(lqinode) + sb->s_blocksize, in ocfs2_extend_local_quota_file() 1118 i_size_read(lqinode)); in ocfs2_extend_local_quota_file() 1124 i_size_read(lqinode) + sb->s_blocksize); in ocfs2_extend_local_quota_file()
|
D | extent_map.c | 883 if (*offset >= i_size_read(inode)) { in ocfs2_seek_data_hole_offset() 890 *offset = i_size_read(inode); in ocfs2_seek_data_hole_offset() 896 cend = ocfs2_clusters_for_bytes(inode->i_sb, i_size_read(inode)); in ocfs2_seek_data_hole_offset() 935 if ((extoff + extlen) > i_size_read(inode)) in ocfs2_seek_data_hole_offset() 936 extlen = i_size_read(inode) - extoff; in ocfs2_seek_data_hole_offset() 970 i_size_read(inode)) { in ocfs2_read_virt_blocks()
|
D | dir.c | 409 data->id_data, i_size_read(dir), res_dir); in ocfs2_find_entry_id() 681 nblocks = i_size_read(dir) >> sb->s_blocksize_bits; in ocfs2_find_entry_el() 748 nblocks = i_size_read(dir) >> sb->s_blocksize_bits; in ocfs2_find_entry_el() 1365 i_size_read(dir)); in ocfs2_delete_entry_id() 1627 size = i_size_read(dir); in __ocfs2_add_entry() 1754 while (ctx->pos < i_size_read(inode)) { in ocfs2_dir_foreach_blk_id() 1760 for (i = 0; i < i_size_read(inode) && i < offset; ) { in ocfs2_dir_foreach_blk_id() 1781 ctx->pos = i_size_read(inode); in ocfs2_dir_foreach_blk_id() 1819 while (ctx->pos < i_size_read(inode)) { in ocfs2_dir_foreach_blk_el() 1869 while (ctx->pos < i_size_read(inode) in ocfs2_dir_foreach_blk_el() [all …]
|
/linux-6.6.21/fs/zonefs/ |
D | file.c | 43 isize = i_size_read(inode); in zonefs_read_iomap_begin() 94 isize = i_size_read(inode); in zonefs_write_iomap_begin() 134 if (WARN_ON_ONCE(offset >= i_size_read(inode))) in zonefs_write_map_blocks() 218 old_isize = i_size_read(inode); in zonefs_file_truncate() 334 loff_t isize = i_size_read(file_inode(file)); in zonefs_file_llseek() 369 if (i_size_read(inode) < iocb->ki_pos + size) { in zonefs_file_write_dio_end_io() 642 isize = i_size_read(inode); in zonefs_file_read_iter() 694 isize = i_size_read(inode); in zonefs_file_splice_read() 747 if (i_size_read(inode) < z->z_capacity) { in zonefs_seq_file_write_open()
|
/linux-6.6.21/fs/squashfs/ |
D | file.c | 232 int skip = calculate_skip(i_size_read(inode) >> msblk->block_log); in fill_meta_index() 454 int file_end = i_size_read(inode) >> msblk->block_log; in squashfs_read_folio() 456 (i_size_read(inode) & (msblk->block_size - 1)) : in squashfs_read_folio() 464 if (page->index >= ((i_size_read(inode) + PAGE_SIZE - 1) >> in squashfs_read_folio() 547 int i, file_end = i_size_read(inode) >> msblk->block_log; in squashfs_readahead() 564 (i_size_read(inode) & (msblk->block_size - 1)) : in squashfs_readahead() 573 if (readahead_pos(ractl) >= i_size_read(inode)) in squashfs_readahead()
|
/linux-6.6.21/fs/xfs/ |
D | xfs_file.c | 446 if (iocb->ki_pos <= i_size_read(inode)) in xfs_file_write_checks() 450 isize = i_size_read(inode); in xfs_file_write_checks() 558 if (offset + size <= i_size_read(inode)) in xfs_dio_write_end_io() 562 if (offset + size > i_size_read(inode)) { in xfs_dio_write_end_io() 639 size_t isize = i_size_read(VFS_I(ip)); in xfs_file_dio_write_unaligned() 745 if (ret > 0 && iocb->ki_pos > i_size_read(inode)) { in xfs_file_dax_write() 1017 if (offset + len >= i_size_read(inode)) { in xfs_file_fallocate() 1022 new_size = i_size_read(inode) - len; in xfs_file_fallocate() 1028 loff_t isize = i_size_read(inode); in xfs_file_fallocate() 1053 offset + len > i_size_read(inode)) { in xfs_file_fallocate() [all …]
|
/linux-6.6.21/fs/iomap/ |
D | seek.c | 36 loff_t size = i_size_read(inode); in iomap_seek_hole() 82 loff_t size = i_size_read(inode); in iomap_seek_data()
|
/linux-6.6.21/fs/ |
D | remap_range.c | 51 size_in = i_size_read(inode_in); in generic_remap_checks() 52 size_out = i_size_read(inode_out); in generic_remap_checks() 139 if (pos_out + *len < i_size_read(inode_out)) in generic_remap_check_len() 296 loff_t isize = i_size_read(inode_in); in __generic_remap_file_range_prep() 528 if (off + len > i_size_read(src)) in vfs_dedupe_file_range()
|
/linux-6.6.21/fs/smb/client/ |
D | fscache.c | 110 i_size_read(&cifsi->netfs.inode)); in cifs_fscache_get_inode_cookie() 119 loff_t i_size = i_size_read(inode); in cifs_fscache_unuse_inode_cookie() 183 ret = cres.ops->prepare_write(&cres, &start, &len, i_size_read(inode), in fscache_fallback_write_pages()
|
/linux-6.6.21/fs/9p/ |
D | vfs_addr.c | 147 i_size_read(&v9inode->netfs.inode), 0); in v9fs_write_to_cache_done() 156 loff_t i_size = i_size_read(inode); in v9fs_vfs_write_folio_locked() 264 loff_t i_size = i_size_read(inode); in v9fs_direct_IO()
|
/linux-6.6.21/fs/ext2/ |
D | file.c | 69 if (ret > 0 && iocb->ki_pos > i_size_read(inode)) { in ext2_dax_write_iter() 199 if (pos > i_size_read(inode)) { in ext2_dio_write_end_io() 234 if (iocb->ki_pos + iov_iter_count(from) > i_size_read(inode) || in ext2_dio_write_iter()
|
/linux-6.6.21/fs/nfs/ |
D | fscache.c | 182 i_size_read(inode)); in nfs_fscache_init_inode() 228 fscache_invalidate(cookie, &auxdata, i_size_read(inode), in nfs_fscache_open_file() 238 loff_t i_size = i_size_read(inode); in nfs_fscache_release_file()
|
/linux-6.6.21/fs/sysv/ |
D | file.c | 43 attr->ia_size != i_size_read(inode)) { in sysv_setattr()
|
/linux-6.6.21/fs/minix/ |
D | file.c | 36 attr->ia_size != i_size_read(inode)) { in minix_setattr()
|
/linux-6.6.21/fs/udf/ |
D | file.c | 52 size = i_size_read(inode); in udf_page_mkwrite() 234 attr->ia_size != i_size_read(inode)) { in udf_setattr()
|