Home
last modified time | relevance | path

Searched refs:altsblock (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/cmd/fs.d/ufs/labelit/
H A Dlabelit.c75 #define altsblock altsb_un.sblk macro
252 altfsp = &altsblock; in label()
253 if (read(f, &altsblock, SBSIZE) != SBSIZE) { in label()
258 if ((altsblock.fs_magic != FS_MAGIC) && in label()
259 (altsblock.fs_magic != MTB_UFS_MAGIC)) { in label()
265 if ((altsblock.fs_magic == FS_MAGIC) && in label()
266 ((altsblock.fs_version != in label()
268 (altsblock.fs_version != UFS_VERSION_MIN))) { in label()
272 altsblock.fs_version); in label()
275 if ((altsblock.fs_magic == MTB_UFS_MAGIC) && in label()
[all …]
/titanic_50/usr/src/cmd/fs.d/ufs/fsck/
H A Dsetup.c72 #define altsblock (*asblk.b_un.b_fs) macro
974 (void) memmove(&altsblock, &sblock, (size_t)sblock.fs_sbsize); in setup()
1167 altsblock.fs_link = sblock.fs_link; in checksb()
1168 altsblock.fs_rolled = sblock.fs_rolled; in checksb()
1169 altsblock.fs_time = sblock.fs_time; in checksb()
1170 altsblock.fs_state = sblock.fs_state; in checksb()
1171 altsblock.fs_cstotal = sblock.fs_cstotal; in checksb()
1172 altsblock.fs_cgrotor = sblock.fs_cgrotor; in checksb()
1173 altsblock.fs_fmod = sblock.fs_fmod; in checksb()
1174 altsblock.fs_clean = sblock.fs_clean; in checksb()
[all …]
/titanic_50/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c443 #define altsblock altfsun.fs macro
1188 (char *)&altsblock); in main()
1189 ret = checksblock(altsblock, 1); in main()
1192 if (altsblock.fs_magic == MTB_UFS_MAGIC) { in main()
1196 use_efi_dflts = (altsblock.fs_version == in main()
1206 (char *)&altsblock); in main()
1207 ret = checksblock(altsblock, 1); in main()
1210 if (altsblock.fs_magic == MTB_UFS_MAGIC) { in main()
1214 use_efi_dflts = (altsblock.fs_version == in main()
2116 rdfs((diskaddr_t)num, sbsize, (char *)&altsblock); in main()
[all …]