Lines Matching refs:i_size
340 if ((le_ih_k_offset(ih) + path.pos_in_item) > inode->i_size) in _get_block_create_0()
342 if ((le_ih_k_offset(ih) - 1 + ih_item_len(ih)) > inode->i_size) { in _get_block_create_0()
343 chars = inode->i_size - (le_ih_k_offset(ih) - 1) - path.pos_in_item; in _get_block_create_0()
585 if ( (have_large_tails (inode->i_sb) && inode->i_size < block_size (inode)*4) || in reiserfs_get_block()
586 (have_small_tails (inode->i_sb) && inode->i_size < block_size(inode)) ) in reiserfs_get_block()
594 if ((new_offset + inode->i_sb->s_blocksize - 1) > inode->i_size) { in reiserfs_get_block()
858 inode->i_size += blocks_needed << inode->i_blkbits; in reiserfs_get_block()
954 inode->i_size = sd_v1_size(sd); in init_inode()
961 blocks = (inode->i_size + 511) >> 9; in init_inode()
985 inode->i_size = sd_v2_size(sd); in init_inode()
1037 set_sd_v2_size(sd_v2, inode->i_size ); in inode2sd()
1062 set_sd_v1_size(sd_v1, inode->i_size ); in inode2sd_v1()
1553 int i_size, in reiserfs_new_inode() argument
1606 inode->i_size = i_size; in reiserfs_new_inode()
1607 inode->i_blocks = (inode->i_size + 511) >> 9; in reiserfs_new_inode()
1687 i_size = ROUND_UP(i_size); in reiserfs_new_inode()
1688 retval = reiserfs_new_symlink (th, &ih, &path_to_key, symname, i_size); in reiserfs_new_inode()
1737 unsigned long index = (p_s_inode->i_size-1) >> PAGE_CACHE_SHIFT ; in grab_tail_page()
1741 unsigned long offset = (p_s_inode->i_size) & (PAGE_CACHE_SIZE - 1) ; in grab_tail_page()
1814 unsigned long offset = p_s_inode->i_size & (PAGE_CACHE_SIZE - 1) ; in reiserfs_truncate_file()
1821 if (p_s_inode->i_size > 0) { in reiserfs_truncate_file()
1956 (byte_offset + bytes_copied) < inode->i_size) { in map_block_for_writepage()
2017 unsigned long end_index = inode->i_size >> PAGE_CACHE_SHIFT ; in reiserfs_write_full_page()
2035 last_offset = inode->i_size & (PAGE_CACHE_SIZE - 1) ; in reiserfs_write_full_page()
2142 if (pos > inode->i_size) { in reiserfs_commit_write()
2148 if ( (have_large_tails (inode->i_sb) && inode->i_size > block_size (inode)*4) || in reiserfs_commit_write()
2149 (have_small_tails (inode->i_sb) && inode->i_size > block_size(inode)) ) in reiserfs_commit_write()
2154 inode->i_size = pos ; in reiserfs_commit_write()