Home
last modified time | relevance | path

Searched refs:mmp_cmp (Results 1 – 7 of 7) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dmmp.c47 struct mmp_struct *mmp_cmp; in ext2fs_mmp_read() local
67 if (fs->mmp_cmp == NULL) { in ext2fs_mmp_read()
71 &fs->mmp_cmp); in ext2fs_mmp_read()
83 if (read(fs->mmp_fd, fs->mmp_cmp, fs->blocksize) != fs->blocksize) { in ext2fs_mmp_read()
88 mmp_cmp = fs->mmp_cmp; in ext2fs_mmp_read()
91 !ext2fs_mmp_csum_verify(fs, mmp_cmp)) in ext2fs_mmp_read()
95 ext2fs_swap_mmp(mmp_cmp); in ext2fs_mmp_read()
98 if (buf != NULL && buf != fs->mmp_cmp) in ext2fs_mmp_read()
99 memcpy(buf, fs->mmp_cmp, fs->blocksize); in ext2fs_mmp_read()
101 if (mmp_cmp->mmp_magic != EXT4_MMP_MAGIC) { in ext2fs_mmp_read()
[all …]
Ddupfs.c44 fs->mmp_cmp = 0; in ext2fs_dup_handle()
106 if (src->mmp_cmp) { in ext2fs_dup_handle()
110 &fs->mmp_cmp); in ext2fs_dup_handle()
113 memcpy(fs->mmp_cmp, src->mmp_cmp, src->blocksize); in ext2fs_dup_handle()
Dfreefs.c60 if (fs->mmp_cmp) in ext2fs_free()
61 ext2fs_free_mem(&fs->mmp_cmp); in ext2fs_free()
Dtst_fs_struct.c75 check_field(mmp_cmp); in main()
Dext2fs.h285 void *mmp_cmp; member
/external/e2fsprogs/e2fsck/
Dutil.c791 dump_mmp_msg(fs->mmp_cmp, in e2fsck_mmp_update()
/external/e2fsprogs/misc/
Dtune2fs.c1224 struct mmp_struct *mmp_cmp = fs->mmp_cmp; in update_feature_set() local
1229 EXT4_MMP_MAGIC, mmp_cmp->mmp_magic); in update_feature_set()