Home
last modified time | relevance | path

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

/third_party/e2fsprogs/lib/ext2fs/
Dmmp.c47 struct mmp_struct *mmp_cmp; in ext2fs_mmp_read() local
80 if (fs->mmp_cmp == NULL) { in ext2fs_mmp_read()
84 &fs->mmp_cmp); in ext2fs_mmp_read()
96 if (read(fs->mmp_fd, fs->mmp_cmp, fs->blocksize) != fs->blocksize) { in ext2fs_mmp_read()
101 mmp_cmp = fs->mmp_cmp; in ext2fs_mmp_read()
104 !ext2fs_mmp_csum_verify(fs, mmp_cmp)) in ext2fs_mmp_read()
108 ext2fs_swap_mmp(mmp_cmp); in ext2fs_mmp_read()
111 if (buf != NULL && buf != fs->mmp_cmp) in ext2fs_mmp_read()
112 memcpy(buf, fs->mmp_cmp, fs->blocksize); in ext2fs_mmp_read()
114 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.h306 void *mmp_cmp; member
/third_party/e2fsprogs/e2fsck/
Dutil.c789 dump_mmp_msg(fs->mmp_cmp, in e2fsck_mmp_update()
/third_party/e2fsprogs/misc/
Dtune2fs.c1205 struct mmp_struct *mmp_cmp = fs->mmp_cmp; in update_feature_set() local
1210 EXT4_MMP_MAGIC, mmp_cmp->mmp_magic); in update_feature_set()