Home
last modified time | relevance | path

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

/netbsd-src/external/gpl2/lvm2/dist/tools/
H A Dvgcreate.c65 !vg_set_max_pv(vg, vp_new.max_pv) || in vgcreate()
83 if (vp_new.max_pv != vg->max_pv) in vgcreate()
85 "(0 means unlimited)", vg->max_pv); in vgcreate()
H A Dvgconvert.c80 if (!vg->max_pv) in vgconvert_single()
81 vg->max_pv = 255; in vgconvert_single()
H A Dtoollib.c1193 vp_def->max_pv = vg->max_pv; in vgcreate_params_set_defaults()
1200 vp_def->max_pv = DEFAULT_MAX_PV; in vgcreate_params_set_defaults()
1220 vp_new->max_pv = arg_uint_value(cmd, maxphysicalvolumes_ARG, in vgcreate_params_set_from_args()
1221 vp_def->max_pv); in vgcreate_params_set_from_args()
H A Dvgchange.c317 uint32_t max_pv = arg_uint_value(cmd, maxphysicalvolumes_ARG, 0); in _vgchange_physicalvolumes() local
329 if (!vg_set_max_pv(vg, max_pv)) { in _vgchange_physicalvolumes()
H A Dvgsplit.c385 !vg_set_max_pv(vg_to, vp_new.max_pv) || in vgsplit()
/netbsd-src/external/gpl2/lvm2/dist/test/
H A Dt-vgchange-usage.sh30 aux check_vg_field_ $vg max_pv 0
32 aux check_vg_field_ $vg max_pv 128
37 aux check_vg_field_ $vg max_pv 128
H A Dt-vgcreate-usage.sh35 check_vg_field_ $vg max_pv 128
87 check_vg_field_ $vg max_pv 0
H A Dt-vgsplit-usage.sh53 check_vg_field_ $vg2 max_pv 128
141 compare_vg_field_ $vg1 $vg2 max_pv
/netbsd-src/external/gpl2/lvm2/dist/lib/metadata/
H A Dmetadata.c215 if (vg->pv_count && (vg->pv_count == vg->max_pv)) { in add_pv_to_vg()
218 vg->name, vg->max_pv); in add_pv_to_vg()
707 if (!vp->max_pv) in vgcreate_params_validate()
708 vp->max_pv = 255; in vgcreate_params_validate()
709 if (vp->max_lv > 255 || vp->max_pv > 255) { in vgcreate_params_validate()
834 vg->max_pv = DEFAULT_MAX_PV; in vg_create()
1090 int vg_set_max_pv(struct volume_group *vg, uint32_t max_pv) in vg_set_max_pv() argument
1099 if (!max_pv) in vg_set_max_pv()
1100 max_pv = 255; in vg_set_max_pv()
1101 else if (max_pv > 255) { in vg_set_max_pv()
[all …]
H A Dmetadata-exported.h225 uint32_t max_pv; member
465 int vg_set_max_pv(struct volume_group *vg, uint32_t max_pv);
748 size_t max_pv; member
/netbsd-src/external/gpl2/lvm2/dist/lib/format1/
H A Dformat1.c416 if (!vg->max_pv || vg->max_pv >= MAX_PV) in _format1_vg_setup()
417 vg->max_pv = MAX_PV - 1; in _format1_vg_setup()
H A Dimport-export.c257 vg->max_pv = vgd->pv_max; in import_vg()
289 vgd->pv_max = vg->max_pv; in export_vg()
/netbsd-src/external/gpl2/lvm2/dist/include/
H A Dmetadata-exported.h225 uint32_t max_pv; member
465 int vg_set_max_pv(struct volume_group *vg, uint32_t max_pv);
748 size_t max_pv; member
/netbsd-src/external/gpl2/lvm2/dist/lib/report/
H A Dcolumns.h109 FIELD(VGS, vg, NUM, "MaxPV", max_pv, 5, uint32, "max_pv", "Maximum number of PVs allowed in VG or 0…
/netbsd-src/external/gpl2/lvm2/dist/lib/display/
H A Ddisplay.c705 log_print("Max PV %u", vg->max_pv); in vgdisplay_full()
775 vg->max_pv, in vgdisplay_colons()
/netbsd-src/external/gpl2/lvm2/dist/lib/format_pool/
H A Dimport_export.c52 vg->max_pv = POOL_MAX_DEVICES; in import_pool_vg()
/netbsd-src/external/gpl2/lvm2/dist/lib/format_text/
H A Dexport.c395 outf(f, "max_pv = %u", vg->max_pv); in _print_vg()
H A Dimport_vsn1.c714 if (!_read_int32(vgn, "max_pv", &vg->max_pv)) { in _read_vg()
/netbsd-src/external/gpl2/lvm2/dist/
H A DWHATS_NEW195 Refactor vgchange extent_size, max_lv, max_pv, and alloc_policy for liblvm.
/netbsd-src/external/gpl2/lvm2/dist/po/
H A Dlvm2.po3057 msgid "Couldn't read 'max_pv' for volume group %s."