Lines Matching defs:level
115 * lastbn. If level is greater than SINGLE, the block is an indirect block
123 daddr_t lastbn, int level, e4fs_daddr_t *countp)
139 for (i = SINGLE; i < level; i++)
194 if (level > SINGLE) {
196 fsbtodb(fs, nb), (int32_t)-1, level - 1, &blkcount)) != 0)
207 if (level > SINGLE && lastbn >= 0) {
212 last, level - 1, &blkcount)) != 0)
238 int offset, size, level;
329 for (level = TRIPLE; level >= SINGLE; level--) {
330 oldblks[EXT2_NDADDR + level] = oip->i_ib[level];
331 if (lastiblock[level] < 0) {
332 oip->i_ib[level] = 0;
333 lastiblock[level] = -1;
370 for (level = TRIPLE; level >= SINGLE; level--) {
371 bn = oip->i_ib[level];
373 error = ext2_indirtrunc(oip, indir_lbn[level],
374 fsbtodb(fs, bn), lastiblock[level], level, &count);
378 if (lastiblock[level] < 0) {
379 oip->i_ib[level] = 0;
384 if (lastiblock[level] >= 0)
435 for (level = SINGLE; level <= TRIPLE; level++)
436 if (newblks[EXT2_NDADDR + level] != oip->i_ib[level])