Lines Matching refs:i_ext2
118 &inode->i_ext2, NULL, 0, block, 0, &pblk); in journal_bmap()
337 &j_inode->i_ext2); in ext2fs_get_journal()
343 memset(&j_inode->i_ext2, 0, sizeof(struct ext2_inode)); in ext2fs_get_journal()
344 memcpy(&j_inode->i_ext2.i_block[0], sb->s_jnl_blocks, in ext2fs_get_journal()
346 j_inode->i_ext2.i_size_high = sb->s_jnl_blocks[15]; in ext2fs_get_journal()
347 j_inode->i_ext2.i_size = sb->s_jnl_blocks[16]; in ext2fs_get_journal()
348 j_inode->i_ext2.i_links_count = 1; in ext2fs_get_journal()
349 j_inode->i_ext2.i_mode = LINUX_S_IFREG | 0600; in ext2fs_get_journal()
352 if (!j_inode->i_ext2.i_links_count || in ext2fs_get_journal()
353 !LINUX_S_ISREG(j_inode->i_ext2.i_mode)) { in ext2fs_get_journal()
357 if (EXT2_I_SIZE(&j_inode->i_ext2) / journal->j_blocksize < in ext2fs_get_journal()
367 (int) EXT2_I_SIZE(&j_inode->i_ext2)) { in ext2fs_get_journal()
373 &j_inode->i_ext2); in ext2fs_get_journal()
378 journal->j_maxlen = EXT2_I_SIZE(&j_inode->i_ext2) / in ext2fs_get_journal()
383 &j_inode->i_ext2, in ext2fs_get_journal()