Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ext2fs/
Dmmp.c116 struct mmp_struct *mmp_s = buf; in ext2fs_mmp_write() local
121 mmp_s->mmp_time = tv.tv_sec; in ext2fs_mmp_write()
129 ext2fs_swap_mmp(mmp_s); in ext2fs_mmp_write()
132 retval = ext2fs_mmp_csum_set(fs, mmp_s); in ext2fs_mmp_write()
141 ext2fs_swap_mmp(mmp_s); in ext2fs_mmp_write()
184 struct mmp_struct *mmp_s = NULL; in ext2fs_mmp_reset() local
194 mmp_s = fs->mmp_buf; in ext2fs_mmp_reset()
196 mmp_s->mmp_magic = EXT4_MMP_MAGIC; in ext2fs_mmp_reset()
197 mmp_s->mmp_seq = EXT4_MMP_SEQ_CLEAN; in ext2fs_mmp_reset()
198 mmp_s->mmp_time = 0; in ext2fs_mmp_reset()
[all …]
/external/e2fsprogs/debugfs/
Dset_fields.c880 struct mmp_struct *mmp_s; in do_set_mmp_value() local
900 mmp_s = current_fs->mmp_buf; in do_set_mmp_value()
901 if (mmp_s == NULL) { in do_set_mmp_value()
902 retval = ext2fs_get_mem(current_fs->blocksize, &mmp_s); in do_set_mmp_value()
908 current_fs->super->s_mmp_block, mmp_s); in do_set_mmp_value()
912 ext2fs_free_mem(&mmp_s); in do_set_mmp_value()
915 current_fs->mmp_buf = mmp_s; in do_set_mmp_value()
924 set_mmp = *mmp_s; in do_set_mmp_value()
928 *mmp_s = set_mmp; in do_set_mmp_value()
Ddebugfs.c2398 struct mmp_struct *mmp_s; in do_dump_mmp() local
2433 mmp_s = current_fs->mmp_buf; in do_dump_mmp()
2442 t = mmp_s->mmp_time; in do_dump_mmp()
2446 fprintf(stdout, "check_interval: %d\n", mmp_s->mmp_check_interval); in do_dump_mmp()
2447 fprintf(stdout, "sequence: %08x\n", mmp_s->mmp_seq); in do_dump_mmp()
2448 fprintf(stdout, "time: %lld -- %s", mmp_s->mmp_time, ctime(&t)); in do_dump_mmp()
2449 fprintf(stdout, "node_name: %s\n", mmp_s->mmp_nodename); in do_dump_mmp()
2450 fprintf(stdout, "device_name: %s\n", mmp_s->mmp_bdevname); in do_dump_mmp()
2451 fprintf(stdout, "magic: 0x%x\n", mmp_s->mmp_magic); in do_dump_mmp()
2452 fprintf(stdout, "checksum: 0x%08x\n", mmp_s->mmp_checksum); in do_dump_mmp()
/external/e2fsprogs/e2fsck/
Dunix.c1191 struct mmp_struct *mmp_s; in e2fsck_check_mmp() local
1208 mmp_s = fs->mmp_buf; in e2fsck_check_mmp()
1218 if (mmp_s->mmp_check_interval > mmp_check_interval) in e2fsck_check_mmp()
1219 mmp_check_interval = mmp_s->mmp_check_interval; in e2fsck_check_mmp()
1223 if (mmp_s->mmp_seq == EXT4_MMP_SEQ_CLEAN) in e2fsck_check_mmp()
1225 else if (mmp_s->mmp_seq == EXT4_MMP_SEQ_FSCK) in e2fsck_check_mmp()
1227 else if (mmp_s->mmp_seq > EXT4_MMP_SEQ_MAX) in e2fsck_check_mmp()