Searched refs:max_lv (Results 1 - 20 of 20) sorted by relevance

/netbsd-current/external/gpl2/lvm2/dist/test/
H A Dt-vgchange-usage.sh40 aux check_vg_field_ $vg max_lv 0
42 aux check_vg_field_ $vg max_lv 128
50 aux check_vg_field_ $vg max_lv 128
H A Dt-vgcreate-usage.sh30 check_vg_field_ $vg max_lv 128
83 # Test default max_lv, max_pv, extent_size, alloc_policy, clustered
86 check_vg_field_ $vg max_lv 0
H A Dt-vgsplit-usage.sh60 check_vg_field_ $vg2 max_lv 128
114 # vgsplit rejects split because max_lv is exceeded
127 # vgsplit verify default - max_lv attribute from new VG is same as source VG" \
132 compare_vg_field_ $vg1 $vg2 max_lv
H A Dt-lvcreate-usage.sh59 # Setting max_lv works. (bz490298)
75 vgs -o +max_lv
/netbsd-current/external/gpl2/lvm2/dist/tools/
H A Dvgcreate.c64 !vg_set_max_lv(vg, vp_new.max_lv) ||
79 if (vp_new.max_lv != vg->max_lv)
81 "(0 means unlimited)", vg->max_lv);
H A Dvgconvert.c78 if (!vg->max_lv)
79 vg->max_lv = 255;
H A Dtoollib.c1194 vp_def->max_lv = vg->max_lv;
1201 vp_def->max_lv = DEFAULT_MAX_LV;
1218 vp_new->max_lv = arg_uint_value(cmd, maxlogicalvolumes_ARG,
1219 vp_def->max_lv);
H A Dvgchange.c290 uint32_t max_lv = arg_uint_value(cmd, logicalvolume_ARG, 0); local
297 if (!vg_set_max_lv(vg, max_lv)) {
H A Dvgsplit.c384 !vg_set_max_lv(vg_to, vp_new.max_lv) ||
/netbsd-current/external/gpl2/lvm2/dist/lib/metadata/
H A Dmetadata.c705 if (!vp->max_lv)
706 vp->max_lv = 255;
709 if (vp->max_lv > 255 || vp->max_pv > 255) {
833 vg->max_lv = DEFAULT_MAX_LV;
1062 int vg_set_max_lv(struct volume_group *vg, uint32_t max_lv) argument
1071 if (!max_lv)
1072 max_lv = 255;
1073 else if (max_lv > 255) {
1079 if (max_lv && max_lv < vg_visible_lv
[all...]
H A Dmetadata-exported.h224 uint32_t max_lv; member in struct:volume_group
464 int vg_set_max_lv(struct volume_group *vg, uint32_t max_lv);
749 size_t max_lv; member in struct:vgcreate_params
H A Dlv_manip.c1855 if (!vg->max_lv)
1858 if (vg->max_lv > vg_visible_lvs(vg))
1862 "in volume group %s", vg->max_lv, vg->name);
2859 "in volume group %s", vg->max_lv, vg->name);
/netbsd-current/external/gpl2/lvm2/dist/include/
H A Dmetadata-exported.h224 uint32_t max_lv; member in struct:volume_group
464 int vg_set_max_lv(struct volume_group *vg, uint32_t max_lv);
749 size_t max_lv; member in struct:vgcreate_params
/netbsd-current/external/gpl2/lvm2/dist/lib/format1/
H A Dformat1.c412 /* just check max_pv and max_lv */
413 if (!vg->max_lv || vg->max_lv >= MAX_LV)
414 vg->max_lv = MAX_LV - 1;
H A Dimport-export.c256 vg->max_lv = vgd->lv_max;
286 vgd->lv_max = vg->max_lv;
/netbsd-current/external/gpl2/lvm2/dist/lib/report/
H A Dcolumns.h108 FIELD(VGS, vg, NUM, "MaxLV", max_lv, 5, uint32, "max_lv", "Maximum number of LVs allowed in VG or 0 if unlimited.")
/netbsd-current/external/gpl2/lvm2/dist/lib/format_pool/
H A Dimport_export.c51 vg->max_lv = 1;
/netbsd-current/external/gpl2/lvm2/dist/lib/display/
H A Ddisplay.c697 log_print("MAX LV %u", vg->max_lv);
771 vg->max_lv,
/netbsd-current/external/gpl2/lvm2/dist/lib/format_text/
H A Dexport.c394 outf(f, "max_lv = %u", vg->max_lv);
H A Dimport_vsn1.c708 if (!_read_int32(vgn, "max_lv", &vg->max_lv)) {
709 log_error("Couldn't read 'max_lv' for volume group %s.",

Completed in 138 milliseconds