Searched refs:SBLOCK (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/cmd/fs.d/ufs/clri/
H A Dclri.c174 (void) llseek(f, (offset_t)(SBLOCK * DEV_BSIZE), 0);
216 (void) llseek(fd, (offset_t)(SBLOCK * DEV_BSIZE), 0);
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_ffs.c87 || part_length < (SBLOCK + (SBSIZE / DEV_BSIZE))
88 || !devread (SBLOCK, 0, SBSIZE, (char *) SUPERBLOCK)
H A Dfsys_minix.c46 #define SBLOCK (WHICH_SUPER * BLOCK_SIZE / DEV_BSIZE) /* = 2 */ macro
168 if (part_length < (SBLOCK +
172 if (!devread (SBLOCK, 0, sizeof (struct minix_super_block),
H A Dfsys_ext2fs.c35 #define SBLOCK (WHICH_SUPER * BLOCK_SIZE / DEV_BSIZE) /* = 2 */ macro
310 || part_length < (SBLOCK + (sizeof (struct ext2_super_block) / DEV_BSIZE))
311 || !devread (SBLOCK, 0, sizeof (struct ext2_super_block),
H A Dfs.h74 #define SBLOCK ((mach_daddr_t)(BBLOCK + BBSIZE / DEV_BSIZE)) macro
/illumos-gate/usr/src/cmd/fs.d/ufs/fsirand/
H A Dfsirand.c92 if (llseek(fd, (offset_t)SBLOCK * DEV_BSIZE, 0) == -1) {
185 if (llseek(fd, (offset_t)SBLOCK * DEV_BSIZE, 0) == -1) {
/illumos-gate/usr/src/cmd/fs.d/ufs/labelit/
H A Dlabelit.c155 if (llseek(f, (offset_t)SBLOCK * DEV_BSIZE, 0) < 0) {
225 if (llseek(f, (offset_t)SBLOCK * DEV_BSIZE, 0) < 0) {
/illumos-gate/usr/src/cmd/fs.d/ufs/tunefs/
H A Dtunefs.c339 bwrite((diskaddr_t)SBLOCK, (char *)&sblock, SBSIZE);
374 if (bread((diskaddr_t)SBLOCK, (char *)fs, SBSIZE)) {
/illumos-gate/usr/src/cmd/fs.d/ufs/ff/
H A Dff.c310 bread(SBLOCK, (char *)&sblock, SBSIZE);
344 bread(SBLOCK, (char *)&sblock, SBSIZE);
/illumos-gate/usr/src/cmd/fs.d/ufs/ncheck/
H A Dncheck.c249 bread((diskaddr_t)SBLOCK, (char *)&sblock, SBSIZE);
283 bread((diskaddr_t)SBLOCK, (char *)&sblock, SBSIZE);
/illumos-gate/usr/src/cmd/fs.d/ufs/volcopy/
H A Dvolcopy.c1643 if (lseek(fd, SBLOCK * DEV_BSIZE, 0) != SBLOCK * DEV_BSIZE) {
1662 if (lseek(fd, SBLOCK * DEV_BSIZE, 0) != SBLOCK * DEV_BSIZE) {
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dsetup.c121 bflag != 0 ? (diskaddr_t)bflag : (diskaddr_t)SBLOCK,
681 bwrite(fswritefd, (caddr_t)&sblock, SBLOCK, SBSIZE);
1216 bflag != 0 ? bflag : SBLOCK, s);
H A Dutilities.c464 if (blk < SBLOCK) {
468 SBLOCK, (longlong_t)blk);
511 if (blk < SBLOCK) {
2186 if (logbtodb(&sblock, sblock.fs_logbno) < SBLOCK) {
2188 (void) printf("fs_logbno < SBLOCK: %ld < %ld\n" \
2190 logbtodb(&sblock, sblock.fs_logbno), SBLOCK);
/illumos-gate/usr/src/cmd/fs.d/ufs/quot/
H A Dquot.c268 bread(fd, (diskaddr_t)SBLOCK, (char *)&sblock, SBSIZE);
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_vfsops.c665 tpt = UFS_BREAD(ufsvfsp, ufsvfsp->vfs_dev, SBLOCK, SBSIZE);
870 tp = UFS_BREAD(ufsvfsp, dev, SBLOCK, SBSIZE);
990 tp = UFS_BREAD(ufsvfsp, dev, SBLOCK, SBSIZE);
1010 bp->b_blkno = SBLOCK;
H A Dufs_trans.c335 TRANS_MATAADD(ufsvfsp, ldbtob(SBLOCK), fs->fs_sbsize);
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_fs.h92 #define SBLOCK ((daddr32_t)(BBLOCK + BBSIZE / DEV_BSIZE)) macro
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpmain.c707 bread((diskaddr_t)SBLOCK, (uchar_t *)sblock, (long)SBSIZE);
755 bread((diskaddr_t)SBLOCK, (uchar_t *)sblock, (long)SBSIZE);
/illumos-gate/usr/src/common/fs/
H A Dufsops.c567 head->fi_blocknum = SBLOCK;
/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c479 if (bread(file, fi, SBLOCK, (char *)&sblock, SBSIZE) == 0) {
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c480 bread((diskaddr_t)SBLOCK, (char *)&sblock, SBSIZE);
/illumos-gate/usr/src/cmd/fs.d/ufs/fstyp/
H A Dfstyp.c174 (void) llseek(h->fd, (offset_t)SBLOCK * DEV_BSIZE, 0);
/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/
H A Dnewfs.c1091 if (llseek(fd, (offset_t)SBLOCK * DEV_BSIZE, 0) == -1 ||
/illumos-gate/usr/src/stand/lib/fs/ufs/
H A Dufsops.c638 head->fi_blocknum = SBLOCK;
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c498 if (llseek(fd, (offset_t)(SBLOCK * DEV_BSIZE), 0) == -1) {
4103 addr = SBLOCK * DEV_BSIZE;
4875 (void) llseek(f, (offset_t)SBLOCK * DEV_BSIZE, 0);
4900 (void) llseek(f, (offset_t)(SBLOCK * DEV_BSIZE), 0);

Completed in 99 milliseconds

12