Lines Matching refs:sblock

114 	       nflag? "Examining": "Editing", fsys, sblock.fs_fsmnt);
117 sblock.fs_clean = 0; /* mark it dirty */
449 is_ufs2 = sblock.fs_magic == FS_UFS2_MAGIC;
457 wantedblk64[i - 1] = dbtofsb(&sblock, strtoull(argv[i], NULL, 0));
463 wantedblk32[i - 1] = dbtofsb(&sblock, strtoull(argv[i], NULL, 0));
467 * sblock.fs_ncg holds a number of cylinder groups.
470 for (c = 0; c < sblock.fs_ncg; c++) {
472 * sblock.fs_ipg holds a number of inodes per cylinder group.
475 inum = c * sblock.fs_ipg;
486 inosused = sblock.fs_ipg;
499 compare_blk64(wantedblk64, ino_to_fsba(&sblock, inum)) :
500 compare_blk32(wantedblk32, ino_to_fsba(&sblock, inum))) {
502 (unsigned long long)fsbtodb(&sblock,
503 ino_to_fsba(&sblock, inum)),
504 (uintmax_t)(inum / INOPB(&sblock)) * INOPB(&sblock),
505 (uintmax_t)(inum / INOPB(&sblock) + 1) * INOPB(&sblock));
523 if (size > 0 && size < sblock.fs_maxsymlinklen &&
602 (unsigned long long)fsbtodb(&sblock, blk), (uintmax_t)curinum);
631 blread(fsreadfd, (char *)idblk, fsbtodb(&sblock, blk), (int)sblock.fs_bsize);
633 if (find_blks32(idblk, sblock.fs_bsize / sizeof(uint32_t), wantedblk))
637 for (i = 0; i < sblock.fs_bsize / sizeof(uint32_t); i++) {
673 blread(fsreadfd, (char *)idblk, fsbtodb(&sblock, blk), (int)sblock.fs_bsize);
675 if (find_blks64(idblk, sblock.fs_bsize / sizeof(uint64_t), wantedblk))
679 for (i = 0; i < sblock.fs_bsize / sizeof(uint64_t); i++) {
1152 if (sblock.fs_magic == FS_UFS1_MAGIC)
1168 if (sblock.fs_magic == FS_UFS1_MAGIC)
1185 if (sblock.fs_magic == FS_UFS1_MAGIC)
1202 if (sblock.fs_magic == FS_UFS1_MAGIC)