Lines Matching refs:i_block

159 			if (inode->i_block[i])  in e2fsck_pass1_check_device_inode()
209 (inode->i_block[0] < fs->super->s_first_data_block) || in e2fsck_pass1_check_symlink()
210 (inode->i_block[0] >= ext2fs_blocks_count(fs->super))) in e2fsck_pass1_check_symlink()
214 if (inode->i_block[i]) in e2fsck_pass1_check_symlink()
217 if (io_channel_read_blk64(fs->io, inode->i_block[0], 1, buf)) in e2fsck_pass1_check_symlink()
228 if (inode->i_size >= sizeof(inode->i_block)) in e2fsck_pass1_check_symlink()
231 len = strnlen((char *)inode->i_block, sizeof(inode->i_block)); in e2fsck_pass1_check_symlink()
232 if (len == sizeof(inode->i_block)) in e2fsck_pass1_check_symlink()
424 LINUX_S_ISLNK(inode->i_mode) || inode->i_block[0] == 0) in check_is_really_dir()
455 blk = inode->i_block[i]; in check_is_really_dir()
467 blk = inode->i_block[0]; in check_is_really_dir()
786 if ((ext2fs_extent_header_verify(inode->i_block, in e2fsck_pass1()
787 sizeof(inode->i_block)) == 0) && in e2fsck_pass1()
820 tmp_block[i] = ext2fs_swab32(inode->i_block[i]); in e2fsck_pass1()
823 ehp = inode->i_block; in e2fsck_pass1()
826 sizeof(inode->i_block)) == 0) && in e2fsck_pass1()
830 memcpy(inode->i_block, tmp_block, in e2fsck_pass1()
831 sizeof(inode->i_block)); in e2fsck_pass1()
921 inode->i_blocks || inode->i_block[0]) && in e2fsck_pass1()
948 inode->i_blocks || inode->i_block[0]) && in e2fsck_pass1()
1137 if (inode->i_block[EXT2_IND_BLOCK]) in e2fsck_pass1()
1139 if (inode->i_block[EXT2_DIND_BLOCK]) in e2fsck_pass1()
1141 if (inode->i_block[EXT2_TIND_BLOCK]) in e2fsck_pass1()
1145 (inode->i_block[EXT2_IND_BLOCK] || in e2fsck_pass1()
1146 inode->i_block[EXT2_DIND_BLOCK] || in e2fsck_pass1()
1147 inode->i_block[EXT2_TIND_BLOCK] || in e2fsck_pass1()
1327 ret = (ib_a->inode.i_block[EXT2_IND_BLOCK] - in process_inode_cmp()
1328 ib_b->inode.i_block[EXT2_IND_BLOCK]); in process_inode_cmp()
2573 if ((blk == p->inode->i_block[EXT2_IND_BLOCK]) || in process_bad_block()
2574 (blk == p->inode->i_block[EXT2_DIND_BLOCK]) || in process_bad_block()
2575 (blk == p->inode->i_block[EXT2_TIND_BLOCK])) { in process_bad_block()
2814 blocks[i] = ctx->stashed_inode->i_block[i]; in pass1_get_blocks()