/netbsd-src/external/gpl2/lvm2/dist/tools/ |
H A D | vgcreate.c | 65 !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 D | vgconvert.c | 80 if (!vg->max_pv) in vgconvert_single() 81 vg->max_pv = 255; in vgconvert_single()
|
H A D | toollib.c | 1193 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 D | vgchange.c | 317 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 D | vgsplit.c | 385 !vg_set_max_pv(vg_to, vp_new.max_pv) || in vgsplit()
|
/netbsd-src/external/gpl2/lvm2/dist/test/ |
H A D | t-vgchange-usage.sh | 30 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 D | t-vgcreate-usage.sh | 35 check_vg_field_ $vg max_pv 128 87 check_vg_field_ $vg max_pv 0
|
H A D | t-vgsplit-usage.sh | 53 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 D | metadata.c | 215 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 D | metadata-exported.h | 225 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 D | format1.c | 416 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 D | import-export.c | 257 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 D | metadata-exported.h | 225 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 D | columns.h | 109 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 D | display.c | 705 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 D | import_export.c | 52 vg->max_pv = POOL_MAX_DEVICES; in import_pool_vg()
|
/netbsd-src/external/gpl2/lvm2/dist/lib/format_text/ |
H A D | export.c | 395 outf(f, "max_pv = %u", vg->max_pv); in _print_vg()
|
H A D | import_vsn1.c | 714 if (!_read_int32(vgn, "max_pv", &vg->max_pv)) { in _read_vg()
|
/netbsd-src/external/gpl2/lvm2/dist/ |
H A D | WHATS_NEW | 195 Refactor vgchange extent_size, max_lv, max_pv, and alloc_policy for liblvm.
|
/netbsd-src/external/gpl2/lvm2/dist/po/ |
H A D | lvm2.po | 3057 msgid "Couldn't read 'max_pv' for volume group %s."
|