Lines Matching defs:disks

60  * "bad" disks are thoese that are known to libdiskmgt but
76 static int generate_known_slices(dlist_t *disks, dlist_t **known,
79 static int generate_known_hbas(dlist_t *disks, dlist_t **known);
170 dlist_t *disks,
191 * multipathed disks have aliases, as do slices on those disks.
465 * OUTPUT: known - populated list of known disks
466 * bad - populated list of known bad disks
472 * what disks are known to be attached to the system.
498 volume_set_error(gettext("there are no known disks\n"));
502 /* iterate all returned disks and add them to the known list */
512 /* on X86, disks must have a solaris FDISK partition */
544 continue; /* ignore non-fixed disks */
562 /* remember bad disks and continue */
641 * FUNCTION: generate_known_slices(dlist_t *disks,
644 * OUTPUT: disks - a pointer to a list of known disks
651 * PURPOSE: Examines input list of known disks and determines the slices
661 dlist_t *disks,
668 /* iterate list of disks and add their slices to the known list */
669 for (iter = disks; (iter != NULL) && (error == 0); iter = iter->next) {
807 * FUNCTION: generate_known_hbas(dlist_t *disks, dlist_t **known)
822 dlist_t *disks,
832 for (iter = disks;
975 * Iterates the lists of known slices, disks and HBAs
990 devs[1].msg = gettext("disks");
1055 * bad_disks - a pointer to a list of bad/unusable disks updated
1056 * with any bad disks that were detected
1057 * useable_disks - a pointer to a list of usable disks
1063 * PURPOSE: Scans the disks in the local set to determine which are
1077 dlist_t *disks;
1081 /* Get disks in local set */
1082 error = get_disks_in_diskset(dsname, &disks);
1088 for (iter = disks; iter != NULL && error == 0; iter = iter->next) {
1135 dlist_free_items(disks, NULL);
1140 * Now reslice usable disks in the local set to
1170 * of unique disks.
1222 * usable_disks - pointer to a list of usable disks in the
1228 * PURPOSE: 1. determine the disks in the named disk set
1229 * 2. determine the used slices on the disks
1230 * 3. determine the unused slices on the disks
1231 * 4. look for unused space on the disks and collect it
1243 dlist_t *disks = NULL;
1247 error = get_disks_in_diskset(dsname, &disks);
1253 for (iter = disks;
1647 * INPUT: disks - a list of usable disks.
1659 dlist_t *disks,
1669 for (iter = disks; (iter != NULL) && (error == 0); iter = iter->next) {
1922 * The convention for disks in disksets is that a single slice
2074 * Iterates the lists of usable slices, disks and HBAs
2089 devs[1].msg = gettext("disks");
2155 * Also iterates the lists of bad slices and disks (those that
2174 /* report bad disks and slices */
2175 devs[0].msg = gettext("disks");
2183 gettext("\n These disks are not usable, they may "
2186 gettext("\n These disks are not usable, they may "
2195 "\n These slices, and subsequently the disks on which they\n"