/src/sbin/scan_ffs/ |
scan_ffs.c | 92 #define SBPASS (SBCOUNT * SBLOCKSIZE / 512) 160 BLK_CNT - (2 * SBLOCKSIZE / 512), n, 168 BLK_CNT - (ffsize * SBLOCKSIZE / 512+128), 184 BLK_CNT - (ffsize * SBLOCKSIZE / 512)); 188 BLK_CNT - (ffsize * SBLOCKSIZE / 512 + 128)); 209 offset = (2 * SBLOCKSIZE / 512); 211 offset = (ffsize * SBLOCKSIZE / 512 + 128); 235 if ((BLK_CNT - lastblk) == (SBLOCKSIZE / 512)) { 238 } else if ((BLK_CNT - lastblk) == (SBLOCKSIZE / 170)) { 241 } else if ((BLK_CNT - lastblk) == (SBLOCKSIZE / 73)) [all...] |
/src/sbin/fsirand/ |
fsirand.c | 93 if (pread(fd, fs, SBLOCKSIZE, sblock_try[i]) != SBLOCKSIZE) 123 if (fs->fs_sbsize > SBLOCKSIZE) 229 char buf[SBLOCKSIZE], device[MAXPATHLEN];
|
/src/usr.sbin/fstyp/ |
ufs.c | 67 fs = (struct fs *)read_buf(fp, superblock, SBLOCKSIZE);
|
/src/usr.sbin/installboot/ |
ffs.c | 124 char sbbuf[SBLOCKSIZE]; 144 if (!ffs_read_disk_block(params, params->fstype->sblockloc, SBLOCKSIZE, 261 char sbbuf[SBLOCKSIZE]; 281 if (!ffs_read_disk_block(params, params->fstype->sblockloc, SBLOCKSIZE, 490 char sbbuf[SBLOCKSIZE]; 501 if (!ffs_read_disk_block(params, loc, SBLOCKSIZE, sbbuf))
|
/src/sys/arch/hppa/stand/xxboot/ |
readufs_ffs.c | 30 unsigned char pad[SBLOCKSIZE]; 45 RAW_READ(&buf, (daddr_t) btodb(*sbl), SBLOCKSIZE);
|
/src/sys/arch/x68k/stand/boot_ufs/ |
readufs_ffs.c | 32 unsigned char pad[SBLOCKSIZE]; 47 RAW_READ(&buf, (daddr_t) btodb(*sbl), SBLOCKSIZE);
|
/src/sys/arch/mvme68k/stand/installboot/ |
installboot.c | 157 if (protosize > SBLOCKSIZE - DEV_BSIZE) 235 static char sblock[SBLOCKSIZE]; 280 SBLOCKSIZE, "superblock");
|
/src/usr.sbin/makefs/ffs/ |
mkfs.c | 91 char pad[SBLOCKSIZE]; 168 sbsize = SBLOCKSIZE; 318 roundup(howmany(sblock.fs_sblockloc + SBLOCKSIZE, sblock.fs_fsize), 321 roundup(howmany(SBLOCKSIZE, sblock.fs_fsize), sblock.fs_frag)); 451 if (sblock.fs_sbsize > SBLOCKSIZE) 452 sblock.fs_sbsize = SBLOCKSIZE; 523 if (sblock.fs_bsize < SBLOCKSIZE) 524 iobufsize = SBLOCKSIZE + 3 * sblock.fs_bsize; 533 memcpy(iobuf, writebuf, SBLOCKSIZE); 760 start = sblock.fs_bsize > SBLOCKSIZE ? sblock.fs_bsize : SBLOCKSIZE [all...] |
/src/sbin/fsck_ffs/ |
setup.c | 130 sblk.b_un.b_buf = aligned_alloc(DEV_BSIZE, SBLOCKSIZE); 131 sblock = aligned_alloc(DEV_BSIZE, SBLOCKSIZE); 132 asblk.b_un.b_buf = aligned_alloc(DEV_BSIZE, SBLOCKSIZE); 133 altsblock = aligned_alloc(DEV_BSIZE, SBLOCKSIZE); 451 memmove(sblk.b_un.b_fs, sblock, SBLOCKSIZE); 792 (long)SBLOCKSIZE) != 0) 803 super, (long)SBLOCKSIZE) != 0) 836 memmove(sblock, sblk.b_un.b_fs, SBLOCKSIZE); 851 if (sblock->fs_sbsize > SBLOCKSIZE) 861 sblk.b_size = SBLOCKSIZE; [all...] |
fsck.h | 164 memmove(sblk.b_un.b_fs, sblock, SBLOCKSIZE); \
|
/src/sbin/badsect/ |
badsect.c | 75 char fsx[SBLOCKSIZE]; 151 rdfs(sblock_try[i], SBLOCKSIZE, fs);
|
/src/sbin/newfs/ |
mkfs.c | 135 char data[SBLOCKSIZE]; 344 roundup(howmany(sblock.fs_sblockloc + SBLOCKSIZE, sblock.fs_fsize), 347 roundup(howmany(SBLOCKSIZE, sblock.fs_fsize), sblock.fs_frag)); 500 if (sblock.fs_sbsize > SBLOCKSIZE) 501 sblock.fs_sbsize = SBLOCKSIZE; 572 if (sblock.fs_bsize < SBLOCKSIZE) 573 iobufsize = SBLOCKSIZE + 3 * sblock.fs_bsize; 626 sblkoff += SBLOCKSIZE; 627 for (sz = SBLOCKSIZE; sz <= 0x10000; sz <<= 1) 955 start = sblock.fs_bsize > SBLOCKSIZE ? sblock.fs_bsize : SBLOCKSIZE [all...] |
/src/sys/lib/libsa/ |
ufs.c | 129 #define SBLOCKSIZE LFS_SBPAD 648 sblock_try[i] / GETSECSIZE(f), SBLOCKSIZE, fs, &buf_size); 651 if (buf_size != SBLOCKSIZE) 663 SBLOCKOFFSET / GETSECSIZE(f), SBLOCKSIZE, fs, &buf_size); 666 if (buf_size != SBLOCKSIZE) 708 fs = alloc(SBLOCKSIZE); 917 dealloc(fp->f_fs, SBLOCKSIZE);
|
/src/sbin/tunefs/ |
tunefs.c | 450 memcpy(&buf, (char *)&sblock, SBLOCKSIZE); 455 bwrite(sblockloc, buf.data, SBLOCKSIZE, special); 475 buf.data, SBLOCKSIZE, special); 665 bread(sblock_try[i] / dev_bsize, (char *)fs, SBLOCKSIZE, file);
|
/src/sbin/clri/ |
clri.c | 84 char *fs, sblock[SBLOCKSIZE];
|
/src/usr.sbin/quot/ |
quot.c | 542 static char superblock[SBLOCKSIZE]; 567 if (pread(fd, superblock, SBLOCKSIZE, sbloc) != SBLOCKSIZE)
|
/src/lib/libc/gen/ |
disklabel.c | 159 getnumdflt(dp->d_sbsize, "sb", SBLOCKSIZE);
|
/src/sys/arch/pmax/pmax/ |
disksubr.c | 167 lp->d_sbsize = SBLOCKSIZE;
|
/src/sys/arch/luna68k/stand/boot/ |
disklabel.c | 90 #define SBSIZE SBLOCKSIZE
|
/src/sys/arch/mipsco/mipsco/ |
disksubr.c | 257 lp->d_sbsize = SBLOCKSIZE;
|
/src/sys/arch/sgimips/sgimips/ |
disksubr.c | 244 lp->d_sbsize = SBLOCKSIZE;
|
/src/usr.sbin/quotacheck/ |
quotacheck.c | 87 #ifndef SBLOCKSIZE 88 # define SBLOCKSIZE SBSIZE 368 bread(sblock_try[i], (char *)&sblock, SBLOCKSIZE);
|
/src/sbin/resize_ffs/ |
resize_ffs.c | 89 static char sbbuf[2 * SBLOCKSIZE] 2077 memcpy(oldsb, newsb, SBLOCKSIZE); 2080 writeat(where / DEV_BSIZE, newsb, SBLOCKSIZE); 2084 writeat(FFS_FSBTODB(oldsb, cgsblock(oldsb, i)), newsb, SBLOCKSIZE); 2226 newsb = (struct fs *) (SBLOCKSIZE + (char *) &sbbuf); 2228 readat(where / DEV_BSIZE, oldsb, SBLOCKSIZE); 2275 * thing. SBLOCKSIZE may be an over-estimate, but we do this 2277 memcpy(newsb, oldsb, SBLOCKSIZE);
|
/src/sys/arch/atari/atari/ |
disksubr.c | 105 lp->d_sbsize = SBLOCKSIZE;
|
/src/sys/arch/next68k/next68k/ |
disksubr.c | 52 #include <ufs/ffs/fs.h> /* XXX for SBLOCKSIZE */ 114 lp->d_sbsize = SBLOCKSIZE;
|