Lines Matching refs:dp2
677 if ((off_t)dp.dp2->di_size >= lblktosize(&sblock, UFS_NDADDR)) { in journal_findfile()
682 if (dp.dp2->di_db[i] == 0) in journal_findfile()
684 if ((ino = dir_search(dp.dp2->di_db[i], in journal_findfile()
685 sblksize(&sblock, (off_t)dp.dp2->di_size, i))) != 0) in journal_findfile()
796 lbn = lblkno(&sblock, dp.dp2->di_size); in journal_insertfile()
797 off = blkoff(&sblock, dp.dp2->di_size); in journal_insertfile()
798 blk = dp.dp2->di_db[lbn]; in journal_insertfile()
799 size = sblksize(&sblock, (off_t)dp.dp2->di_size, lbn); in journal_insertfile()
814 dp.dp2->di_blocks += (sblock.fs_bsize - size) / DEV_BSIZE; in journal_insertfile()
815 dp.dp2->di_db[lbn] = nblk; in journal_insertfile()
816 dp.dp2->di_size = lblktosize(&sblock, lbn+1); in journal_insertfile()
899 dp.dp2->di_flags = 0; in journal_clear()
987 bzero(dp.dp2, sizeof(*dp.dp2)); in journal_alloc()
988 dp.dp2->di_size = size; in journal_alloc()
989 dp.dp2->di_mode = IFREG | IREAD; in journal_alloc()
990 dp.dp2->di_nlink = 1; in journal_alloc()
991 dp.dp2->di_flags = in journal_alloc()
993 dp.dp2->di_atime = utime; in journal_alloc()
994 dp.dp2->di_mtime = utime; in journal_alloc()
995 dp.dp2->di_ctime = utime; in journal_alloc()
996 dp.dp2->di_birthtime = utime; in journal_alloc()
1006 dp.dp2->di_db[i] = blk; in journal_alloc()
1007 dp.dp2->di_blocks++; in journal_alloc()
1023 dp.dp2->di_ib[i] = blk; in journal_alloc()
1024 dp.dp2->di_blocks += blks; in journal_alloc()
1030 dp.dp2->di_blocks *= sblock.fs_bsize / disk.d_bsize; in journal_alloc()