/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/include/ |
H A D | uuid.h | 32 union lvid { union 37 int lvid_from_lvnum(union lvid *lvid, struct id *vgid, uint32_t lv_num); 38 int lvnum_from_lvid(union lvid *lvid); 39 int lvid_in_restricted_range(union lvid *lvid); 43 int lvid_create(union lvid *lvid, struct id *vgid);
|
H A D | targets.h | 34 char *build_dlid(struct dev_manager *dm, const char *lvid, const char *layer);
|
H A D | metadata-exported.h | 315 union lvid lvid; member in struct:logical_volume 483 union lvid *lvid, 632 union lvid *lvid, uint32_t extent_count,
|
H A D | locking.h | 44 * char *vol holds lvid 126 lock_vol(cmd, (lv)->lvid.s, flags | LCK_LV_CLUSTERED(lv))
|
H A D | metadata.h | 290 const union lvid *lvid); 299 /* Find LV with given lvid (used during activation) */
|
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/uuid/ |
H A D | uuid.h | 32 union lvid { union 37 int lvid_from_lvnum(union lvid *lvid, struct id *vgid, uint32_t lv_num); 38 int lvnum_from_lvid(union lvid *lvid); 39 int lvid_in_restricted_range(union lvid *lvid); 43 int lvid_create(union lvid *lvid, struct id *vgid);
|
H A D | uuid.c | 34 int lvid_create(union lvid *lvid, struct id *vgid) argument 36 memcpy(lvid->id, vgid, sizeof(*lvid->id)); 37 return id_create(&lvid->id[1]); 50 int lvid_from_lvnum(union lvid *lvid, struct id *vgid, uint32_t lv_num) argument 54 memcpy(lvid->id, vgid, sizeof(*lvid->id)); 57 lvid 66 lvnum_from_lvid(union lvid *lvid) argument 82 lvid_in_restricted_range(union lvid *lvid) argument [all...] |
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/report/ |
H A D | columns.h | 42 * 'lvid' field of struct 'lv'). 60 FIELD(LVS, lv, STR, "LV UUID", lvid.id[1], 38, uuid, "lv_uuid", "Unique identifier.") 61 FIELD(LVS, lv, STR, "LV", lvid, 4, lvname, "lv_name", "Name. LVs created for internal use are enclosed in brackets.") 62 FIELD(LVS, lv, STR, "Attr", lvid, 4, lvstatus, "lv_attr", "Various attributes - see man page.") 65 FIELD(LVS, lv, NUM, "Rahead", lvid, 6, lvreadahead, "lv_read_ahead", "Read ahead setting in current units.") 66 FIELD(LVS, lv, STR, "KMaj", lvid, 4, lvkmaj, "lv_kernel_major", "Currently assigned major number or -1 if LV is not active.") 67 FIELD(LVS, lv, STR, "KMin", lvid, 4, lvkmin, "lv_kernel_minor", "Currently assigned minor number or -1 if LV is not active.") 68 FIELD(LVS, lv, NUM, "KRahead", lvid, 7, lvkreadahead, "lv_kernel_read_ahead", "Currently-in-use read ahead setting in current units.") 70 FIELD(LVS, lv, NUM, "#Seg", lvid, 4, lvsegcount, "seg_count", "Number of segments in LV.") 71 FIELD(LVS, lv, STR, "Origin", lvid, [all...] |
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/activate/ |
H A D | targets.h | 34 char *build_dlid(struct dev_manager *dm, const char *lvid, const char *layer);
|
H A D | dev_manager.c | 64 static char *_build_dlid(struct dm_pool *mem, const char *lvid, const char *layer) argument 72 len = sizeof(UUID_PREFIX) + sizeof(union lvid) + strlen(layer); 76 " %s %s.", len, lvid, layer); 80 sprintf(dlid, UUID_PREFIX "%s%s%s", lvid, (*layer) ? "-" : "", layer); 85 char *build_dlid(struct dev_manager *dm, const char *lvid, const char *layer) argument 87 return _build_dlid(dm->mem, lvid, layer); 245 if (!(dlid = _build_dlid(mem, lv->lvid.s, NULL))) { 530 if (!(dlid = build_dlid(dm, lv->lvid.s, NULL))) 566 if (!(dlid = build_dlid(dm, lv->lvid.s, suffix))) { 667 if (!(dlid = build_dlid(dm, lv->lvid [all...] |
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/metadata/ |
H A D | snapshot_manip.c | 89 struct logical_volume *cow, union lvid *lvid, 109 lvid, LVM_READ | LVM_WRITE | VISIBLE_LV, 88 vg_add_snapshot(struct logical_volume *origin, struct logical_volume *cow, union lvid *lvid, uint32_t extent_count, uint32_t chunk_size) argument
|
H A D | metadata-exported.h | 315 union lvid lvid; member in struct:logical_volume 483 union lvid *lvid, 632 union lvid *lvid, uint32_t extent_count,
|
H A D | metadata.h | 290 const union lvid *lvid); 299 /* Find LV with given lvid (used during activation) */
|
H A D | metadata.c | 1670 const union lvid *lvid) 1675 if (!strncmp(lvl->lv->lvid.s, lvid->s, sizeof(*lvid))) 2181 if (id_equal(&lvl->lv->lvid.id[1], 2182 &lvl2->lv->lvid.id[1])) { 2183 if (!id_write_format(&lvl->lv->lvid.id[1], uuid, 2898 const union lvid *lvid; local 1669 find_lv_in_vg_by_lvid(struct volume_group *vg, const union lvid *lvid) argument [all...] |
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/tools/ |
H A D | vgmerge.c | 100 union lvid *lvid1 = &lvl1->lv->lvid; 104 union lvid *lvid2 = &lvl2->lv->lvid;
|
H A D | vgconvert.c | 84 /* If converting to restricted lvid, check if lvid is compatible */ 88 if (!lvid_in_restricted_range(&lvl->lv->lvid)) { 89 log_error("Logical volume %s lvid format is" 101 if (lvnum_from_lvid(&lv->lvid) < MAX_RESTRICTED_LVS) 110 lvid_from_lvnum(&lv->lvid, &lv->vg->id, find_free_lvnum(lv));
|
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/locking/ |
H A D | locking.h | 44 * char *vol holds lvid 126 lock_vol(cmd, (lv)->lvid.s, flags | LCK_LV_CLUSTERED(lv))
|
/netbsd-6-1-5-RELEASE/sbin/newfs_udf/ |
H A D | udf_create.c | 1045 struct logvol_int_desc *lvid; local 1052 lvid = context.logvol_integrity; 1055 assert(lvid); 1058 lvid->integrity_type = udf_rw32(type); 1062 udf_set_timestamp_now(&lvid->time); 1065 (lvid->tables + num_partmappings * 2); 1072 lvid->lvint_next_unique_id = udf_rw64(context.unique_id); 1079 lvid->num_part = udf_rw32(num_partmappings); 1083 lvid->l_iu = udf_rw32(l_iu); 1085 pos = &lvid 1105 struct logvol_int_desc *lvid; local [all...] |
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/format_pool/ |
H A D | import_export.c | 83 get_pool_lv_uuid(lv->lvid.id, &pl->pd); 85 lv->lvid.s);
|
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/format1/ |
H A D | import-export.c | 367 lvd->lv_dev = MKDEV(LVM_BLK_MAJOR, lvnum_from_lvid(&lv->lvid)); 459 lvid_from_lvnum(&lv->lvid, &vg->id, lvd->lv_number); 526 lv_num = lvnum_from_lvid(&ll->lv->lvid); 542 lvnum_from_lvid(&ll->lv->snapshot->origin->lvid);
|
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/liblvm/ |
H A D | lvm_lv.c | 38 if (!id_write_format(&lv->lvid.id[1], uuid, sizeof(uuid))) {
|
/netbsd-6-1-5-RELEASE/sys/fs/udf/ |
H A D | udf_allocation.c | 374 struct logvol_int_desc *lvid; local 378 lvid = ump->logvol_integrity; 388 KASSERT(lvid); 389 num_vpart = udf_rw32(lvid->num_part); 401 pos1 = &lvid->tables[0] + vpart; 402 pos2 = &lvid->tables[0] + num_vpart + vpart; 424 struct logvol_int_desc *lvid; local 427 lvid = ump->logvol_integrity; 437 KASSERT(lvid); 447 pos1 = &lvid 1165 struct logvol_int_desc *lvid; local 1315 struct logvol_int_desc *lvid; local 1483 struct logvol_int_desc *lvid; local [all...] |
H A D | udf_vfsops.c | 783 struct logvol_int_desc *lvid; local 802 lvid = ump->logvol_integrity; 803 num_part = udf_rw32(lvid->num_part); 804 impl = (struct udf_logvol_info *) (lvid->tables + 2*num_part); 828 * TODO what about writing out free space maps, lvid etc? only on `waitfor'
|
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/format_text/ |
H A D | import_vsn1.c | 578 /* FIXME: read full lvid */ 579 if (!_read_id(&lv->lvid.id[1], lvn, "id")) { 585 memcpy(&lv->lvid.id[0], &lv->vg->id, sizeof(lv->lvid.id[0]));
|
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/mirror/ |
H A D | mirrored.c | 261 if (!(log_dlid = build_dlid(dm, seg->log_lv->lvid.s, NULL))) { 268 if (!(log_dlid = build_dlid(dm, seg->lv->lvid.s, NULL))) {
|