Lines Matching refs:error

53  *              if an error occurred.  Use get_error_string() to
54 * retrieve the associated error message.
61 int error = 0;
73 if ((error = new_devconfig(&diskset, TYPE_DISKSET)) != 0) {
75 return (error);
84 if ((error = defaults_set_mirror_nsubs(
87 (error = defaults_set_mirror_read(
90 (error = defaults_set_mirror_write(
93 (error = defaults_set_mirror_pass(
96 (error = defaults_set_mirror_usehsp(
99 (error = defaults_set_concat_usehsp(
102 (error = defaults_set_stripe_interlace(
105 (error = defaults_set_stripe_mincomp(
108 (error = defaults_set_stripe_maxcomp(
111 (error = defaults_set_stripe_usehsp(
114 (error = defaults_set_volume_redundancy_level(
117 (error = defaults_set_volume_npaths(
120 (error = defaults_set_volume_usehsp(
124 return (error);
281 int error;
285 if ((error = defaults_get_diskset_by_name(
292 return (error);
321 * if an error occurred. Use get_error_string() to
322 * retrieve the associated error message.
331 int error = 0;
334 if ((error = defaults_get_singleton_component(
337 return (error);
363 * if an error occurred. Use get_error_string() to
364 * retrieve the associated error message.
374 int error;
382 error = defaults_get_singleton_component(
385 switch (error) {
389 if ((error = devconfig_get_name(hsp, name)) == 0) {
403 return (error);
432 * if an error occurred. Use get_error_string() to
433 * retrieve the associated error message.
442 int error = 0;
445 if ((error = defaults_get_singleton_component(
448 return (error);
475 * if an error occurred. Use get_error_string() to
476 * retrieve the associated error message.
486 int error;
494 error = defaults_get_singleton_component(
497 switch (error) {
501 if ((error = devconfig_get_mirror_nsubs(
516 return (error);
545 * if an error occurred. Use get_error_string() to
546 * retrieve the associated error message.
555 int error = 0;
558 if ((error = defaults_get_singleton_component(
561 return (error);
587 * if an error occurred. Use get_error_string() to
588 * retrieve the associated error message.
598 int error;
606 error = defaults_get_singleton_component(
609 switch (error) {
613 if ((error = devconfig_get_mirror_read(mirror, val)) == 0) {
627 return (error);
656 * if an error occurred. Use get_error_string() to
657 * retrieve the associated error message.
666 int error = 0;
669 if ((error = defaults_get_singleton_component(
672 return (error);
699 * if an error occurred. Use get_error_string() to
700 * retrieve the associated error message.
710 int error;
718 error = defaults_get_singleton_component(
721 switch (error) {
725 if ((error = devconfig_get_mirror_write(
740 return (error);
769 * if an error occurred. Use get_error_string() to
770 * retrieve the associated error message.
779 int error = 0;
782 if ((error = defaults_get_singleton_component(
785 return (error);
811 * if an error occurred. Use get_error_string() to
812 * retrieve the associated error message.
822 int error;
830 error = defaults_get_singleton_component(
833 switch (error) {
837 if ((error = devconfig_get_mirror_pass(mirror, val)) == 0) {
851 return (error);
880 * if an error occurred. Use get_error_string() to
881 * retrieve the associated error message.
890 int error = 0;
893 if ((error = defaults_get_singleton_component(
896 return (error);
923 * if an error occurred. Use get_error_string() to
924 * retrieve the associated error message.
934 int error;
942 error = defaults_get_singleton_component(
945 switch (error) {
949 if ((error = devconfig_get_volume_usehsp(
964 return (error);
993 * if an error occurred. Use get_error_string() to
994 * retrieve the associated error message.
1003 int error = 0;
1006 if ((error = defaults_get_singleton_component(
1009 return (error);
1036 * if an error occurred. Use get_error_string() to
1037 * retrieve the associated error message.
1047 int error;
1055 error = defaults_get_singleton_component(
1058 switch (error) {
1062 if ((error = devconfig_get_volume_usehsp(
1077 return (error);
1106 * if an error occurred. Use get_error_string() to
1107 * retrieve the associated error message.
1116 int error = 0;
1119 if ((error = defaults_get_singleton_component(
1122 return (error);
1149 * if an error occurred. Use get_error_string() to
1150 * retrieve the associated error message.
1160 int error;
1168 error = defaults_get_singleton_component(
1171 switch (error) {
1175 if ((error = devconfig_get_stripe_mincomp(
1190 return (error);
1219 * if an error occurred. Use get_error_string() to
1220 * retrieve the associated error message.
1229 int error = 0;
1232 if ((error = defaults_get_singleton_component(
1235 return (error);
1262 * if an error occurred. Use get_error_string() to
1263 * retrieve the associated error message.
1273 int error;
1281 error = defaults_get_singleton_component(
1284 switch (error) {
1288 if ((error = devconfig_get_stripe_maxcomp(
1303 return (error);
1332 * if an error occurred. Use get_error_string() to
1333 * retrieve the associated error message.
1342 int error = 0;
1345 if ((error = defaults_get_singleton_component(
1348 return (error);
1374 * if an error occurred. Use get_error_string() to
1375 * retrieve the associated error message.
1385 int error;
1393 error = defaults_get_singleton_component(
1396 switch (error) {
1400 if ((error = devconfig_get_stripe_interlace(
1415 return (error);
1444 * if an error occurred. Use get_error_string() to
1445 * retrieve the associated error message.
1454 int error = 0;
1457 if ((error = defaults_get_singleton_component(
1460 return (error);
1487 * if an error occurred. Use get_error_string() to
1488 * retrieve the associated error message.
1498 int error;
1506 error = defaults_get_singleton_component(
1509 switch (error) {
1513 if ((error = devconfig_get_volume_usehsp(
1528 return (error);
1558 * if an error occurred. Use get_error_string() to
1559 * retrieve the associated error message.
1568 int error = 0;
1571 if ((error = defaults_get_singleton_component(
1574 return (error);
1601 * if an error occurred. Use get_error_string() to
1602 * retrieve the associated error message.
1612 int error;
1620 error = defaults_get_singleton_component(
1623 switch (error) {
1627 if ((error = devconfig_get_volume_redundancy_level(
1642 return (error);
1671 * if an error occurred. Use get_error_string() to
1672 * retrieve the associated error message.
1681 int error = 0;
1684 if ((error = defaults_get_singleton_component(
1687 return (error);
1714 * if an error occurred. Use get_error_string() to
1715 * retrieve the associated error message.
1725 int error;
1733 error = defaults_get_singleton_component(
1736 switch (error) {
1740 if ((error = devconfig_get_volume_npaths(
1755 return (error);
1784 * if an error occurred. Use get_error_string() to
1785 * retrieve the associated error message.
1794 int error = 0;
1797 if ((error = defaults_get_singleton_component(
1800 return (error);
1827 * if an error occurred. Use get_error_string() to
1828 * retrieve the associated error message.
1838 int error;
1846 error = defaults_get_singleton_component(
1849 switch (error) {
1853 if ((error = devconfig_get_volume_usehsp(
1868 return (error);