Home
last modified time | relevance | path

Searched refs:maxcomp (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_stripe.c179 uint16_t maxcomp = 0; in layout_stripe() local
206 (error = get_stripe_max_comp(request, &maxcomp)); in layout_stripe()
240 mincomp, maxcomp); in layout_stripe()
244 n = ((n > maxcomp) ? maxcomp : n); in layout_stripe()
265 mincomp, maxcomp); in layout_stripe()
271 mincomp, maxcomp, &stripe); in layout_stripe()
289 mincomp, maxcomp, dlist_length(hbas)); in layout_stripe()
294 n = ((n > maxcomp) ? maxcomp : n); in layout_stripe()
351 mincomp, maxcomp); in layout_stripe()
356 n = ((n > maxcomp) ? maxcomp : n); in layout_stripe()
[all …]
H A Dlayout_mirror.c696 uint16_t maxcomp = 0; in layout_stripe_submirrors() local
725 (error = get_stripe_max_comp(request, &maxcomp)) || in layout_stripe_submirrors()
762 mincomp * nsubs, maxcomp * nsubs); in layout_stripe_submirrors()
773 nsubs, maxcomp, mincomp, &subs); in layout_stripe_submirrors()
794 mincomp, maxcomp, nsubs); in layout_stripe_submirrors()
800 nsubs, maxcomp, mincomp, &subs); in layout_stripe_submirrors()
818 nsubs, mincomp, maxcomp); in layout_stripe_submirrors()
824 nbytes, nsubs, maxcomp, mincomp, &subs); in layout_stripe_submirrors()
872 mincomp, maxcomp, nsubs); in layout_stripe_submirrors()
878 nsubs, maxcomp, mincomp, &subs); in layout_stripe_submirrors()
[all …]
/titanic_41/usr/src/cmd/lvm/metassist/common/
H A Dvolume_devconfig.c1138 uint16_t maxcomp) in devconfig_set_stripe_maxcomp() argument
1141 if (maxcomp < MIN_NSTRIPE_COMP) { in devconfig_set_stripe_maxcomp()
1144 maxcomp, MIN_NSTRIPE_COMP); in devconfig_set_stripe_maxcomp()
1148 return (set_uint16(stripe->attributes, ATTR_STRIPE_MAXCOMP, maxcomp)); in devconfig_set_stripe_maxcomp()
1170 uint16_t *maxcomp) in devconfig_get_stripe_maxcomp() argument
1173 stripe->attributes, ATTR_STRIPE_MAXCOMP, maxcomp); in devconfig_get_stripe_maxcomp()
H A Dvolume_devconfig.h778 extern int devconfig_set_stripe_maxcomp(devconfig_t *stripe, uint16_t maxcomp);
796 extern int devconfig_get_stripe_maxcomp(devconfig_t *stripe, uint16_t *maxcomp);
/titanic_41/usr/src/cmd/lvm/metassist/xml/
H A Dxml_convert.c1798 uint16_t maxcomp; in validate_set_stripe_maxcomp() local
1801 if (str_to_uint16(value, &maxcomp) != 0) { in validate_set_stripe_maxcomp()
1809 return (devconfig_set_stripe_maxcomp(stripe, maxcomp)); in validate_set_stripe_maxcomp()