3 struct guestfs_lvm_pv {
5 /* The next field is NOT nul-terminated, be careful when printing it: */
14 int64_t pv_pe_alloc_count;
20 struct guestfs_lvm_pv_list {
21 uint32_t len; /* Number of elements in list. */
22 struct guestfs_lvm_pv *val; /* Elements. */
25 void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);
29 struct guestfs_lvm_vg {
31 /* The next field is NOT nul-terminated, be careful when printing it: */
38 uint64_t vg_extent_size;
39 int64_t vg_extent_count;
40 int64_t vg_free_count;
51 struct guestfs_lvm_vg_list {
52 uint32_t len; /* Number of elements in list. */
53 struct guestfs_lvm_vg *val; /* Elements. */
56 void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);
60 struct guestfs_lvm_lv {
62 /* The next field is NOT nul-terminated, be careful when printing it: */
67 int64_t lv_kernel_major;
68 int64_t lv_kernel_minor;
72 /* The next field is [0..100] or -1 meaning 'not present': */
74 /* The next field is [0..100] or -1 meaning 'not present': */
81 struct guestfs_lvm_lv_list {
82 uint32_t len; /* Number of elements in list. */
83 struct guestfs_lvm_lv *val; /* Elements. */
86 void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);