Lines Matching refs:i_block
156 if (inode->i_block[i]) in e2fsck_pass1_check_device_inode()
181 (inode->i_block[0] < fs->super->s_first_data_block) || in e2fsck_pass1_check_symlink()
182 (inode->i_block[0] >= fs->super->s_blocks_count)) in e2fsck_pass1_check_symlink()
186 if (inode->i_block[i]) in e2fsck_pass1_check_symlink()
189 if (io_channel_read_blk(fs->io, inode->i_block[0], 1, buf)) in e2fsck_pass1_check_symlink()
196 if (inode->i_size >= sizeof(inode->i_block)) in e2fsck_pass1_check_symlink()
199 len = strnlen((char *)inode->i_block, sizeof(inode->i_block)); in e2fsck_pass1_check_symlink()
200 if (len == sizeof(inode->i_block)) in e2fsck_pass1_check_symlink()
384 LINUX_S_ISLNK(inode->i_mode) || inode->i_block[0] == 0) in check_is_really_dir()
388 blk = inode->i_block[i]; in check_is_really_dir()
405 retval = ext2fs_read_dir_block(ctx->fs, inode->i_block[0], buf); in check_is_really_dir()
738 inode->i_blocks || inode->i_block[0]) && in e2fsck_pass1()
910 if (inode->i_block[EXT2_IND_BLOCK]) in e2fsck_pass1()
912 if (inode->i_block[EXT2_DIND_BLOCK]) in e2fsck_pass1()
914 if (inode->i_block[EXT2_TIND_BLOCK]) in e2fsck_pass1()
916 if (inode->i_block[EXT2_IND_BLOCK] || in e2fsck_pass1()
917 inode->i_block[EXT2_DIND_BLOCK] || in e2fsck_pass1()
918 inode->i_block[EXT2_TIND_BLOCK] || in e2fsck_pass1()
1099 ret = (ib_a->inode.i_block[EXT2_IND_BLOCK] - in process_inode_cmp()
1100 ib_b->inode.i_block[EXT2_IND_BLOCK]); in process_inode_cmp()
1434 blk = inode->i_block[0]; in handle_htree()
2000 if ((blk == p->inode->i_block[EXT2_IND_BLOCK]) || in process_bad_block()
2001 (blk == p->inode->i_block[EXT2_DIND_BLOCK]) || in process_bad_block()
2002 (blk == p->inode->i_block[EXT2_TIND_BLOCK])) { in process_bad_block()
2205 blocks[i] = ctx->stashed_inode->i_block[i]; in pass1_get_blocks()