Home
last modified time | relevance | path

Searched refs:mmp_buf (Results 1 – 10 of 10) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dmmp.c187 if (fs->mmp_buf == NULL) { in ext2fs_mmp_reset()
188 retval = ext2fs_get_mem(fs->blocksize, &fs->mmp_buf); in ext2fs_mmp_reset()
193 memset(fs->mmp_buf, 0, fs->blocksize); in ext2fs_mmp_reset()
194 mmp_s = fs->mmp_buf; in ext2fs_mmp_reset()
211 retval = ext2fs_mmp_write(fs, fs->super->s_mmp_block, fs->mmp_buf); in ext2fs_mmp_reset()
251 if (fs->mmp_buf == NULL) { in ext2fs_mmp_init()
252 retval = ext2fs_get_mem(fs->blocksize, &fs->mmp_buf); in ext2fs_mmp_init()
257 retval = ext2fs_alloc_block2(fs, 0, fs->mmp_buf, &mmp_block); in ext2fs_mmp_init()
289 if (fs->mmp_buf == NULL) { in ext2fs_mmp_start()
290 retval = ext2fs_get_mem(fs->blocksize, &fs->mmp_buf); in ext2fs_mmp_start()
[all …]
Ddupfs.c43 fs->mmp_buf = 0; in ext2fs_dup_handle()
93 if (src->mmp_buf) { in ext2fs_dup_handle()
94 retval = ext2fs_get_mem(src->blocksize, &fs->mmp_buf); in ext2fs_dup_handle()
97 memcpy(fs->mmp_buf, src->mmp_buf, src->blocksize); in ext2fs_dup_handle()
Dfreefs.c58 if (fs->mmp_buf) in ext2fs_free()
59 ext2fs_free_mem(&fs->mmp_buf); in ext2fs_free()
Dtst_fs_struct.c74 check_field(mmp_buf); in main()
Dext2fs.h284 void *mmp_buf; member
/external/e2fsprogs/misc/
Ddumpe2fs.c437 if (fs->mmp_buf) { in check_mmp()
438 struct mmp_struct *mmp = fs->mmp_buf; in check_mmp()
464 if (fs->mmp_buf == NULL) { in print_mmp_block()
465 retval = ext2fs_get_mem(fs->blocksize, &fs->mmp_buf); in print_mmp_block()
473 retval = ext2fs_mmp_read(fs, fs->super->s_mmp_block, fs->mmp_buf); in print_mmp_block()
484 mmp = fs->mmp_buf; in print_mmp_block()
Dtune2fs.c2951 dump_mmp_msg(fs->mmp_buf, in main()
2956 dump_mmp_msg(fs->mmp_buf, NULL); in main()
/external/e2fsprogs/e2fsck/
Dunix.c1198 if (fs->mmp_buf == NULL) { in e2fsck_check_mmp()
1199 retval = ext2fs_get_mem(fs->blocksize, &fs->mmp_buf); in e2fsck_check_mmp()
1204 retval = ext2fs_mmp_read(fs, fs->super->s_mmp_block, fs->mmp_buf); in e2fsck_check_mmp()
1208 mmp_s = fs->mmp_buf; in e2fsck_check_mmp()
1253 dump_mmp_msg(fs->mmp_buf, NULL); in e2fsck_check_mmp()
1258 dump_mmp_msg(fs->mmp_buf, in e2fsck_check_mmp()
/external/e2fsprogs/debugfs/
Dset_fields.c867 memcpy(info->ptr, current_fs->mmp_buf, info->size); in parse_mmp_clear()
900 mmp_s = current_fs->mmp_buf; in do_set_mmp_value()
915 current_fs->mmp_buf = mmp_s; in do_set_mmp_value()
Ddebugfs.c2424 if (current_fs->mmp_buf == NULL) { in do_dump_mmp()
2426 &current_fs->mmp_buf); in do_dump_mmp()
2433 mmp_s = current_fs->mmp_buf; in do_dump_mmp()
2435 retval = ext2fs_mmp_read(current_fs, mmp_block, current_fs->mmp_buf); in do_dump_mmp()