Home
last modified time | relevance | path

Searched refs:e2fs_gd (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/fs/ext2fs/
H A Dext2_alloc.c622 if (e2fs_gd_get_ndirs(&fs->e2fs_gd[cg]) < minndir && in ext2_dirpref()
623 e2fs_gd_get_nifree(&fs->e2fs_gd[cg]) >= avgifree && in ext2_dirpref()
624 e2fs_gd_get_nbfree(&fs->e2fs_gd[cg]) >= avgbfree) { in ext2_dirpref()
626 minndir = e2fs_gd_get_ndirs(&fs->e2fs_gd[cg]); in ext2_dirpref()
629 if (e2fs_gd_get_ndirs(&fs->e2fs_gd[cg]) < minndir && in ext2_dirpref()
630 e2fs_gd_get_nifree(&fs->e2fs_gd[cg]) >= avgifree && in ext2_dirpref()
631 e2fs_gd_get_nbfree(&fs->e2fs_gd[cg]) >= avgbfree) { in ext2_dirpref()
633 minndir = e2fs_gd_get_ndirs(&fs->e2fs_gd[cg]); in ext2_dirpref()
666 if (e2fs_gd_get_ndirs(&fs->e2fs_gd[cg]) < maxndir && in ext2_dirpref()
667 e2fs_gd_get_nifree(&fs->e2fs_gd[cg]) >= minifree && in ext2_dirpref()
[all …]
H A Dext2_csum.c496 provided = le16toh(fs->e2fs_gd[cg].ext4bgd_i_bmap_csum); in ext2_gd_i_bitmap_csum_verify()
501 hi = le16toh(fs->e2fs_gd[cg].ext4bgd_i_bmap_csum_hi); in ext2_gd_i_bitmap_csum_verify()
524 fs->e2fs_gd[cg].ext4bgd_i_bmap_csum = htole16(csum & 0xFFFF); in ext2_gd_i_bitmap_csum_set()
526 fs->e2fs_gd[cg].ext4bgd_i_bmap_csum_hi = htole16(csum >> 16); in ext2_gd_i_bitmap_csum_set()
538 provided = le16toh(fs->e2fs_gd[cg].ext4bgd_b_bmap_csum); in ext2_gd_b_bitmap_csum_verify()
542 hi = le16toh(fs->e2fs_gd[cg].ext4bgd_b_bmap_csum_hi); in ext2_gd_b_bitmap_csum_verify()
565 fs->e2fs_gd[cg].ext4bgd_b_bmap_csum = htole16(csum & 0xFFFF); in ext2_gd_b_bitmap_csum_set()
567 fs->e2fs_gd[cg].ext4bgd_b_bmap_csum_hi = htole16(csum >> 16); in ext2_gd_b_bitmap_csum_set()
721 if (fs->e2fs_gd[i].ext4bgd_csum != in ext2_gd_csum_verify()
722 ext2_gd_csum(fs, i, &fs->e2fs_gd[i])) { in ext2_gd_csum_verify()
[all …]
H A Dfs.h110 (e2fs_gd_get_i_tables(&(fs)->e2fs_gd[ino_to_cg((fs), (x))]) + \
H A Dext2fs.h179 struct ext2_gd *e2fs_gd; /* Group Descriptors */ member