/src/sbin/badsect/ |
badsect.c | 93 static const off_t sblock_try[] = SBLOCKSEARCH; variable in typeref:typename:const off_t[] 149 if (sblock_try[i] == -1) 151 rdfs(sblock_try[i], SBLOCKSIZE, fs); 173 if (fs->fs_sblockloc != sblock_try[i]) 176 if (sblock_try[i] == SBLOCK_UFS2)
|
/src/sbin/dump/ |
ffs_inode.c | 65 static off_t sblock_try[] = SBLOCKSEARCH; variable in typeref:typename:off_t[] 81 if (sblock_try[i] == -1) 83 rawread(sblock_try[i], (char *)superblock, MAXBSIZE); 107 if (!is_ufs2 && sblock_try[i] == SBLOCK_UFS2) 110 && sblock_try[i] != sblock->fs_sblockloc)
|
/src/sbin/fsirand/ |
fsirand.c | 79 static const off_t sblock_try[] = SBLOCKSEARCH; variable in typeref:typename:const off_t[] 91 if (sblock_try[i] == -1) 93 if (pread(fd, fs, SBLOCKSIZE, sblock_try[i]) != SBLOCKSIZE) 115 if (!is_ufs2 && sblock_try[i] == SBLOCK_UFS2)
|
/src/sbin/clri/ |
clri.c | 68 static off_t sblock_try[] = SBLOCKSEARCH; variable in typeref:typename:off_t[] 101 sblockloc = sblock_try[i];
|
/src/sbin/tunefs/ |
tunefs.c | 93 static off_t sblock_try[] = SBLOCKSEARCH; variable in typeref:typename:off_t[] 663 if (sblock_try[i] == -1) 665 bread(sblock_try[i] / dev_bsize, (char *)fs, SBLOCKSIZE, file); 689 if (!is_ufs2 && sblock_try[i] == SBLOCK_UFS2) 692 && fs->fs_sblockloc != sblock_try[i]) 698 sblockloc = sblock_try[i] / dev_bsize;
|
/src/usr.sbin/installboot/ |
ffs.c | 466 static off_t sblock_try[] = SBLOCKSEARCH; variable in typeref:typename:off_t[] 499 for (i = 0; sblock_try[i] != -1; i++) { 500 loc = sblock_try[i] / params->sectorsize + offset; 529 if (!is_ufs2 && sblock_try[i] == SBLOCK_UFS2)
|
/src/usr.sbin/dumpfs/ |
dumpfs.c | 171 static const off_t sblock_try[] = SBLOCKSEARCH; local in function:dumpfs 186 if (sblock_try[i] == -1) { 190 if (lseek(fd, sblock_try[i], SEEK_SET) == (off_t)-1) 214 if (sblock_try[i] == SBLOCK_UFS2) 218 if (sblock_try[i] != afs.fs_sblockloc) 232 rval = print_superblock(&afs, opostblsave, name, fd, sblock_try[i]);
|
/src/usr.sbin/quotacheck/ |
quotacheck.c | 310 static off_t sblock_try[] = SBLOCKSEARCH; variable in typeref:typename:off_t[] 362 if (sblock_try[i] == -1) { 368 bread(sblock_try[i], (char *)&sblock, SBLOCKSIZE); 398 if (sblock.fs_sblockloc != sblock_try[i]) 401 if (sblock_try[i] == SBLOCK_UFS2)
|
/src/sbin/fsck_ffs/ |
setup.c | 777 static off_t sblock_try[] = SBLOCKSEARCH; variable in typeref:typename:off_t[] 800 for (i = 0; sblock_try[i] != -1; i++) { 801 super = sblock_try[i] / dev_bsize; 806 if (detect_byteorder(fs, sblock_try[i]) == 0) 809 if (sblock_try[i] == -1) {
|
/src/sys/lib/libsa/ |
ufs.c | 641 static daddr_t sblock_try[] = SBLOCKSEARCH; local in function:ffs_find_superblock 646 for (i = 0; sblock_try[i] != -1; i++) { 648 sblock_try[i] / GETSECSIZE(f), SBLOCKSIZE, fs, &buf_size); 654 if (fs->fs_sblockloc != sblock_try[i])
|
/src/usr.sbin/quot/ |
quot.c | 541 static int sblock_try[] = SBLOCKSEARCH; variable in typeref:typename:int[] 561 sbloc = sblock_try[i];
|
/src/sbin/cgdconfig/ |
cgdconfig.c | 1295 static off_t sblock_try[] = SBLOCKSEARCH; variable in typeref:typename:off_t[] 1302 for (i = 0; sblock_try[i] != -1; i++) { 1309 ret = prog_pread(fd, &u, sizeof(u), sblock_try[i]);
|
/src/sys/ufs/ffs/ |
ffs_vfsops.c | 1028 static const int sblock_try[] = SBLOCKSEARCH; variable in typeref:typename:const int[] 1221 if (sblock_try[i] == -1) { 1228 error = bread(devvp, sblock_try[i] / DEV_BSIZE, SBLOCKSIZE, 1232 sblock_try[i] / DEV_BSIZE, error); 1238 sblockloc = sblock_try[i];
|