Lines Matching refs:disks
80 dlist_t *disks,
384 * Determine the available HBAs, disks, and slices.
411 dlist_t *disks = NULL;
423 &disks)) ||
424 (error = disks_get_avail_slices(request, disks, &avail)) ||
428 dlist_free_items(disks, NULL);
433 if (disks == NULL || dlist_length(disks) == 0) {
434 /* all disks have been consumed by the devices */
436 gettext(" no available disks to populate HSP\n"));
447 dlist_free_items(disks, NULL);
452 dlist_free_items(disks, NULL);
502 dlist_t *disks = NULL;
505 error = get_hbas_and_disks_used_by_volume(device, &hbas, &disks);
513 comp, allspares, hbas, disks, &found)) == 0) {
517 &avail, hbas, disks, npaths);
521 dlist_free_items(disks, NULL);
735 * dlist_t *all_spares, dlist_t *hbas, dlist_t *disks,
744 * disks - pointer to a list of disks the component's
770 dlist_t *disks,
800 if ((error == 0) && (dlist_contains(disks,
834 * used_disks - list of disks used by the component's parent
849 * disk relative to the input lists of used HBAs and disks