Lines Matching defs:id
73 int volume_id_probe_ext(struct volume_id *id, uint64_t off, uint64_t size)
80 es = (struct ext2_super_block *) volume_id_get_buffer(id, off + EXT_SUPERBLOCK_OFFSET, 0x200);
94 volume_id_set_label_raw(id, es->s_volume_name, 16);
95 volume_id_set_label_string(id, es->s_volume_name, 16);
96 volume_id_set_uuid(id, es->s_uuid, 0, UUID_DCE);
97 snprintf(id->type_version, sizeof(id->type_version)-1, "%u.%u",
102 volume_id_set_usage(id, VOLUME_ID_OTHER);
103 id->type = "jbd";
108 volume_id_set_usage(id, VOLUME_ID_FILESYSTEM);
110 id->type = "ext3";
112 id->type = "ext2";