Home
last modified time | relevance | path

Searched refs:s_uuid (Results 1 – 24 of 24) sorted by relevance

/third_party/e2fsprogs/misc/
Dfindsuper.c241 if (memcmp(ext2.s_uuid, last_uuid, sizeof(last_uuid)) == 0 && in main()
246 memcpy(last_uuid, ext2.s_uuid, sizeof(last_uuid)); in main()
261 ext2.s_uuid[0], ext2.s_uuid[1], in main()
262 ext2.s_uuid[2], ext2.s_uuid[3], in main()
Dtune2fs.c307 if (!journal_user(fs->super->s_uuid, jsb->s_users, nr_users)) { in remove_journal_device()
1509 uuid_seed = ext2fs_crc32c_le(~0, fs->super->s_uuid, in update_feature_set()
1510 sizeof(fs->super->s_uuid)); in update_feature_set()
2915 memcpy(j_uuid, sb->s_uuid, UUID_SIZE); in fs_update_journal_user()
3327 memcpy(old_uuid, sb->s_uuid, UUID_SIZE); in main()
3330 uuid_clear(sb->s_uuid); in main()
3332 uuid_generate_time(sb->s_uuid); in main()
3334 uuid_generate(sb->s_uuid); in main()
3335 } else if (uuid_parse(new_UUID, sb->s_uuid)) { in main()
3354 memcpy(jsb->s_uuid, sb->s_uuid, sizeof(sb->s_uuid)); in main()
De2undo.c154 if (memcmp(fs_super->s_uuid, undo_super->s_uuid, in print_undo_mismatch()
155 sizeof(fs_super->s_uuid))) in print_undo_mismatch()
Dmke2fs.c735 if (!e2p_is_null_uuid(s->s_uuid)) in show_stats()
736 printf(_("Filesystem UUID: %s\n"), e2p_uuid2str(s->s_uuid)); in show_stats()
3135 uuid_clear(fs->super->s_uuid); in main()
3137 uuid_generate_time(fs->super->s_uuid); in main()
3139 uuid_generate(fs->super->s_uuid); in main()
3140 } else if (uuid_parse(fs_uuid, fs->super->s_uuid) != 0) { in main()
3146 uuid_generate(fs->super->s_uuid); in main()
3150 fs->super->s_uuid, sizeof(fs->super->s_uuid)); in main()
3193 for (i = 0, val = 0 ; i < sizeof(fs->super->s_uuid); i++) in main()
3194 val += fs->super->s_uuid[i]; in main()
De2image.c293 memcpy(hdr.fs_uuid, fs->super->s_uuid, sizeof(hdr.fs_uuid)); in write_image_file()
Dfuse2fs.c772 memcpy(&fakedev, fs->super->s_uuid, sizeof(fakedev)); in stat_inode()
2377 f = (uint64_t *)fs->super->s_uuid; in op_statfs()
/third_party/e2fsprogs/debugfs/
Ddo_journal.c356 trans->journal->j_superblock->s_uuid, in journal_add_blocks_to_trans()
357 sizeof(trans->journal->j_superblock->s_uuid)); in journal_add_blocks_to_trans()
802 journal->j_csum_seed = jbd2_chksum(journal, ~0, jsb->s_uuid, in update_journal_csum()
803 sizeof(jsb->s_uuid)); in update_journal_csum()
819 for (z = 0; z < sizeof(journal->j_superblock->s_uuid); z++) in update_uuid()
820 if (journal->j_superblock->s_uuid[z]) in update_uuid()
839 memcpy(journal->j_superblock->s_uuid, fs->super->s_uuid, in update_uuid()
840 sizeof(fs->super->s_uuid)); in update_uuid()
Djournal.c466 if (memcmp(jsuper.s_uuid, fs->super->s_journal_uuid, in ext2fs_get_journal()
467 sizeof(jsuper.s_uuid))) { in ext2fs_get_journal()
620 journal->j_csum_seed = jbd2_chksum(journal, ~0, jsb->s_uuid, in ext2fs_journal_load()
621 sizeof(jsb->s_uuid)); in ext2fs_journal_load()
Dlogdump.c383 uuid_unparse(sb->s_uuid, jsb_buffer); in dump_journal()
Dset_fields.c122 { "uuid", &set_sb.s_uuid, NULL, 16, parse_uuid },
/third_party/e2fsprogs/lib/ext2fs/
Dmkjournal.c73 memcpy(jsb->s_uuid, fs->super->s_uuid, sizeof(fs->super->s_uuid)); in ext2fs_create_journal_superblock2()
461 if (memcmp(fs->super->s_uuid, in ext2fs_add_journal_device()
467 fs->super->s_uuid, 16); in ext2fs_add_journal_device()
478 memcpy(fs->super->s_journal_uuid, jsb->s_uuid, in ext2fs_add_journal_device()
Dcsum.c39 fs->csum_seed = ext2fs_crc32c_le(~0, fs->super->s_uuid, in ext2fs_init_csum_seed()
40 sizeof(fs->super->s_uuid)); in ext2fs_init_csum_seed()
761 crc = ext2fs_crc16(~0, fs->super->s_uuid, in ext2fs_group_desc_csum()
762 sizeof(fs->super->s_uuid)); in ext2fs_group_desc_csum()
904 crc1 = ext2fs_crc16(~0, sb->s_uuid, sizeof(fs->super->s_uuid)); in print_csum()
918 msg, e2p_uuid2str(sb->s_uuid), crc1, group, crc2, crc3, in print_csum()
948 memcpy(fs->super->s_uuid, sb_uuid, 16); in main()
991 memset(fs->super->s_uuid, 0x30, sizeof(fs->super->s_uuid)); in main()
Dtst_super_size.c86 check_field(s_uuid, 16); in main()
Dkernel-jbd.h208 __u8 s_uuid[16]; /* 128-bit uuid for journal */ member
Dicount.c219 uuid_unparse(fs->super->s_uuid, uuid); in ext2fs_create_icount_tdb()
Dext2_fs.h698 /*068*/ __u8 s_uuid[16] __nonstring; /* 128-bit uuid for volume */ member
/third_party/e2fsprogs/e2fsck/
Dsuper.c939 if (!(ctx->options & E2F_OPT_READONLY) && uuid_is_null(sb->s_uuid) && in check_super_block()
943 uuid_generate(sb->s_uuid); in check_super_block()
1175 memcmp(fs->super->s_uuid, backup_sb->s_uuid, in check_backup_super_block()
1176 sizeof(fs->super->s_uuid))) in check_backup_super_block()
Djournal.c1143 if (memcmp(jsuper.s_uuid, ctx->fs->super->s_journal_uuid, in e2fsck_get_journal()
1144 sizeof(jsuper.s_uuid))) { in e2fsck_get_journal()
1335 journal->j_csum_seed = jbd2_chksum(journal, ~0, jsb->s_uuid, in e2fsck_journal_load()
1336 sizeof(jsb->s_uuid)); in e2fsck_journal_load()
Ddirinfo.c70 uuid_unparse(ctx->fs->super->s_uuid, uuid); in setup_tdb()
Dunix.c1722 if (!uuid_is_null(sb->s_uuid)) { in main()
1725 uuid_unparse(sb->s_uuid, buf); in main()
1752 e2p_uuid2str(sb->s_uuid)); in main()
/third_party/e2fsprogs/lib/blkid/
Dprobe.h68 unsigned char s_uuid[16]; member
374 unsigned char s_uuid[16]; member
Dprobe.c152 set_uuid(dev, es->s_uuid, 0); in get_ext2_info()
1074 set_uuid(probe->dev, osb->s_uuid, 0); in probe_ocfs2()
/third_party/e2fsprogs/lib/e2p/
Dls.c245 fprintf(f, "Filesystem UUID: %s\n", e2p_uuid2str(sb->s_uuid)); in list_super2()
/third_party/e2fsprogs/ext2ed/
Dext2.descriptors150 char[16] s_uuid; /* 128-bit uuid for volume */