ext2fs
struct ext2fs *b_fs; /* super block */
e2fs_sbsave(&sblock.e2fs, (struct ext2fs *)(iobuf + sboff));
e2fs_sbsave(&sblock.e2fs, (struct ext2fs *)(iobuf + sboff));
{offsetof(struct ext2fs, e2fs_magic) / 4, E2FS_MAGIC, 0xffff},
{offsetof(struct ext2fs, e2fs_magic) / 4,
FS_OPS(ext2fs),
struct fs_ops ops_ext2fs = FS_OPS(ext2fs);
FS_OPS(ext2fs),
FS_OPS(ext2fs),
FS_OPS(ext2fs),
struct ext2fs ext2fs;
e2fs_sbload((void *)sbbuf, &ext2fs);
if (ext2fs.e2fs_magic != E2FS_MAGIC)
if (ext2fs.e2fs_rev > E2FS_REV1 ||
(ext2fs.e2fs_rev == E2FS_REV1 &&
(ext2fs.e2fs_first_ino != EXT2_FIRSTINO ||
(ext2fs.e2fs_inode_size != 128 && ext2fs.e2fs_inode_size != 256) ||
ext2fs.e2fs_features_incompat & ~EXT2F_INCOMPAT_SUPP))) {
fs->e2fs_ipb = fs->e2fs_bsize / ext2fs.e2fs_inode_size;
e2fs_sb_bswap(struct ext2fs *old, struct ext2fs *new)
memcpy(new, old, sizeof(struct ext2fs));
FS_DEF(ext2fs);
struct ext2fs e2fs;
void e2fs_sb_bswap(struct ext2fs *, struct ext2fs *);
e2fs_sb_bswap(struct ext2fs *old, struct ext2fs *new)
memcpy(new, old, sizeof(struct ext2fs));
VFS_PROTOS(ext2fs);
struct ext2fs *fs;
struct ext2fs *fs;
struct ext2fs *fs;/* F, G, and H are MD4 functions */
MODULE(MODULE_CLASS_VFS, ext2fs, "ufs");
e2fs_sbsave(&fs->e2fs, (struct ext2fs*)bp->b_data);
struct ext2fs *fs = &m_fs->e2fs;
struct ext2fs *newfs;
newfs = (struct ext2fs *)bp->b_data;
struct ext2fs *fs;
fs = (struct ext2fs *)bp->b_data;
ATF_TC_FSADD(ext2fs,MOUNT_EXT2FS,func,desc) \
ATF_TP_FSADD(ext2fs,func); \
ATF_TC_FSADD_RO(ext2fs,MOUNT_EXT2FS,func,desc,gen) \
ATF_TP_FSADD(ext2fs,func); \
FSPROTOS(ext2fs);