Lines Matching refs:i_size
406 if ((le_ih_k_offset(ih) + path.pos_in_item) > inode->i_size) in _get_block_create_0()
408 if ((le_ih_k_offset(ih) - 1 + ih_item_len(ih)) > inode->i_size) { in _get_block_create_0()
410 inode->i_size - (le_ih_k_offset(ih) - 1) - in _get_block_create_0()
715 && inode->i_size < i_block_size(inode) * 4) in reiserfs_get_block()
717 && inode->i_size < i_block_size(inode))) in reiserfs_get_block()
722 if ((new_offset + inode->i_sb->s_blocksize - 1) > inode->i_size) { in reiserfs_get_block()
1089 inode->i_size += in reiserfs_get_block()
1183 ((inode->i_size + in real_space_diff()
1193 return inode->i_size + in to_real_used_space()
1259 inode->i_size = sd_v1_size(sd); in init_inode()
1269 blocks = (inode->i_size + 511) >> 9; in init_inode()
1313 inode->i_size = sd_v2_size(sd); in init_inode()
1916 loff_t i_size, struct dentry *dentry, in reiserfs_new_inode() argument
1990 inode->i_size = i_size; in reiserfs_new_inode()
2030 inode2sd_v1(&sd, inode, inode->i_size); in reiserfs_new_inode()
2032 inode2sd(&sd, inode, inode->i_size); in reiserfs_new_inode()
2074 i_size = ROUND_UP(i_size); in reiserfs_new_inode()
2077 i_size); in reiserfs_new_inode()
2182 unsigned long index = (inode->i_size - 1) >> PAGE_SHIFT; in grab_tail_page()
2186 unsigned long offset = (inode->i_size) & (PAGE_SIZE - 1); in grab_tail_page()
2258 unsigned long offset = inode->i_size & (PAGE_SIZE - 1); in reiserfs_truncate_file()
2268 if (inode->i_size > 0) { in reiserfs_truncate_file()
2457 (byte_offset + bytes_copied) < inode->i_size) { in map_block_for_writepage()
2518 unsigned long end_index = inode->i_size >> PAGE_SHIFT; in reiserfs_write_full_page()
2557 last_offset = inode->i_size & (PAGE_SIZE - 1); in reiserfs_write_full_page()
2742 truncate_inode_pages(inode->i_mapping, inode->i_size); in reiserfs_truncate_failed_write()
2906 if (pos + copied > inode->i_size) { in reiserfs_write_end()
2916 && inode->i_size > i_block_size(inode) * 4) in reiserfs_write_end()
2918 && inode->i_size > i_block_size(inode))) in reiserfs_write_end()
2926 inode->i_size = pos + copied; in reiserfs_write_end()
2957 if (pos + len > inode->i_size) in reiserfs_write_end()
2997 if (pos > inode->i_size) { in reiserfs_commit_write()
3005 && inode->i_size > i_block_size(inode) * 4) in reiserfs_commit_write()
3007 && inode->i_size > i_block_size(inode))) in reiserfs_commit_write()
3015 inode->i_size = pos; in reiserfs_commit_write()
3300 if (attr->ia_size > inode->i_size) { in reiserfs_setattr()