Lines Matching defs:level
216 int offset, pgoffset, level;
421 for (level = TRIPLE; level >= SINGLE; level--) {
422 blks[UFS_NDADDR + level] = DIP(oip, ib[level]);
423 if (lastiblock[level] < 0 && blks[UFS_NDADDR + level] != 0) {
425 DIP_ASSIGN(oip, ib[level], 0);
426 lastiblock[level] = -1;
472 for (level = TRIPLE; level >= SINGLE; level--) {
473 bn = ffs_getib(fs, oip, level);
475 if (lastiblock[level] < 0 &&
487 error = ffs_indirtrunc(oip, indir_lbn[level],
488 FFS_FSBTODB(fs, bn), lastiblock[level], level,
498 if (lastiblock[level] < 0) {
502 DIP_ASSIGN(oip, ib[level], 0);
506 if (lastiblock[level] >= 0)
574 for (level = SINGLE; level <= TRIPLE; level++)
575 KASSERTMSG((blks[UFS_NDADDR + level] == DIP(oip, ib[level])),
577 (uintmax_t)blks[UFS_NDADDR + level],
578 (uintmax_t)DIP(oip, ib[level]));
619 * lastbn. If level is greater than SINGLE, the block is an indirect block
627 int level, int64_t *countp)
660 for (i = SINGLE; i < level; i++)
737 ((level > SINGLE) || (ITOV(ip)->v_type != VREG))) {
748 if (level > SINGLE) {
750 (daddr_t)-1, level - 1, countp);
772 if (level > SINGLE && lastbn >= 0) {
777 last, level - 1, countp);