Lines Matching refs:i_block
173 if (inode->i_block[i]) in e2fsck_pass1_check_device_inode()
209 buf = (char *)inode->i_block; in e2fsck_pass1_check_symlink()
210 buflen = sizeof(inode->i_block); in e2fsck_pass1_check_symlink()
237 blk = inode->i_block[0]; in e2fsck_pass1_check_symlink()
240 if (inode->i_block[i]) in e2fsck_pass1_check_symlink()
679 LINUX_S_ISLNK(inode->i_mode) || inode->i_block[0] == 0) in check_is_really_dir()
722 memcpy(&dotdot, inode->i_block, sizeof(dotdot)); in check_is_really_dir()
723 memcpy(&de, ((char *)inode->i_block) + EXT4_INLINE_DATA_DOTDOT_SIZE, in check_is_really_dir()
749 blk = inode->i_block[i]; in check_is_really_dir()
761 blk = inode->i_block[0]; in check_is_really_dir()
973 x = inode->i_block[i]; in could_be_block_map()
1013 if (ext2fs_extent_header_verify(inode->i_block, in fix_inline_data_extents_file()
1014 sizeof(inode->i_block)) == 0 && in fix_inline_data_extents_file()
1046 inode->i_block[i] = ext2fs_swab32(inode->i_block[i]); in fix_inline_data_extents_file()
1555 memset(&inode->i_block, 0, in e2fsck_pass1()
1556 sizeof(inode->i_block)); in e2fsck_pass1()
1588 if ((ext2fs_extent_header_verify(inode->i_block, in e2fsck_pass1()
1589 sizeof(inode->i_block)) == 0) && in e2fsck_pass1()
1623 tmp_block[i] = ext2fs_swab32(inode->i_block[i]); in e2fsck_pass1()
1626 ehp = inode->i_block; in e2fsck_pass1()
1629 sizeof(inode->i_block)) == 0) && in e2fsck_pass1()
1633 memcpy(inode->i_block, tmp_block, in e2fsck_pass1()
1634 sizeof(inode->i_block)); in e2fsck_pass1()
1732 inode->i_blocks || inode->i_block[0]) && in e2fsck_pass1()
1759 inode->i_blocks || inode->i_block[0]) && in e2fsck_pass1()
1926 if (inode->i_block[EXT2_IND_BLOCK]) in e2fsck_pass1()
1928 if (inode->i_block[EXT2_DIND_BLOCK]) in e2fsck_pass1()
1930 if (inode->i_block[EXT2_TIND_BLOCK]) in e2fsck_pass1()
1935 (inode->i_block[EXT2_IND_BLOCK] || in e2fsck_pass1()
1936 inode->i_block[EXT2_DIND_BLOCK] || in e2fsck_pass1()
1937 inode->i_block[EXT2_TIND_BLOCK] || in e2fsck_pass1()
2152 ret = (ib_a->inode.i_block[EXT2_IND_BLOCK] - in process_inode_cmp()
2153 ib_b->inode.i_block[EXT2_IND_BLOCK]); in process_inode_cmp()
2698 memset(inode->i_block, 0, sizeof(inode->i_block)); in e2fsck_clear_inode()
3145 eh = (struct ext3_extent_header *) &inode->i_block[0]; in check_blocks_extents()
3146 retval = ext2fs_extent_header_verify(eh, sizeof(inode->i_block)); in check_blocks_extents()
3475 memset(inode->i_block, 0, in check_blocks()
3476 sizeof(inode->i_block)); in check_blocks()
3928 if ((blk == p->inode->i_block[EXT2_IND_BLOCK]) || in process_bad_block()
3929 (blk == p->inode->i_block[EXT2_DIND_BLOCK]) || in process_bad_block()
3930 (blk == p->inode->i_block[EXT2_TIND_BLOCK])) { in process_bad_block()
4177 blocks[i] = ctx->stashed_inode->i_block[i]; in pass1_get_blocks()