Lines Matching defs:vg_t

47  * VG handle, vg_t. Performing an operation on a PV or LV object first
48 * requires obtaining a VG handle. Once the vg_t has been obtained, it can
49 * be used to enumerate the pv_t's and lv_t's within that vg_t. Attributes
53 * Any attempt to change a property of a pv_t, vg_t, or lv_t without
54 * obtaining write permission on the vg_t will fail with EPERM.
117 typedef struct volume_group *vg_t;
290 * vg_t vg;
355 vg_t lvm_vg_open(lvm_t libh, const char *vgname, const char *mode,
379 vg_t lvm_vg_create(lvm_t libh, const char *vg_name);
394 int lvm_vg_write(vg_t vg);
408 int lvm_vg_remove(vg_t vg);
422 int lvm_vg_close(vg_t vg);
445 int lvm_vg_extend(vg_t vg, const char *device);
464 int lvm_vg_reduce(vg_t vg, const char *device);
483 int lvm_vg_set_extent_size(vg_t vg, uint32_t new_size);
494 uint64_t lvm_vg_is_clustered(vg_t vg);
505 uint64_t lvm_vg_is_exported(vg_t vg);
520 uint64_t lvm_vg_is_partial(vg_t vg);
535 uint64_t lvm_vg_get_seqno(const vg_t vg);
549 char *lvm_vg_get_uuid(const vg_t vg);
563 char *lvm_vg_get_name(const vg_t vg);
574 uint64_t lvm_vg_get_size(const vg_t vg);
585 uint64_t lvm_vg_get_free_size(const vg_t vg);
596 uint64_t lvm_vg_get_extent_size(const vg_t vg);
607 uint64_t lvm_vg_get_extent_count(const vg_t vg);
618 uint64_t lvm_vg_get_free_extent_count(const vg_t vg);
629 uint64_t lvm_vg_get_pv_count(const vg_t vg);
640 uint64_t lvm_vg_get_max_pv(const vg_t vg);
651 uint64_t lvm_vg_get_max_lv(const vg_t vg);
665 struct dm_list *lvm_vg_list_lvs(vg_t vg);
687 lv_t lvm_vg_create_lv_linear(vg_t vg, const char *name, uint64_t size);
831 struct dm_list *lvm_vg_list_pvs(vg_t vg);