Searched refs:mmp_buf (Results 1 – 10 of 10) sorted by relevance
/third_party/e2fsprogs/lib/ext2fs/ |
D | mmp.c | 202 if (fs->mmp_buf == NULL) { in ext2fs_mmp_reset() 203 retval = ext2fs_get_mem(fs->blocksize, &fs->mmp_buf); in ext2fs_mmp_reset() 208 memset(fs->mmp_buf, 0, fs->blocksize); in ext2fs_mmp_reset() 209 mmp_s = fs->mmp_buf; in ext2fs_mmp_reset() 226 retval = ext2fs_mmp_write(fs, fs->super->s_mmp_block, fs->mmp_buf); in ext2fs_mmp_reset() 266 if (fs->mmp_buf == NULL) { in ext2fs_mmp_init() 267 retval = ext2fs_get_mem(fs->blocksize, &fs->mmp_buf); in ext2fs_mmp_init() 272 retval = ext2fs_alloc_block2(fs, 0, fs->mmp_buf, &mmp_block); in ext2fs_mmp_init() 304 if (fs->mmp_buf == NULL) { in ext2fs_mmp_start() 305 retval = ext2fs_get_mem(fs->blocksize, &fs->mmp_buf); in ext2fs_mmp_start() [all …]
|
D | dupfs.c | 43 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()
|
D | freefs.c | 58 if (fs->mmp_buf) in ext2fs_free() 59 ext2fs_free_mem(&fs->mmp_buf); in ext2fs_free()
|
D | tst_fs_struct.c | 74 check_field(mmp_buf); in main()
|
D | ext2fs.h | 305 void *mmp_buf; member
|
/third_party/e2fsprogs/misc/ |
D | dumpe2fs.c | 443 if (fs->mmp_buf) { in check_mmp() 444 struct mmp_struct *mmp = fs->mmp_buf; in check_mmp() 472 if (fs->mmp_buf == NULL) { in print_mmp_block() 473 retval = ext2fs_get_mem(fs->blocksize, &fs->mmp_buf); in print_mmp_block() 481 retval = ext2fs_mmp_read(fs, fs->super->s_mmp_block, fs->mmp_buf); in print_mmp_block() 493 mmp = fs->mmp_buf; in print_mmp_block()
|
D | tune2fs.c | 2990 dump_mmp_msg(fs->mmp_buf, in main() 2995 dump_mmp_msg(fs->mmp_buf, NULL); in main()
|
/third_party/e2fsprogs/e2fsck/ |
D | unix.c | 1217 if (fs->mmp_buf == NULL) { in e2fsck_check_mmp() 1218 retval = ext2fs_get_mem(fs->blocksize, &fs->mmp_buf); in e2fsck_check_mmp() 1223 retval = ext2fs_mmp_read(fs, fs->super->s_mmp_block, fs->mmp_buf); in e2fsck_check_mmp() 1227 mmp_s = fs->mmp_buf; in e2fsck_check_mmp() 1272 dump_mmp_msg(fs->mmp_buf, NULL); in e2fsck_check_mmp() 1277 dump_mmp_msg(fs->mmp_buf, in e2fsck_check_mmp()
|
/third_party/e2fsprogs/debugfs/ |
D | set_fields.c | 949 memcpy(info->ptr, current_fs->mmp_buf, info->size); in parse_mmp_clear() 982 mmp_s = current_fs->mmp_buf; in do_set_mmp_value() 997 current_fs->mmp_buf = mmp_s; in do_set_mmp_value()
|
D | debugfs.c | 2442 if (current_fs->mmp_buf == NULL) { in do_dump_mmp() 2444 ¤t_fs->mmp_buf); in do_dump_mmp() 2451 mmp_s = current_fs->mmp_buf; in do_dump_mmp() 2453 retval = ext2fs_mmp_read(current_fs, mmp_block, current_fs->mmp_buf); in do_dump_mmp()
|