Searched refs:SBLOCKSIZE (Results 1 - 12 of 12) sorted by relevance
/openbsd-current/sbin/tunefs/ |
H A D | tunefs.c | 232 memcpy(buf, (char *)&sblock, SBLOCKSIZE); 233 bwrite(sblockloc, buf, SBLOCKSIZE, special); 237 buf, SBLOCKSIZE, special); local 276 bread(sblock_try[i] / DEV_BSIZE, (char *)fs, SBLOCKSIZE, file);
|
/openbsd-current/usr.sbin/makefs/ffs/ |
H A D | mkfs.c | 77 char pad[SBLOCKSIZE]; 274 roundup(howmany(sblock.fs_sblockloc + SBLOCKSIZE, sblock.fs_fsize), 277 roundup(howmany(SBLOCKSIZE, sblock.fs_fsize), sblock.fs_frag)); 407 if (sblock.fs_sbsize > SBLOCKSIZE) 408 sblock.fs_sbsize = SBLOCKSIZE; 479 if (sblock.fs_bsize < SBLOCKSIZE) 480 iobufsize = SBLOCKSIZE + 3 * sblock.fs_bsize; 488 memcpy(writebuf, &sblock, SBLOCKSIZE); 489 memcpy(iobuf, writebuf, SBLOCKSIZE); 529 memcpy(writebuf, fs, SBLOCKSIZE); 540 SBLOCKSIZE, writebuf, fsopts); local [all...] |
/openbsd-current/sbin/clri/ |
H A D | clri.c | 68 char *fs, sblock[SBLOCKSIZE];
|
/openbsd-current/sbin/newfs/ |
H A D | mkfs.c | 300 roundup(howmany(sblock.fs_sblockloc + SBLOCKSIZE, sblock.fs_fsize), 450 if (sblock.fs_sbsize > SBLOCKSIZE) 451 sblock.fs_sbsize = SBLOCKSIZE; 549 if (sblock.fs_bsize < SBLOCKSIZE) 550 iobufsize = SBLOCKSIZE + 3 * sblock.fs_bsize; 560 bcopy((char *)&sblock, iobuf, SBLOCKSIZE); 734 start = sblock.fs_bsize > SBLOCKSIZE ? sblock.fs_bsize : SBLOCKSIZE;
|
/openbsd-current/sbin/growfs/ |
H A D | growfs.c | 77 char pad[SBLOCKSIZE]; 272 wtfs(sblockloc, (size_t)SBLOCKSIZE, (void *)&sblock, fso, Nflag); 310 (size_t)SBLOCKSIZE, (void *)&sblock, fso, Nflag); 332 if (sblock.fs_bsize < SBLOCKSIZE) 333 iobufsize = SBLOCKSIZE + 3 * sblock.fs_bsize; 484 bcopy(&sblock, iobuf, SBLOCKSIZE); 485 start = sblock.fs_bsize > SBLOCKSIZE ? sblock.fs_bsize : SBLOCKSIZE; 1798 rdfs(sblockloc, (size_t)SBLOCKSIZE, (void *)&(osblock), fsi);
|
/openbsd-current/usr.sbin/quot/ |
H A D | quot.c | 462 static char superblock[SBLOCKSIZE]; 513 if (read(fd, superblock, SBLOCKSIZE) != SBLOCKSIZE) {
|
/openbsd-current/sbin/ncheck_ffs/ |
H A D | ncheck_ffs.c | 599 n = pread(diskfd, sblock, SBLOCKSIZE, (off_t)sblock_try[i]); 600 if (n == SBLOCKSIZE && (sblock->fs_magic == FS_UFS1_MAGIC ||
|
/openbsd-current/sbin/dump/ |
H A D | main.c | 446 ssize_t n = pread(diskfd, sblock, SBLOCKSIZE, 448 if (n == SBLOCKSIZE && (sblock->fs_magic == FS_UFS1_MAGIC ||
|
/openbsd-current/sbin/dumpfs/ |
H A D | dumpfs.c | 137 n = pread(fd, &afs, SBLOCKSIZE, (off_t)sbtry[i]); 138 if (n == SBLOCKSIZE && (afs.fs_magic == FS_UFS1_MAGIC ||
|
/openbsd-current/sys/ufs/ffs/ |
H A D | fs.h | 68 #define SBLOCKSIZE 8192 macro
|
/openbsd-current/sbin/quotacheck/ |
H A D | quotacheck.c | 284 (long)SBLOCKSIZE);
|
/openbsd-current/usr.sbin/makefs/ |
H A D | ffs.c | 435 fsopts->size += (SBLOCK_UFS1 + SBLOCKSIZE) * ncg;
|
Completed in 111 milliseconds