Lines Matching refs:list
10 * notice, this list of conditions and the following disclaimer.
12 * notice, this list of conditions and the following disclaimer in the
244 warn("Failed to fetch volume list");
284 warn("Failed to fetch spare list");
297 warn("Failed to fetch drive list");
335 struct mpt_drive_list *list;
351 /* Parse a comma-separated list of drives for a volume. */
367 warnx("Invalid drive list '%s'", volume_str);
404 error = mpt_lookup_drive(state->list, cp, &PhysDiskNum);
481 for (i = 0; i < state->list->ndrives; i++)
482 if (state->list->drives[i]->PhysDiskID == state->target_id)
690 warn("Failed to read volume list");
693 state.list = mpt_pd_list(fd);
694 if (state.list == NULL)
698 warn("Failed to fetch standalone disk list");
703 /* Parse the drive list. */
705 warnx("Exactly one drive list is required");
751 mpt_free_pd_list(state.list);
840 warn("Failed to fetch volume list");
887 struct mpt_drive_list *list;
914 list = mpt_pd_list(fd);
915 if (list == NULL)
918 error = mpt_lookup_drive(list, av[1], &PhysDiskNum);
922 warn("Failed to fetch standalone disk list");
943 mpt_free_pd_list(list);
972 struct mpt_drive_list *list;
988 list = mpt_pd_list(fd);
989 if (list == NULL)
992 error = mpt_lookup_drive(list, av[1], &PhysDiskNum);
997 mpt_free_pd_list(list);
1050 warn("Failed to fetch standalone disk list");
1082 struct mpt_drive_list *list;
1098 list = mpt_pd_list(fd);
1099 if (list == NULL)
1102 if (mpt_lookup_drive(list, av[1], &PhysDiskNum) < 0) {
1107 mpt_free_pd_list(list);