Home
last modified time | relevance | path

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

/netbsd-src/external/gpl2/lvm2/dist/lib/format_text/
H A Dtext_label.c43 struct pv_header *pvhdr; in _text_write() local
57 pvhdr = (struct pv_header *) ((void *) buf + xlate32(lh->offset_xl)); in _text_write()
59 pvhdr->device_size_xl = xlate64(info->device_size); in _text_write()
60 memcpy(pvhdr->pv_uuid, &info->dev->pvid, sizeof(struct id)); in _text_write()
61 if (!id_write_format((const struct id *)pvhdr->pv_uuid, buffer, in _text_write()
67 pvh_dlocn_xl = &pvhdr->disk_areas_xl[0]; in _text_write()
98 if (xlate64(pvhdr->disk_areas_xl[0].offset) || in _text_write()
99 xlate64(pvhdr->disk_areas_xl[0].size)) in _text_write()
107 if (!xlate64(pvhdr->disk_areas_xl[mda1].offset) && in _text_write()
108 !xlate64(pvhdr->disk_areas_xl[mda1].size)) in _text_write()
[all …]