Lines Matching refs:i_size_read

110 			folio_pos(folio) > i_size_read(inode) ||  in f2fs_vm_page_mkwrite()
147 i_size_read(inode)) { in f2fs_vm_page_mkwrite()
150 offset = i_size_read(inode) & ~PAGE_MASK; in f2fs_vm_page_mkwrite()
444 isize = i_size_read(inode); in f2fs_seek_block()
524 maxbytes, i_size_read(inode)); in f2fs_llseek()
574 truncate_setsize(inode, i_size_read(inode)); in finish_preallocate_blocks()
847 err = f2fs_truncate_blocks(inode, i_size_read(inode), true); in f2fs_truncate()
1041 loff_t old_size = i_size_read(inode); in f2fs_setattr()
1078 fi->last_disk_size = i_size_read(inode); in f2fs_setattr()
1453 pgoff_t nrpages = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in f2fs_do_collapse()
1480 if (offset + len >= i_size_read(inode)) in f2fs_collapse_range()
1505 new_size = i_size_read(inode) - len; in f2fs_collapse_range()
1569 loff_t new_size = i_size_read(inode); in f2fs_zero_range()
1662 if (new_size > i_size_read(inode)) { in f2fs_zero_range()
1679 new_size = i_size_read(inode) + len; in f2fs_insert_range()
1684 if (offset >= i_size_read(inode)) in f2fs_insert_range()
1698 ret = f2fs_truncate_blocks(inode, i_size_read(inode), true); in f2fs_insert_range()
1711 idx = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in f2fs_insert_range()
1843 if (new_size > i_size_read(inode)) { in f2fs_expand_inode_data()
2210 isize = i_size_read(inode); in f2fs_ioc_start_atomic_write()
2711 DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE)); in f2fs_defragment_range()
3411 end = F2FS_BLK_ALIGN(i_size_read(inode)); in f2fs_precache_extents()
3677 last_idx = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in f2fs_release_compress_blocks()
3855 last_idx = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in f2fs_reserve_compress_blocks()
4284 last_idx = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in f2fs_ioc_decompress_file()
4364 last_idx = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in f2fs_ioc_compress_file()
4739 if (dio && i_size_read(inode) && in f2fs_preallocate_blocks()
4740 (F2FS_BYTES_TO_BLK(pos) < F2FS_BLK_ALIGN(i_size_read(inode)))) in f2fs_preallocate_blocks()
5032 if (preallocated && i_size_read(inode) < target_size) { in f2fs_file_write_iter()