Lines Matching refs:sdisks
289 struct mpt_standalone_disk *sdisks; in show_config() local
314 if (mpt_fetch_disks(fd, &nsdisks, &sdisks) < 0) { in show_config()
376 printf(" drive %s ", sdisks[i].devname); in show_config()
377 print_standalone(&sdisks[i], -1, 0); in show_config()
382 free(sdisks); in show_config()
483 struct mpt_standalone_disk *sdisks; in show_drives() local
509 if (mpt_fetch_disks(fd, &nsdisks, &sdisks) != 0) { in show_drives()
511 sdisks = NULL; in show_drives()
532 printf("%4s ", sdisks[i].devname); in show_drives()
533 print_standalone(&sdisks[i], state_len, 1); in show_drives()
536 free(sdisks); in show_drives()