Home
last modified time | relevance | path

Searched refs:e2fs (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/fs/ext2fs/
H A Dext2_csum.c79 fs->e2fs_csum_seed = le32toh(fs->e2fs->e4fs_chksum_seed); in ext2_sb_csum_set_seed()
81 fs->e2fs_csum_seed = calculate_crc32c(~0, fs->e2fs->e2fs_uuid, in ext2_sb_csum_set_seed()
82 sizeof(fs->e2fs->e2fs_uuid)); in ext2_sb_csum_set_seed()
92 if (fs->e2fs->e4fs_chksum_type != EXT4_CRC32C_CHKSUM) { in ext2_sb_csum_verify()
97 if (le32toh(fs->e2fs->e4fs_sbchksum) != in ext2_sb_csum_verify()
98 calculate_crc32c(~0, (const char *)fs->e2fs, in ext2_sb_csum_verify()
102 fs->e2fs_fsmnt, le32toh(fs->e2fs->e4fs_sbchksum), in ext2_sb_csum_verify()
103 calculate_crc32c(~0, (const char *)fs->e2fs, in ext2_sb_csum_verify()
115 fs->e2fs->e4fs_sbchksum = in ext2_sb_csum_set()
116 htole32(calculate_crc32c(~0, (const char *)fs->e2fs, in ext2_sb_csum_set()
[all …]
H A Dext2fs.h153 struct ext2fs * e2fs; member
347 ( le32toh(EXT2_SB(sb)->e2fs->e2fs_features_compat) & mask)
349 ( le32toh(EXT2_SB(sb)->e2fs->e2fs_features_rocompat) & mask)
351 ( le32toh(EXT2_SB(sb)->e2fs->e2fs_features_incompat) & mask)
428 #define EXT2_FIRST_INO(s) (le32toh((EXT2_SB(s)->e2fs->e2fs_rev) == \
429 E2FS_REV0) ? EXT2_FIRSTINO : le32toh(EXT2_SB(s)->e2fs->e2fs_first_ino))
H A Dfs.h120 #define dtog(fs, d) (((d) - le32toh(fs->e2fs->e2fs_first_dblock)) / \
122 #define dtogd(fs, d) (((d) - le32toh(fs->e2fs->e2fs_first_dblock)) % \
H A Dext2_alloc.c737 EXT2_BLOCKS_PER_GROUP(fs)) + le32toh(fs->e2fs->e2fs_first_dblock)); in ext2_blkpref()
800 return (le32toh(fs->e2fs->e3fs_first_meta_bg)); in ext2_cg_number_gdb_nometa()
827 first_meta_bg = le32toh(fs->e2fs->e3fs_first_meta_bg); in ext2_cg_number_gdb()
845 cg < le32toh(fs->e2fs->e3fs_first_meta_bg) * in ext2_number_base_meta_blocks()
849 number += le16toh(fs->e2fs->e2fs_reserved_ngdb); in ext2_number_base_meta_blocks()
876 return ((block - le32toh(fs->e2fs->e2fs_first_dblock)) / in ext2_get_group_number()
906 le32toh(fs->e2fs->e2fs_first_dblock); in ext2_cg_block_bitmap_init()
964 le32toh(fs->e2fs->e2fs_first_dblock); in ext2_b_bitmap_validate()
1138 le32toh(fs->e2fs->e2fs_first_dblock) + bno); in ext2_alloccg()
1246 return (cg * fs->e2fs_fpg + le32toh(fs->e2fs->e2fs_first_dblock) in ext2_clusteralloc()
[all …]
H A Dext2_htree.c276 fs = ip->i_e2fs->e2fs; in ext2_htree_find_leaf()
684 fs = dp->i_e2fs->e2fs; in ext2_htree_create_index()
802 fs = m_fs->e2fs; in ext2_htree_add_entry()
H A Dext2_inode_cnv.c154 (ip->i_number > le32toh(fs->e2fs->e2fs_icount))) { in ext2_ei2i()
H A Dext2_extents.c76 if (blk < fs->e2fs->e2fs_first_dblock || blk >= fs->e2fs_bcount) in ext4_ext_blk_check()
373 if ((start_blk <= le32toh(fs->e2fs->e2fs_first_dblock)) || in ext4_inode_block_validate()
767 le32toh(fs->e2fs->e2fs_first_dblock); in ext4_ext_blkpref()
H A Dext2_lookup.c79 static SYSCTL_NODE(_vfs, OID_AUTO, e2fs, CTLFLAG_RD | CTLFLAG_MPSAFE, 0,
829 else if (le32toh(de->e2d_ino) > fs->e2fs->e2fs_icount) in ext2_check_direntry()
/freebsd/contrib/file/magic/Magdir/
H A Dfilesystems1332 # 0=stage2 1=ffs 2=e2fs 3=fat 4=minix 5=reiserfs
1349 # 0=stage2 1=ffs 2=e2fs 3=fat 4=minix 5=reiserfs 6=vstafs 7=jfs 8=xfs 9=iso9660 a=ufs2