HomeSort by: relevance | last modified time | path
    Searched refs:max_lv (Results 1 - 20 of 20) sorted by relevancy

  /src/external/gpl2/lvm2/dist/test/
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
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
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
t-lvcreate-usage.sh 59 # Setting max_lv works. (bz490298)
75 vgs -o +max_lv
  /src/external/gpl2/lvm2/dist/tools/
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);
vgconvert.c 78 if (!vg->max_lv)
79 vg->max_lv = 255;
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);
vgchange.c 290 uint32_t max_lv = arg_uint_value(cmd, logicalvolume_ARG, 0); local
297 if (!vg_set_max_lv(vg, max_lv)) {
vgsplit.c 384 !vg_set_max_lv(vg_to, vp_new.max_lv) ||
  /src/external/gpl2/lvm2/dist/lib/metadata/
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)
1071 if (!max_lv)
1072 max_lv = 255;
1073 else if (max_lv > 255) {
1079 if (max_lv && max_lv < vg_visible_lvs(vg))
    [all...]
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
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);
  /src/external/gpl2/lvm2/dist/include/
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
  /src/external/gpl2/lvm2/dist/lib/format1/
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;
import-export.c 256 vg->max_lv = vgd->lv_max;
286 vgd->lv_max = vg->max_lv;
562 struct logical_volume *lvs[MAX_LV];
577 if (lvnum >= MAX_LV) {
  /src/external/gpl2/lvm2/dist/lib/report/
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.")
  /src/external/gpl2/lvm2/dist/lib/format_pool/
import_export.c 51 vg->max_lv = 1;
  /src/external/gpl2/lvm2/dist/lib/display/
display.c 697 log_print("MAX LV %u", vg->max_lv);
771 vg->max_lv,
  /src/external/gpl2/lvm2/dist/lib/format_text/
export.c 394 outf(f, "max_lv = %u", vg->max_lv);
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.",

Completed in 29 milliseconds