/openbmc/linux/fs/exfat/ |
H A 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()
|
H A 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()
|
/openbmc/linux/fs/ceph/ |
H A 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()
|
/openbmc/linux/fs/ecryptfs/ |
H A 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()
|
/openbmc/linux/fs/ntfs/ |
H A 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()
|
H A 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()
|
H A 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() 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() 2483 cpu_to_sle64(i_size_read(vol->mft_ino)); in ntfs_mft_record_alloc() [all …]
|
/openbmc/linux/fs/zonefs/ |
H A 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()
|
/openbmc/linux/fs/ocfs2/ |
H A D | aops.c | 231 size = i_size_read(inode); in ocfs2_read_inline_data() 317 if (start >= i_size_read(inode)) { in ocfs2_read_folio() 377 if (readahead_pos(rac) >= i_size_read(inode)) in ocfs2_readahead() 578 if (i_size_read(inode) > offset) in ocfs2_should_read_blk() 1618 if (newsize <= i_size_read(inode)) in ocfs2_expand_nonsparse_inode() 1639 if (pos > i_size_read(inode)) in ocfs2_zero_tail() 1721 (long long)i_size_read(inode), in ocfs2_write_begin_nolock() 2044 if (pos > i_size_read(inode)) { in ocfs2_write_end_nolock() 2315 end <= i_size_read(inode) && in ocfs2_dio_end_io_write() 2331 end = end > i_size_read(inode) ? end : 0; in ocfs2_dio_end_io_write() [all …]
|
H A D | file.c | 458 i_size_read(inode), in ocfs2_truncate_file() 489 i_size_read(inode), 1); in ocfs2_truncate_file() 608 (unsigned long long)i_size_read(inode), in ocfs2_extend_allocation() 975 (unsigned long long)i_size_read(inode)); in ocfs2_zero_extend() 1060 if (i_size_read(inode) == new_i_size) in ocfs2_extend_file() 1062 BUG_ON(new_i_size < i_size_read(inode)); in ocfs2_extend_file() 1580 loff_t isize = i_size_read(inode); in ocfs2_zero_partial_clusters() 1968 sr->l_start += i_size_read(inode); in __ocfs2_change_file_space() 2023 orig_isize = i_size_read(inode); in __ocfs2_change_file_space() 2367 i_size_read(inode) ? 1 : 0); in ocfs2_file_write_iter() [all …]
|
H A 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()
|
H A D | dir.c | 1371 i_size_read(dir)); in ocfs2_delete_entry_id() 1633 size = i_size_read(dir); in __ocfs2_add_entry() 1762 while (ctx->pos < i_size_read(inode)) { in ocfs2_dir_foreach_blk_id() 1790 ctx->pos = i_size_read(inode); in ocfs2_dir_foreach_blk_id() 1878 while (ctx->pos < i_size_read(inode) in ocfs2_dir_foreach_blk_el() 2695 limit = de_buf + i_size_read(dir); in ocfs2_new_dx_should_be_inline() 3217 dir_i_size = i_size_read(dir); in ocfs2_extend_dir() 3224 dir_i_size = i_size_read(dir); in ocfs2_extend_dir() 3369 limit = de_buf + i_size_read(dir); in ocfs2_find_dir_space_id() 3376 i_size_read(dir), offset)) { in ocfs2_find_dir_space_id() [all …]
|
H A 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() 978 i_size_read(lqinode) + 2 * sb->s_blocksize, in ocfs2_local_quota_add_chunk() 979 i_size_read(lqinode)); in ocfs2_local_quota_add_chunk() 985 i_size_read(lqinode) + 2 * sb->s_blocksize); in ocfs2_local_quota_add_chunk() 1121 i_size_read(lqinode) + sb->s_blocksize, in ocfs2_extend_local_quota_file() 1122 i_size_read(lqinode)); in ocfs2_extend_local_quota_file() 1128 i_size_read(lqinode) + sb->s_blocksize); in ocfs2_extend_local_quota_file()
|
H A 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()
|
/openbmc/linux/fs/squashfs/ |
H A 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() 548 loff_t file_end = i_size_read(inode) >> msblk->block_log; in squashfs_readahead() 565 (i_size_read(inode) & (msblk->block_size - 1)) : in squashfs_readahead() 574 if (readahead_pos(ractl) >= i_size_read(inode)) in squashfs_readahead()
|
/openbmc/linux/fs/iomap/ |
H A 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()
|
/openbmc/linux/fs/xfs/ |
H A 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 …]
|
/openbmc/linux/fs/ |
H A 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()
|
H A D | stack.c | 22 i_size = i_size_read(src); in fsstack_copy_inode_size()
|
/openbmc/linux/fs/9p/ |
H A 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()
|
/openbmc/linux/fs/smb/client/ |
H A D | fscache.c | 144 i_size_read(&cifsi->netfs.inode)); in cifs_fscache_get_inode_cookie() 153 loff_t i_size = i_size_read(inode); in cifs_fscache_unuse_inode_cookie() 217 ret = cres.ops->prepare_write(&cres, &start, &len, i_size_read(inode), in fscache_fallback_write_pages()
|
/openbmc/linux/fs/ext2/ |
H A 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()
|
/openbmc/linux/fs/minix/ |
H A D | file.c | 36 attr->ia_size != i_size_read(inode)) { in minix_setattr()
|
/openbmc/linux/fs/sysv/ |
H A D | file.c | 43 attr->ia_size != i_size_read(inode)) { in sysv_setattr()
|
/openbmc/linux/fs/nfs/ |
H A 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()
|