Home
last modified time | relevance | path

Searched refs:nsubs (Results 1 – 9 of 9) sorted by relevance

/titanic_41/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_mirror.c52 uint16_t nsubs,
59 uint16_t nsubs,
67 uint16_t nsubs,
78 uint16_t nsubs,
88 uint16_t nsubs,
98 uint16_t nsubs,
107 uint16_t nsubs,
115 uint16_t nsubs,
164 uint16_t nsubs, in layout_mirror() argument
184 request, NULL, nbytes, nsubs, &subs)) != 0) { in layout_mirror()
[all …]
H A Dlayout_messages.c283 int nsubs) in print_layout_submirrors_msg() argument
291 nsubs, type, spstr); in print_layout_submirrors_msg()
308 int nsubs) in print_layout_submirrors_failed_msg() argument
319 count, nsubs, type); in print_layout_submirrors_failed_msg()
H A Dlayout_messages.h47 extern void print_layout_submirrors_msg(char *type, uint64_t nbytes, int nsubs);
49 int nsubs);
H A Dlayout_validate.c355 uint16_t nsubs = 0; in validate_request_sizes() local
356 if ((error = get_mirror_nsubs(req, &nsubs)) == 0) { in validate_request_sizes()
358 apply_layout_overhead_factor(nbytes * nsubs), in validate_request_sizes()
360 total_rqst_space += (nsubs * nbytes); in validate_request_sizes()
364 typestr, nsubs); in validate_request_sizes()
379 int nsubs = dlist_length(subs); in validate_request_sizes() local
386 apply_layout_overhead_factor(nbytes * nsubs), in validate_request_sizes()
388 total_rqst_space += (nbytes * nsubs); in validate_request_sizes()
392 typestr, nsubs); in validate_request_sizes()
1346 uint16_t nsubs = 0; in validate_submirror_number() local
[all …]
H A Dlayout_mirror.h41 uint16_t nsubs,
H A Dlayout.c374 uint16_t nsubs = 0; in process_request() local
375 if ((error = get_mirror_nsubs(req, &nsubs)) != 0) { in process_request()
378 return (layout_mirror(req, nsubs, nbytes, results)); in process_request()
/titanic_41/usr/src/cmd/lvm/metassist/common/
H A Dvolume_devconfig.c813 uint16_t nsubs) in devconfig_set_mirror_nsubs() argument
816 if (nsubs < 1 || nsubs > NMIRROR) { in devconfig_set_mirror_nsubs()
819 nsubs, 1, NMIRROR); in devconfig_set_mirror_nsubs()
823 return (set_uint16(mirror->attributes, ATTR_MIRROR_NSUBMIRRORS, nsubs)); in devconfig_set_mirror_nsubs()
845 uint16_t *nsubs) in devconfig_get_mirror_nsubs() argument
848 mirror->attributes, ATTR_MIRROR_NSUBMIRRORS, nsubs); in devconfig_get_mirror_nsubs()
H A Dvolume_devconfig.h592 extern int devconfig_set_mirror_nsubs(devconfig_t *mirror, uint16_t nsubs);
610 extern int devconfig_get_mirror_nsubs(devconfig_t *mirror, uint16_t *nsubs);
/titanic_41/usr/src/cmd/zic/
H A Dzic.c2072 register int nsubs; local
2078 nsubs = 0;
2084 array[nsubs++] = dp = cp;
2102 array[nsubs] = NULL;