/netbsd-current/external/gpl2/lvm2/dist/test/ |
H A D | t-vgchange-usage.sh | 40 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 D | t-vgcreate-usage.sh | 30 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 D | t-vgsplit-usage.sh | 60 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 D | t-lvcreate-usage.sh | 59 # Setting max_lv works. (bz490298) 75 vgs -o +max_lv
|
/netbsd-current/external/gpl2/lvm2/dist/tools/ |
H A D | vgcreate.c | 64 !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 D | vgconvert.c | 78 if (!vg->max_lv) 79 vg->max_lv = 255;
|
H A D | toollib.c | 1194 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 D | vgchange.c | 290 uint32_t max_lv = arg_uint_value(cmd, logicalvolume_ARG, 0); local 297 if (!vg_set_max_lv(vg, max_lv)) {
|
H A D | vgsplit.c | 384 !vg_set_max_lv(vg_to, vp_new.max_lv) ||
|
/netbsd-current/external/gpl2/lvm2/dist/lib/metadata/ |
H A D | metadata.c | 705 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 D | metadata-exported.h | 224 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 D | lv_manip.c | 1855 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 D | metadata-exported.h | 224 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 D | format1.c | 412 /* 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 D | import-export.c | 256 vg->max_lv = vgd->lv_max; 286 vgd->lv_max = vg->max_lv;
|
/netbsd-current/external/gpl2/lvm2/dist/lib/report/ |
H A D | columns.h | 108 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 D | import_export.c | 51 vg->max_lv = 1;
|
/netbsd-current/external/gpl2/lvm2/dist/lib/display/ |
H A D | display.c | 697 log_print("MAX LV %u", vg->max_lv); 771 vg->max_lv,
|
/netbsd-current/external/gpl2/lvm2/dist/lib/format_text/ |
H A D | export.c | 394 outf(f, "max_lv = %u", vg->max_lv);
|
H A D | import_vsn1.c | 708 if (!_read_int32(vgn, "max_lv", &vg->max_lv)) { 709 log_error("Couldn't read 'max_lv' for volume group %s.",
|