Home
last modified time | relevance | path

Searched refs:SBLOCK (Results 1 – 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/cmd/fs.d/ufs/clri/
H A Dclri.c172 (void) llseek(f, (offset_t)(SBLOCK * DEV_BSIZE), 0); in main()
214 (void) llseek(fd, (offset_t)(SBLOCK * DEV_BSIZE), 0); in read_sb()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_minix.c46 #define SBLOCK (WHICH_SUPER * BLOCK_SIZE / DEV_BSIZE) /* = 2 */ macro
168 if (part_length < (SBLOCK + in minix_mount()
172 if (!devread (SBLOCK, 0, sizeof (struct minix_super_block), in minix_mount()
H A Dfsys_ffs.c87 || part_length < (SBLOCK + (SBSIZE / DEV_BSIZE)) in ffs_mount()
88 || !devread (SBLOCK, 0, SBSIZE, (char *) SUPERBLOCK) in ffs_mount()
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)) in ext2fs_mount()
311 || !devread (SBLOCK, 0, sizeof (struct ext2_super_block), in ext2fs_mount()
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.c90 if (llseek(fd, (offset_t)SBLOCK * DEV_BSIZE, 0) == -1) { in main()
183 if (llseek(fd, (offset_t)SBLOCK * DEV_BSIZE, 0) == -1) { in main()
/illumos-gate/usr/src/cmd/fs.d/ufs/labelit/
H A Dlabelit.c153 if (llseek(f, (offset_t)SBLOCK * DEV_BSIZE, 0) < 0) { in label()
223 if (llseek(f, (offset_t)SBLOCK * DEV_BSIZE, 0) < 0) { in label()
/illumos-gate/usr/src/cmd/fs.d/ufs/tunefs/
H A Dtunefs.c337 bwrite((diskaddr_t)SBLOCK, (char *)&sblock, SBSIZE); in main()
372 if (bread((diskaddr_t)SBLOCK, (char *)fs, SBSIZE)) { in getsb()
/illumos-gate/usr/src/cmd/fs.d/ufs/ncheck/
H A Dncheck.c247 bread((diskaddr_t)SBLOCK, (char *)&sblock, SBSIZE); in check()
281 bread((diskaddr_t)SBLOCK, (char *)&sblock, SBSIZE); in check()
/illumos-gate/usr/src/cmd/fs.d/ufs/volcopy/
H A Dvolcopy.c1641 if (lseek(fd, SBLOCK * DEV_BSIZE, 0) != SBLOCK * DEV_BSIZE) { in getinfs()
1660 if (lseek(fd, SBLOCK * DEV_BSIZE, 0) != SBLOCK * DEV_BSIZE) { in getoutfs()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dsetup.c131 bflag != 0 ? (diskaddr_t)bflag : (diskaddr_t)SBLOCK, in read_super_block()
692 bwrite(fswritefd, (caddr_t)&sblock, SBLOCK, SBSIZE); in find_superblock()
1227 bflag != 0 ? bflag : SBLOCK, s); in badsb()
H A Dutilities.c471 if (blk < SBLOCK) { in fsck_bread()
475 SBLOCK, (longlong_t)blk); in fsck_bread()
518 if (blk < SBLOCK) { in bwrite()
2193 if (logbtodb(&sblock, sblock.fs_logbno) < SBLOCK) { in examinelog()
2197 logbtodb(&sblock, sblock.fs_logbno), SBLOCK); in examinelog()
/illumos-gate/usr/src/cmd/fs.d/ufs/ff/
H A Dff.c308 bread(SBLOCK, (char *)&sblock, SBSIZE); in check()
342 bread(SBLOCK, (char *)&sblock, SBSIZE); in check()
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_vfsops.c667 tpt = UFS_BREAD(ufsvfsp, ufsvfsp->vfs_dev, SBLOCK, SBSIZE); in remountfs()
872 tp = UFS_BREAD(ufsvfsp, dev, SBLOCK, SBSIZE); in mountfs()
992 tp = UFS_BREAD(ufsvfsp, dev, SBLOCK, SBSIZE); in mountfs()
1012 bp->b_blkno = SBLOCK; in mountfs()
H A Dufs_trans.c335 TRANS_MATAADD(ufsvfsp, ldbtob(SBLOCK), fs->fs_sbsize); in ufs_trans_mata_mount()
/illumos-gate/usr/src/cmd/fs.d/ufs/quot/
H A Dquot.c266 bread(fd, (diskaddr_t)SBLOCK, (char *)&sblock, SBSIZE); in check()
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpmain.c746 bread((diskaddr_t)SBLOCK, (uchar_t *)sblock, (long)SBSIZE); in main()
794 bread((diskaddr_t)SBLOCK, (uchar_t *)sblock, (long)SBSIZE); in main()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_fs.h90 #define SBLOCK ((daddr32_t)(BBLOCK + BBSIZE / DEV_BSIZE)) macro
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c478 bread((diskaddr_t)SBLOCK, (char *)&sblock, SBSIZE); in chkquota()
/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/
H A Dnewfs.c1091 if (llseek(fd, (offset_t)SBLOCK * DEV_BSIZE, 0) == -1 || in notrand()
/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c479 if (bread(file, fi, SBLOCK, (char *)&sblock, SBSIZE) == 0) { in dfreedev()
/illumos-gate/usr/src/common/fs/
H A Dufsops.c574 head->fi_blocknum = SBLOCK; in bufs_mountroot()
/illumos-gate/usr/src/stand/lib/fs/ufs/
H A Dufsops.c639 head->fi_blocknum = SBLOCK; in boot_ufs_mountroot()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c488 if (llseek(fd, (offset_t)(SBLOCK * DEV_BSIZE), 0) == -1) { in main()
4093 addr = SBLOCK * DEV_BSIZE; in fprnt()
4865 (void) llseek(f, (offset_t)SBLOCK * DEV_BSIZE, 0); in old_fsdb()
4890 (void) llseek(f, (offset_t)(SBLOCK * DEV_BSIZE), 0); in old_fsdb()
/illumos-gate/usr/src/cmd/fs.d/ufs/fstyp/
H A Dfstyp.c172 (void) llseek(h->fd, (offset_t)SBLOCK * DEV_BSIZE, 0); in is_ufs()

12