Lines Matching defs:bad

55  * "bad" slices are those that are known to libdiskmgt but
60 * "bad" disks are thoese that are known to libdiskmgt but
77 dlist_t **bad);
78 static int generate_known_disks(dlist_t **known, dlist_t **bad);
119 dlist_t **bad,
461 * dlist_t **bad)
466 * bad - populated list of known bad disks
479 dlist_t **bad)
518 /* if the disk is offline, report it as bad */
529 * report it as bad
551 /* X86 drive has no solaris partition, report as bad */
562 /* remember bad disks and continue */
563 if (dlist_contains(*bad, (void *)(uintptr_t)disk,
569 *bad = dlist_append(item, *bad, AT_TAIL);
642 * dlist_t **known, dlist_t **bad)
646 * bad - a pointer to a dlist_t to hold the bad slices
657 * added to the bad slice list.
663 dlist_t **bad)
696 /* bad slice, remember it and continue */
702 *bad = dlist_insert_ordered(
703 item, *bad,
1055 * bad_disks - a pointer to a list of bad/unusable disks updated
1056 * with any bad disks that were detected
1098 * Assume disk is available until a bad or unavailable
1117 /* Is the slice bad (inaccessible)? */
1217 * bad_slices - pointer to a list of bad/unusable slices,
1270 /* Determine the used, unused, and bad slices on the disk */
1287 /* Is the slice bad (inaccessible)? */
1292 * Since one slice on this disk is bad, don't
1715 * dlist_t **bad, dlist_t **classes)
1722 * bad - pointer to a list of bad/unusable slices,
1749 dlist_t **bad,
1788 *bad = dlist_insert_ordered(item, *bad, ASCENDING,
2155 * Also iterates the lists of bad slices and disks (those that
2174 /* report bad disks and slices */