HomeSort by: relevance | last modified time | path
    Searched refs:fs_magic (Results 1 - 25 of 37) sorted by relevancy

1 2

  /src/usr.sbin/fstyp/
ufs.c 71 if (fs->fs_magic == FS_UFS2EA_MAGIC)
72 fs->fs_magic = FS_UFS2_MAGIC;
73 else if (fs->fs_magic == FS_UFS2EA_MAGIC_SWAPPED)
74 fs->fs_magic = FS_UFS2_MAGIC_SWAPPED;
84 if (fs->fs_magic == FS_UFS1_MAGIC && fs->fs_fsize > 0 &&
88 } else if (fs->fs_magic == FS_UFS2_MAGIC && fs->fs_fsize > 0 &&
97 if (fs->fs_magic == FS_UFS1_MAGIC && fs->fs_fsize > 0) {
99 } else if (fs->fs_magic == FS_UFS2_MAGIC && fs->fs_fsize > 0) {
  /src/sys/ufs/mfs/
mfs_miniroot.c 60 if (fs->fs_magic != FS_UFS1_MAGIC || fs->fs_bsize > MAXBSIZE ||
  /src/usr.sbin/makefs/ffs/
ufs_inode.h 95 (((ip)->i_fs->fs_magic == FS_UFS1_MAGIC) ? \
100 if ((ip)->i_fs->fs_magic == FS_UFS1_MAGIC) \
108 if ((ip)->i_fs->fs_magic == FS_UFS1_MAGIC) \
ffs_balloc.c 77 if (ip->i_fs->fs_magic == FS_UFS2_MAGIC ||
78 ip->i_fs->fs_magic == FS_UFS2EA_MAGIC)
mkfs.c 282 sblock.fs_magic = FS_UFS1_MAGIC;
303 sblock.fs_magic = FS_UFS2EA_MAGIC;
305 sblock.fs_magic = FS_UFS2_MAGIC;
768 if (sblock.fs_magic == FS_UFS1_MAGIC) {
  /src/sbin/fsck_ffs/
setup.c 186 if (sblock->fs_magic != FS_UFS1_MAGIC ||
443 (char *)(&sblock->fs_magic+1) -
717 if (sblockoff == SBLOCK_UFS2 && (fs->fs_magic == FS_UFS1_MAGIC ||
718 fs->fs_magic == FS_UFS1_MAGIC_SWAPPED))
721 if (fs->fs_magic == FS_UFS1_MAGIC || fs->fs_magic == FS_UFS2_MAGIC ||
722 fs->fs_magic == FS_UFS2EA_MAGIC) {
735 else if (fs->fs_magic == FS_UFS1_MAGIC_SWAPPED ||
736 fs->fs_magic == FS_UFS2_MAGIC_SWAPPED ||
737 fs->fs_magic == FS_UFS2EA_MAGIC_SWAPPED)
    [all...]
pass5.c 251 if (altsblock->fs_magic == FS_UFS2EA_MAGIC) {
252 altsblock->fs_magic = FS_UFS2_MAGIC;
  /src/sbin/dump/
ffs_inode.c 85 switch(sblock->fs_magic) {
87 sblock->fs_magic = FS_UFS2_MAGIC;
95 sblock->fs_magic = FS_UFS2_MAGIC_SWAPPED;
186 if (sblock->fs_magic == FS_UFS2_MAGIC)
  /src/usr.sbin/quot/
quot.c 78 (((fs)->fs_magic == FS_UFS1_MAGIC ? sizeof(struct ufs1_dinode) : \
86 (((fs)->fs_magic == FS_UFS1_MAGIC) ? \
133 if (super->fs_magic == FS_UFS1_MAGIC)
524 if (fs->fs_magic == FS_UFS1_MAGIC &&
571 if (fs->fs_magic != FS_UFS1_MAGIC &&
572 fs->fs_magic != FS_UFS2_MAGIC &&
573 fs->fs_magic != FS_UFS2EA_MAGIC)
576 if (fs->fs_magic == FS_UFS2_MAGIC
577 || fs->fs_magic == FS_UFS2EA_MAGIC
  /src/sys/arch/hppa/stand/xxboot/
readufs_ffs.c 47 magic = buf.sblk.fs_magic;
79 * XXX <ufs/ffs/fs.h> always uses fs_magic
116 #define fs_magic fs_u.u_ffs.magic macro
  /src/sys/arch/x68k/stand/boot_ufs/
readufs_ffs.c 49 magic = buf.sblk.fs_magic;
82 * XXX <ufs/ffs/fs.h> always uses fs_magic
117 #define fs_magic fs_u.u_ffs.magic macro
  /src/sys/lib/libsa/
ufs.c 125 #define fs_magic lfs_dlfs_u.u_32.dlfs_magic macro
218 return fs->fs_magic == FS_UFS1_MAGIC;
225 return fs->fs_magic == bswap32(FS_UFS1_MAGIC);
235 return fs->fs_magic == FS_UFS2_MAGIC || fs->fs_magic == FS_UFS2EA_MAGIC;
242 return fs->fs_magic == bswap32(FS_UFS2_MAGIC) ||
243 fs->fs_magic == bswap32(FS_UFS2EA_MAGIC);
253 return fs->fs_magic == LFS_MAGIC;
260 return fs->fs_magic == bswap32(LFS_MAGIC);
1099 if (fs->fs_magic == FS_UFS1_MAGI
    [all...]
ffs_bswap.c 115 n->fs_magic = bswap32(o->fs_magic);
  /src/sys/ufs/ffs/
ffs_bswap.c 114 n->fs_magic = bswap32(o->fs_magic);
218 if ((fs->fs_magic != FS_UFS2_MAGIC) &&
261 if (fs->fs_magic == FS_UFS2_MAGIC)
ffs_vfsops.c 206 if (fs->fs_magic != FS_UFS2_MAGIC)
866 if (newfs->fs_magic == FS_UFS2EA_MAGIC) {
868 newfs->fs_magic = FS_UFS2_MAGIC;
874 if ((newfs->fs_magic != FS_UFS1_MAGIC) &&
875 (newfs->fs_magic != FS_UFS2_MAGIC)) {
1071 if (fs->fs_magic == FS_UFS1_MAGIC)
1073 else /* fs->fs_magic == FS_UFS2_MAGIC */
1239 DPRINTF("fs_magic 0x%x", fs->fs_magic);
1246 if (fs->fs_magic == FS_UFS2EA_MAGIC)
    [all...]
fs.h 371 int32_t fs_magic; /* magic number */ member in struct:fs
393 ? ((uint8_t *)(&(fs)->fs_magic+1)) \
637 #define cgstart(fs, c) ((fs)->fs_magic == FS_UFS2_MAGIC \
707 ((fs)->fs_magic == FS_UFS2_MAGIC ? \
711 ((fs)->fs_magic == FS_UFS2_MAGIC ? \
ffs_alloc.c 1004 if ((fs->fs_magic != FS_UFS1_MAGIC) ||
1080 if ((fs->fs_magic != FS_UFS1_MAGIC) ||
1234 if ((fs->fs_magic == FS_UFS1_MAGIC) &&
1283 if (fs->fs_magic == FS_UFS2_MAGIC) {
1308 if (fs->fs_magic == FS_UFS2_MAGIC && ibp == NULL) {
1334 if ((fs->fs_magic != FS_UFS1_MAGIC) ||
1885 if ((fs->fs_magic != FS_UFS1_MAGIC) ||
1907 if ((fs->fs_magic == FS_UFS1_MAGIC) &&
1959 if ((fs->fs_magic == FS_UFS1_MAGIC) &&
2084 if ((fs->fs_magic != FS_UFS1_MAGIC) |
    [all...]
  /src/sbin/newfs/
mkfs.c 157 ((sblock.fs_magic == FS_UFS1_MAGIC) ? \
320 sblock.fs_magic = FS_UFS1_MAGIC;
337 sblock.fs_magic = FS_UFS2_MAGIC;
577 if (!mfs && sblock.fs_magic == FS_UFS1_MAGIC) {
751 ((struct fs *)iobuf)->fs_magic = FS_UFS2EA_MAGIC;
963 if (sblock.fs_magic == FS_UFS1_MAGIC) {
976 if (sblock.fs_magic != FS_UFS1_MAGIC)
1076 if (sblock.fs_magic == FS_UFS1_MAGIC) {
1218 if (sblock.fs_magic == FS_UFS1_MAGIC) {
1390 if (sblock.fs_magic == FS_UFS1_MAGIC)
    [all...]
  /src/sbin/clri/
clri.c 108 switch(sbp->fs_magic) {
  /src/sbin/scan_ffs/
scan_ffs.c 126 switch (sbi->ffs->fs_magic) {
134 switch (sbi->ffs->fs_magic) {
  /src/sys/arch/mvme68k/stand/installboot/
installboot.c 284 if (fs->fs_magic != FS_UFS1_MAGIC)
  /src/sbin/badsect/
badsect.c 152 switch (fs->fs_magic) {
  /src/sbin/fsirand/
fsirand.c 96 switch(fs->fs_magic) {
  /src/usr.sbin/quotacheck/
quotacheck.c 79 # define FS_UFS1_MAGIC FS_MAGIC /* 0x011954 */
369 switch (sblock.fs_magic) {
372 sblock.fs_magic = FS_UFS2_MAGIC;
382 sblock.fs_magic = FS_UFS2_MAGIC_SWAPPED;
423 if (sblock.fs_magic == FS_UFS2_MAGIC) {
  /src/usr.sbin/dumpfs/
dumpfs.c 194 switch(afs.fs_magic) {
271 printold = (fs->fs_magic == FS_UFS1_MAGIC &&
300 fs->fs_magic == FS_UFS2EA_MAGIC ? "ea" : "");
314 fs->fs_magic, ctime(&t));

Completed in 27 milliseconds

1 2