• Home
  • Raw
  • Download

Lines Matching refs:i_size

414 		if ((le_ih_k_offset(ih) + path.pos_in_item) > inode->i_size)  in _get_block_create_0()
416 if ((le_ih_k_offset(ih) - 1 + ih_item_len(ih)) > inode->i_size) { in _get_block_create_0()
418 inode->i_size - (le_ih_k_offset(ih) - 1) - in _get_block_create_0()
723 && inode->i_size < i_block_size(inode) * 4) in reiserfs_get_block()
725 && inode->i_size < i_block_size(inode))) in reiserfs_get_block()
730 if ((new_offset + inode->i_sb->s_blocksize - 1) > inode->i_size) { in reiserfs_get_block()
1097 inode->i_size += in reiserfs_get_block()
1193 ((inode->i_size + in real_space_diff()
1203 return inode->i_size + in to_real_used_space()
1269 inode->i_size = sd_v1_size(sd); in init_inode()
1279 blocks = (inode->i_size + 511) >> 9; in init_inode()
1323 inode->i_size = sd_v2_size(sd); in init_inode()
1930 loff_t i_size, struct dentry *dentry, in reiserfs_new_inode() argument
2004 inode->i_size = i_size; in reiserfs_new_inode()
2044 inode2sd_v1(&sd, inode, inode->i_size); in reiserfs_new_inode()
2046 inode2sd(&sd, inode, inode->i_size); in reiserfs_new_inode()
2088 i_size = ROUND_UP(i_size); in reiserfs_new_inode()
2091 i_size); in reiserfs_new_inode()
2195 unsigned long index = (inode->i_size - 1) >> PAGE_SHIFT; in grab_tail_page()
2199 unsigned long offset = (inode->i_size) & (PAGE_SIZE - 1); in grab_tail_page()
2271 unsigned long offset = inode->i_size & (PAGE_SIZE - 1); in reiserfs_truncate_file()
2281 if (inode->i_size > 0) { in reiserfs_truncate_file()
2470 (byte_offset + bytes_copied) < inode->i_size) { in map_block_for_writepage()
2531 unsigned long end_index = inode->i_size >> PAGE_SHIFT; in reiserfs_write_full_page()
2570 last_offset = inode->i_size & (PAGE_SIZE - 1); in reiserfs_write_full_page()
2757 truncate_inode_pages(inode->i_mapping, inode->i_size); in reiserfs_truncate_failed_write()
2931 if (pos + copied > inode->i_size) { in reiserfs_write_end()
2941 && inode->i_size > i_block_size(inode) * 4) in reiserfs_write_end()
2943 && inode->i_size > i_block_size(inode))) in reiserfs_write_end()
2951 inode->i_size = pos + copied; in reiserfs_write_end()
2982 if (pos + len > inode->i_size) in reiserfs_write_end()
3022 if (pos > inode->i_size) { in reiserfs_commit_write()
3030 && inode->i_size > i_block_size(inode) * 4) in reiserfs_commit_write()
3032 && inode->i_size > i_block_size(inode))) in reiserfs_commit_write()
3040 inode->i_size = pos; in reiserfs_commit_write()
3324 if (attr->ia_size > inode->i_size) { in reiserfs_setattr()