Lines Matching refs:device_id
293 uint16_t device_id;
352 error = mfi_lookup_drive(fd, cp, &device_id);
359 if (mfi_pd_get_info(fd, device_id, pinfo, NULL) < 0) {
368 warnx("Drive %u is not available", device_id);
375 warnx("Drive %u is foreign", device_id);
438 array_info->drives[i].ref.v.device_id,
930 uint16_t device_id;
949 error = mfi_lookup_drive(fd, av[1], &device_id);
953 if (mfi_pd_get_info(fd, device_id, &info, NULL) < 0) {
960 warnx("Drive %u is not available", device_id);
1057 uint16_t device_id;
1072 error = mfi_lookup_drive(fd, av[1], &device_id);
1079 if (mfi_pd_get_info(fd, device_id, &info, NULL) < 0) {
1081 warn("Failed to fetch info for drive %u", device_id);
1087 warnx("Drive %u is not a hot spare", device_id);
1115 uint16_t device_id;
1137 device_id = ar->pd[j].ref.v.device_id;
1138 if (device_id == 0xffff)
1141 printf(" drive %u %s\n", device_id,
1143 if (mfi_pd_get_info(fd, device_id, &pinfo,
1193 "global", sp->ref.v.device_id);