Lines Matching refs:i_size
38 if (inode->i_size != AFFS_I(inode)->mmu_private) in affs_file_release()
386 if (to > inode->i_size) { in affs_write_failed()
387 truncate_pagecache(inode, inode->i_size); in affs_write_failed()
602 inode->i_size = AFFS_I(inode)->mmu_private = newsize; in affs_extent_file_ofs()
606 inode->i_size = AFFS_I(inode)->mmu_private = newsize; in affs_extent_file_ofs()
619 if (((page->index + 1) << PAGE_SHIFT) > inode->i_size) { in affs_readpage_ofs()
620 to = inode->i_size & ~PAGE_MASK; in affs_readpage_ofs()
794 if (tmp > inode->i_size) in affs_write_end_ofs()
795 inode->i_size = AFFS_I(inode)->mmu_private = tmp; in affs_write_end_ofs()
845 inode->i_ino, AFFS_I(inode)->mmu_private, inode->i_size); in affs_truncate()
849 if (inode->i_size) { in affs_truncate()
850 last_blk = ((u32)inode->i_size - 1) / AFFS_SB(sb)->s_data_blksize; in affs_truncate()
854 if (inode->i_size > AFFS_I(inode)->mmu_private) { in affs_truncate()
858 loff_t isize = inode->i_size; in affs_truncate()
865 inode->i_size = AFFS_I(inode)->mmu_private; in affs_truncate()
868 } else if (inode->i_size == AFFS_I(inode)->mmu_private) in affs_truncate()
897 if (inode->i_size) { in affs_truncate()
915 if (inode->i_size) { in affs_truncate()
936 AFFS_I(inode)->mmu_private = inode->i_size; in affs_truncate()