Searched refs:SBLOCKSIZE (Results 1 - 12 of 12) sorted by relevance

/openbsd-current/sbin/tunefs/
H A Dtunefs.c232 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 Dmkfs.c77 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 Dclri.c68 char *fs, sblock[SBLOCKSIZE];
/openbsd-current/sbin/newfs/
H A Dmkfs.c300 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 Dgrowfs.c77 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 Dquot.c462 static char superblock[SBLOCKSIZE];
513 if (read(fd, superblock, SBLOCKSIZE) != SBLOCKSIZE) {
/openbsd-current/sbin/ncheck_ffs/
H A Dncheck_ffs.c599 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 Dmain.c446 ssize_t n = pread(diskfd, sblock, SBLOCKSIZE,
448 if (n == SBLOCKSIZE && (sblock->fs_magic == FS_UFS1_MAGIC ||
/openbsd-current/sbin/dumpfs/
H A Ddumpfs.c137 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 Dfs.h68 #define SBLOCKSIZE 8192 macro
/openbsd-current/sbin/quotacheck/
H A Dquotacheck.c284 (long)SBLOCKSIZE);
/openbsd-current/usr.sbin/makefs/
H A Dffs.c435 fsopts->size += (SBLOCK_UFS1 + SBLOCKSIZE) * ncg;

Completed in 111 milliseconds