Home
last modified time | relevance | path

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

12

/external/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], ext2.s_volume_name); in main()
Dmke2fs.c724 if (!e2p_is_null_uuid(s->s_uuid)) in show_stats()
725 printf(_("Filesystem UUID: %s\n"), e2p_uuid2str(s->s_uuid)); in show_stats()
3069 uuid_clear(fs->super->s_uuid); in main()
3071 uuid_generate_time(fs->super->s_uuid); in main()
3073 uuid_generate(fs->super->s_uuid); in main()
3074 } else if (uuid_parse(fs_uuid, fs->super->s_uuid) != 0) { in main()
3080 uuid_generate(fs->super->s_uuid); in main()
3084 fs->super->s_uuid, sizeof(fs->super->s_uuid)); in main()
3127 for (i = 0, val = 0 ; i < sizeof(fs->super->s_uuid); i++) in main()
3128 val += fs->super->s_uuid[i]; in main()
De2undo.c150 if (memcmp(fs_super->s_uuid, undo_super->s_uuid, in print_undo_mismatch()
151 sizeof(fs_super->s_uuid))) in print_undo_mismatch()
Dtune2fs.c306 if (!journal_user(fs->super->s_uuid, jsb->s_users, nr_users)) { in remove_journal_device()
1442 uuid_seed = ext2fs_crc32c_le(~0, fs->super->s_uuid, in update_feature_set()
1443 sizeof(fs->super->s_uuid)); in update_feature_set()
2893 memcpy(j_uuid, sb->s_uuid, UUID_SIZE); in fs_update_journal_user()
3287 memcpy(old_uuid, sb->s_uuid, UUID_SIZE); in main()
3290 uuid_clear(sb->s_uuid); in main()
3292 uuid_generate_time(sb->s_uuid); in main()
3294 uuid_generate(sb->s_uuid); in main()
3295 } else if (uuid_parse(new_UUID, sb->s_uuid)) { in main()
3314 memcpy(jsb->s_uuid, sb->s_uuid, sizeof(sb->s_uuid)); in main()
/external/clang/test/Sema/
Darray-bounds-ptr-arith.c5 unsigned char s_uuid[8]; // expected-note {{declared here}} member
9 return (void *)es->s_uuid + sizeof(int); // no-warning in ext2_statfs()
13 return (void *)es->s_uuid + 80; // expected-warning {{refers past the end of the array}} in broken()
/external/llvm-project/clang/test/Sema/
Darray-bounds-ptr-arith.c5 unsigned char s_uuid[8]; // expected-note {{declared here}} member
9 return (void *)es->s_uuid + sizeof(int); // no-warning in ext2_statfs()
13 return (void *)es->s_uuid + 80; // expected-warning {{refers past the end of the array}} in broken()
/external/e2fsprogs/lib/ext2fs/
Dmkjournal.c71 memcpy(jsb->s_uuid, fs->super->s_uuid, sizeof(fs->super->s_uuid)); in ext2fs_create_journal_superblock()
407 if (memcmp(fs->super->s_uuid, in ext2fs_add_journal_device()
413 fs->super->s_uuid, 16); in ext2fs_add_journal_device()
424 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()
770 crc = ext2fs_crc16(~0, fs->super->s_uuid, in ext2fs_group_desc_csum()
771 sizeof(fs->super->s_uuid)); in ext2fs_group_desc_csum()
913 crc1 = ext2fs_crc16(~0, sb->s_uuid, sizeof(fs->super->s_uuid)); in print_csum()
927 msg, e2p_uuid2str(sb->s_uuid), crc1, group, crc2, crc3, in print_csum()
957 memcpy(fs->super->s_uuid, sb_uuid, 16); in main()
1000 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.h227 __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.h685 /*068*/ __u8 s_uuid[16]; /* 128-bit uuid for volume */ member
/external/e2fsprogs/debugfs/
Ddo_journal.c355 trans->journal->j_superblock->s_uuid, in journal_add_blocks_to_trans()
356 sizeof(trans->journal->j_superblock->s_uuid)); in journal_add_blocks_to_trans()
797 journal->j_csum_seed = jbd2_chksum(journal, ~0, jsb->s_uuid, in update_journal_csum()
798 sizeof(jsb->s_uuid)); in update_journal_csum()
814 for (z = 0; z < sizeof(journal->j_superblock->s_uuid); z++) in update_uuid()
815 if (journal->j_superblock->s_uuid[z]) in update_uuid()
834 memcpy(journal->j_superblock->s_uuid, fs->super->s_uuid, in update_uuid()
835 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.c374 uuid_unparse(sb->s_uuid, jsb_buffer); in dump_journal()
Dset_fields.c122 { "uuid", &set_sb.s_uuid, NULL, 16, parse_uuid },
/external/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.c474 if (memcmp(jsuper.s_uuid, ctx->fs->super->s_journal_uuid, in e2fsck_get_journal()
475 sizeof(jsuper.s_uuid))) { in e2fsck_get_journal()
662 journal->j_csum_seed = jbd2_chksum(journal, ~0, jsb->s_uuid, in e2fsck_journal_load()
663 sizeof(jsb->s_uuid)); in e2fsck_journal_load()
Ddirinfo.c70 uuid_unparse(ctx->fs->super->s_uuid, uuid); in setup_tdb()
Dunix.c1711 if (!uuid_is_null(sb->s_uuid)) { in main()
1712 uuid_unparse(sb->s_uuid, buf); in main()
1740 e2p_uuid2str(sb->s_uuid)); in main()
/external/e2fsprogs/lib/blkid/
Dprobe.h68 unsigned char s_uuid[16]; member
374 unsigned char s_uuid[16]; member
Dprobe.c151 set_uuid(dev, es->s_uuid, 0); in get_ext2_info()
1073 set_uuid(probe->dev, osb->s_uuid, 0); in probe_ocfs2()
/external/kernel-headers/original/uapi/linux/
Dnilfs2_ondisk.h190 /*98*/ __u8 s_uuid[16]; /* 128-bit uuid for volume */ member
/external/e2fsprogs/lib/e2p/
Dls.c247 fprintf(f, "Filesystem UUID: %s\n", e2p_uuid2str(sb->s_uuid)); in list_super2()
/external/e2fsprogs/ext2ed/
Dext2.descriptors150 char[16] s_uuid; /* 128-bit uuid for volume */

12