Searched refs:mmp_s (Results 1 – 4 of 4) sorted by relevance
/external/e2fsprogs/lib/ext2fs/ |
D | mmp.c | 114 struct mmp_struct *mmp_s = buf; in ext2fs_mmp_write() local 119 mmp_s->mmp_time = tv.tv_sec; in ext2fs_mmp_write() 127 ext2fs_swap_mmp(mmp_s); in ext2fs_mmp_write() 130 retval = ext2fs_mmp_csum_set(fs, mmp_s); in ext2fs_mmp_write() 139 ext2fs_swap_mmp(mmp_s); in ext2fs_mmp_write() 182 struct mmp_struct *mmp_s = NULL; in ext2fs_mmp_reset() local 192 mmp_s = fs->mmp_buf; in ext2fs_mmp_reset() 194 mmp_s->mmp_magic = EXT4_MMP_MAGIC; in ext2fs_mmp_reset() 195 mmp_s->mmp_seq = EXT4_MMP_SEQ_CLEAN; in ext2fs_mmp_reset() 196 mmp_s->mmp_time = 0; in ext2fs_mmp_reset() [all …]
|
/external/e2fsprogs/debugfs/ |
D | set_fields.c | 872 struct mmp_struct *mmp_s; in do_set_mmp_value() local 892 mmp_s = current_fs->mmp_buf; in do_set_mmp_value() 893 if (mmp_s == NULL) { in do_set_mmp_value() 894 retval = ext2fs_get_mem(current_fs->blocksize, &mmp_s); in do_set_mmp_value() 900 current_fs->super->s_mmp_block, mmp_s); in do_set_mmp_value() 904 ext2fs_free_mem(&mmp_s); in do_set_mmp_value() 907 current_fs->mmp_buf = mmp_s; in do_set_mmp_value() 916 set_mmp = *mmp_s; in do_set_mmp_value() 920 *mmp_s = set_mmp; in do_set_mmp_value()
|
D | debugfs.c | 2296 struct mmp_struct *mmp_s; in do_dump_mmp() local 2331 mmp_s = current_fs->mmp_buf; in do_dump_mmp() 2340 t = mmp_s->mmp_time; in do_dump_mmp() 2344 fprintf(stdout, "check_interval: %d\n", mmp_s->mmp_check_interval); in do_dump_mmp() 2345 fprintf(stdout, "sequence: %08x\n", mmp_s->mmp_seq); in do_dump_mmp() 2346 fprintf(stdout, "time: %lld -- %s", mmp_s->mmp_time, ctime(&t)); in do_dump_mmp() 2347 fprintf(stdout, "node_name: %s\n", mmp_s->mmp_nodename); in do_dump_mmp() 2348 fprintf(stdout, "device_name: %s\n", mmp_s->mmp_bdevname); in do_dump_mmp() 2349 fprintf(stdout, "magic: 0x%x\n", mmp_s->mmp_magic); in do_dump_mmp() 2350 fprintf(stdout, "checksum: 0x%08x\n", mmp_s->mmp_checksum); in do_dump_mmp()
|
/external/e2fsprogs/e2fsck/ |
D | unix.c | 1149 struct mmp_struct *mmp_s; in e2fsck_check_mmp() local 1166 mmp_s = fs->mmp_buf; in e2fsck_check_mmp() 1176 if (mmp_s->mmp_check_interval > mmp_check_interval) in e2fsck_check_mmp() 1177 mmp_check_interval = mmp_s->mmp_check_interval; in e2fsck_check_mmp() 1181 if (mmp_s->mmp_seq == EXT4_MMP_SEQ_CLEAN) in e2fsck_check_mmp() 1183 else if (mmp_s->mmp_seq == EXT4_MMP_SEQ_FSCK) in e2fsck_check_mmp() 1185 else if (mmp_s->mmp_seq > EXT4_MMP_SEQ_MAX) in e2fsck_check_mmp()
|