Lines Matching full:i_block
129 * since they have the same requirement; the i_block fields should be
147 * inode's additional i_block fields, there are some rare
149 * additional i_block fields. So for now, we only complain
157 if (inode->i_block[i])
207 (inode->i_block[0] < fs->super->s_first_data_block) ||
208 (inode->i_block[0] >= fs->super->s_blocks_count))
212 if (inode->i_block[i])
215 if (io_channel_read_blk(fs->io, inode->i_block[0], 1, buf))
222 if (inode->i_size >= sizeof(inode->i_block))
225 len = strnlen((char *)inode->i_block, sizeof(inode->i_block));
226 if (len == sizeof(inode->i_block))
414 * the i_block array is 0, this cannot be a directory. If the
420 LINUX_S_ISLNK(inode->i_mode) || inode->i_block[0] == 0)
424 * Check the block numbers in the i_block array for validity:
450 blk = inode->i_block[i];
462 blk = inode->i_block[0];
737 * When the inode is read, the i_block array is not swapped
751 if ((ext2fs_extent_header_verify(inode->i_block,
752 sizeof(inode->i_block)) == 0) &&
772 * IF we then set the extents flag, the entire i_block
785 tmp_block[i] = ext2fs_swab32(inode->i_block[i]);
788 ehp = inode->i_block;
791 sizeof(inode->i_block)) == 0) &&
795 memcpy(inode->i_block, tmp_block,
796 sizeof(inode->i_block));
878 inode->i_blocks || inode->i_block[0]) &&
1013 * at i_block[] values, so not endian-sensitive here.
1064 if (inode->i_block[EXT2_IND_BLOCK])
1066 if (inode->i_block[EXT2_DIND_BLOCK])
1068 if (inode->i_block[EXT2_TIND_BLOCK])
1072 (inode->i_block[EXT2_IND_BLOCK] ||
1073 inode->i_block[EXT2_DIND_BLOCK] ||
1074 inode->i_block[EXT2_TIND_BLOCK] ||
1250 ret = (ib_a->inode.i_block[EXT2_IND_BLOCK] -
1251 ib_b->inode.i_block[EXT2_IND_BLOCK]);
2394 if ((blk == p->inode->i_block[EXT2_IND_BLOCK]) ||
2395 (blk == p->inode->i_block[EXT2_DIND_BLOCK]) ||
2396 (blk == p->inode->i_block[EXT2_TIND_BLOCK])) {
2626 blocks[i] = ctx->stashed_inode->i_block[i];