Lines Matching defs:level
218 int offset, size, level, nblocks;
493 for (level = TRIPLE; level >= SINGLE; level--) {
494 oldblks[UFS_NDADDR + level] = DIP(ip, i_ib[level]);
495 if (lastiblock[level] < 0) {
496 DIP_SET(ip, i_ib[level], 0);
497 lastiblock[level] = -1;
536 for (level = TRIPLE; level >= SINGLE; level--) {
537 bn = DIP(ip, i_ib[level]);
539 error = ffs_indirtrunc(ip, indir_lbn[level],
540 fsbtodb(fs, bn), lastiblock[level], level, &count);
544 if (lastiblock[level] < 0) {
545 DIP_SET(ip, i_ib[level], 0);
552 if (lastiblock[level] >= 0)
610 for (level = SINGLE; level <= TRIPLE; level++)
611 if (newblks[UFS_NDADDR + level] != DIP(ip, i_ib[level]))
649 * lastbn. If level is greater than SINGLE, the block is an indirect block
654 ffs_indirtrunc(ip, lbn, dbn, lastbn, level, countp)
658 int level;
682 factor = lbn_offset(fs, level);
757 if (level > SINGLE) {
759 (ufs2_daddr_t)-1, level - 1, &blkcount)) != 0)
772 if (level > SINGLE && lastbn >= 0) {
777 last, level - 1, &blkcount);