Lines Matching defs:level
208 } level[LEVELS];
250 level[0].blknums = &inode->e2di_blocks[0];
251 level[0].blkcount = UFS_NDADDR;
252 level[1].blknums = &inode->e2di_blocks[UFS_NDADDR + 0];
253 level[1].blkcount = 1;
254 level[2].blknums = &inode->e2di_blocks[UFS_NDADDR + 1];
255 level[2].blkcount = 1;
256 level[3].blknums = &inode->e2di_blocks[UFS_NDADDR + 2];
257 level[3].blkcount = 1;
264 * level, move up one indirection level and loop.
266 if (level[level_i].blkcount == 0) {
272 /* Get the next block at this level. */
273 blk = fs2h32(*(level[level_i].blknums++));
274 level[level_i].blkcount--;
277 fprintf(stderr, "ino %lu blk %lu level %d\n", ino, blk,
282 * If we're not at the direct level, descend one
283 * level, read in that level's new block list,
289 memset(level[level_i].diskbuf, 0, MAXBSIZE);
292 fs->e2fs_bsize, level[level_i].diskbuf) == 0)
295 level[level_i].blknums =
296 (uint32_t *)level[level_i].diskbuf;
297 level[level_i].blkcount = EXT2_NINDIR(fs);
301 /* blk is the next direct level block. */