Searched refs:pv_count (Results 1 - 18 of 18) sorted by relevance

/netbsd-current/external/gpl2/lvm2/dist/test/
H A Dt-vgchange-usage.sh34 pv_count=$(get_vg_field $vg pv_count)
36 grep "MaxPhysicalVolumes is less than the current number $pv_count of PVs for" err
H A Dlvm-utils.sh142 check_vg_field_ $local_vg pv_count $num_pvs &&
/netbsd-current/external/gpl2/lvm2/dist/lib/metadata/
H A Dpv_manip.c257 uint32_t pv_count = 0, free_count = 0, extent_count = 0; local
265 pv_count++;
317 if (pv_count != vg->pv_count) {
318 log_error("PV segment VG pv_count mismatch: %u != %u",
319 pv_count, vg->pv_count);
H A Dmetadata.c215 if (vg->pv_count && (vg->pv_count == vg->max_pv)) {
237 vg->pv_count++;
334 vg_from->pv_count--;
335 vg_to->pv_count++;
593 * - pv_count: count of device paths of PVs
598 int vg_extend(struct volume_group *vg, int pv_count, char **pv_names, argument
607 for (i = 0; i < pv_count; i++) {
654 vg->pv_count--;
838 vg->pv_count
[all...]
H A Dmetadata-exported.h228 uint32_t pv_count; member in struct:volume_group
460 int vg_extend(struct volume_group *vg, int pv_count, char **pv_names,
/netbsd-current/external/gpl2/lvm2/dist/tools/
H A Dvgmerge.c96 vg_to->pv_count += vg_from->pv_count;
H A Dlvcreate.c27 int pv_count; member in struct:lvcreate_cmdline_params
150 if (lcp->pv_count) {
152 lcp->pv_count, lcp->pvs, 1)))
165 if (!lcp->pv_count)
561 lcp->pv_count = argc;
H A Dvgreduce.c25 if (vg->pv_count == 1) {
44 vg->pv_count--;
395 if (vg->pv_count == 1) {
424 vg->pv_count--;
434 if (!vg_split_mdas(cmd, vg, orphan_vg) || !vg->pv_count) {
H A Dvgsplit.c419 if (!(vg_split_mdas(cmd, vg_from, vg_to)) && vg_from->pv_count) {
453 if (vg_from->pv_count) {
H A Dlvconvert.c42 int pv_count; member in struct:lvconvert_params
232 lp->pv_count = argc;
521 lp->pv_count ? lp->pvh : NULL))
671 if (repair || lp->pv_count)
982 if (lp.pv_count) {
983 if (!(lp.pvh = create_pv_list(cmd->mem, vg, lp.pv_count,
/netbsd-current/external/gpl2/lvm2/dist/lib/format1/
H A Dformat1.c34 uint32_t pv_count = 0; local
103 pv_count++;
107 if (pv_count != first->vgd.pv_cur) {
109 pv_count, first->pvd.vg_name, first->vgd.pv_cur);
147 if (!import_pvs(fid->fmt, mem, vg, pvs, &vg->pvs, &vg->pv_count))
H A Dimport-export.c290 vgd->pv_cur = vg->pv_count;
/netbsd-current/external/gpl2/lvm2/dist/lib/display/
H A Ddisplay.c668 active_pvs = vg->pv_count - vg_missing_pv_count(vg);
706 log_print("Cur PV %u", vg->pv_count);
744 active_pvs = vg->pv_count - vg_missing_pv_count(vg);
776 vg->pv_count,
/netbsd-current/external/gpl2/lvm2/dist/lib/report/
H A Dcolumns.h110 FIELD(VGS, vg, NUM, "#PV", pv_count, 3, uint32, "pv_count", "Number of PVs.")
/netbsd-current/external/gpl2/lvm2/dist/lib/format_pool/
H A Dimport_export.c42 vg->pv_count++;
H A Dformat_pool.c123 vg->pv_count = 0;
/netbsd-current/external/gpl2/lvm2/dist/include/
H A Dmetadata-exported.h228 uint32_t pv_count; member in struct:volume_group
460 int vg_extend(struct volume_group *vg, int pv_count, char **pv_names,
/netbsd-current/external/gpl2/lvm2/dist/lib/format_text/
H A Dimport_vsn1.c271 vg->pv_count++;

Completed in 116 milliseconds