/freebsd/usr.sbin/mptutil/ |
H A D | mpt_drive.c | 108 mpt_pd_insert(int fd, struct mpt_drive_list *list, U8 PhysDiskNum) in mpt_pd_insert() argument 117 if (list->drives[i]->PhysDiskNum == PhysDiskNum) in mpt_pd_insert() 119 if (list->drives[i]->PhysDiskNum > PhysDiskNum) in mpt_pd_insert() 129 list->drives[i] = mpt_pd_info(fd, PhysDiskNum, NULL); in mpt_pd_insert() 210 if (mpt_pd_insert(fd, list, rdisk->PhysDiskNum) < 0) { in mpt_pd_list() 225 if (mpt_pd_insert(fd, list, spare->PhysDiskNum) < 0) { in mpt_pd_list() 235 if (mpt_pd_insert(fd, list, disk->PhysDiskNum) < 0) { in mpt_pd_list() 257 U8 *PhysDiskNum) in mpt_lookup_drive() argument 268 *PhysDiskNum = val; in mpt_lookup_drive() 287 *PhysDiskNum = list->drives[val]->PhysDiskNum; in mpt_lookup_drive() [all …]
|
H A D | mpt_config.c | 179 mpt_create_physdisk(int fd, struct mpt_standalone_disk *disk, U8 *PhysDiskNum) in mpt_create_physdisk() argument 210 *PhysDiskNum = ActionData & 0xff; in mpt_create_physdisk() 215 mpt_delete_physdisk(int fd, U8 PhysDiskNum) in mpt_delete_physdisk() argument 219 PhysDiskNum, 0, NULL, 0, NULL, NULL, 0, NULL, NULL, 0)); in mpt_delete_physdisk() 296 if (mpt_delete_physdisk(fd, spare->PhysDiskNum) < 0) in clear_config() 298 spare->PhysDiskNum); in clear_config() 309 if (mpt_delete_physdisk(fd, disk->PhysDiskNum) < 0) in clear_config() 311 disk->PhysDiskNum); in clear_config() 365 U8 PhysDiskNum; in parse_volume() local 412 error = mpt_lookup_drive(state->list, cp, &PhysDiskNum); in parse_volume() [all …]
|
H A D | mptutil.h | 109 U8 PhysDiskNum, U32 ActionDataWord, void *buf, int len, 126 U8 *PhysDiskNum); 171 mpt_pd_info(int fd, U8 PhysDiskNum, U16 *IOCStatus) in mpt_pd_info() argument 175 PhysDiskNum, IOCStatus)); in mpt_pd_info()
|
H A D | mpt_show.c | 349 printf(" drive %u ", disk->PhysDiskNum); in show_config() 350 pinfo = mpt_pd_info(fd, disk->PhysDiskNum, NULL); in show_config() 367 printf(" spare %u ", spare->PhysDiskNum); in show_config() 368 pinfo = mpt_pd_info(fd, spare->PhysDiskNum, NULL); in show_config() 526 printf("%4u ", list->drives[i]->PhysDiskNum); in show_drives()
|
H A D | mpt_cmd.c | 495 mpt_raid_action(int fd, U8 Action, U8 VolumeBus, U8 VolumeID, U8 PhysDiskNum, in mpt_raid_action() argument 509 raid_act.phys_disk_num = PhysDiskNum; in mpt_raid_action()
|
/freebsd/sys/dev/mpt/mpilib/ |
H A D | mpi_raid.h | 92 U8 PhysDiskNum; /* 06h */ member 164 U8 PhysDiskNum; /* 06h */ member 197 U8 PhysDiskNum; /* 00h */ member 219 U8 PhysDiskNum; /* 00h */ member
|
H A D | mpi_cnfg.h | 1068 U8 PhysDiskNum; /* 03h */ member 1122 U8 PhysDiskNum; /* 00h */ member 2224 U8 PhysDiskNum; /* 03h */ member 2408 U8 PhysDiskNum; /* 07h */ member 2451 U8 PhysDiskNum; /* 05h */ member
|
H A D | mpi_ioc.h | 665 U8 PhysDiskNum; /* 03h */ member 728 U8 PhysDiskNum; /* 03h */ member
|
/freebsd/sys/dev/mps/mpi/ |
H A D | mpi2_raid.h | 178 U8 PhysDiskNum; /* 0x06 */ member 301 U8 PhysDiskNum; member 315 U8 PhysDiskNum; /* 0x06 */ member
|
H A D | mpi2_cnfg.h | 1275 U8 PhysDiskNum; /* 0x02 */ member 1443 U8 PhysDiskNum; /* 0x07 */ member 1544 U8 PhysDiskNum; /* 0x05 */ member 2599 U8 PhysDiskNum; /* 0x05 */ member
|
H A D | mpi2_ioc.h | 634 U8 PhysDiskNum; /* 0x03 */ member 665 U8 PhysDiskNum; /* 0x05 */ member
|
/freebsd/sys/dev/mpt/ |
H A D | mpt_raid.c | 409 if (raid_event->PhysDiskNum != 0xFF && mpt->raid_disks != NULL) { in mpt_raid_event() 410 mpt_disk = mpt->raid_disks + raid_event->PhysDiskNum; in mpt_raid_event() 471 if (raid_event->PhysDiskNum != 0xFF) in mpt_raid_event() 473 raid_event->PhysDiskNum); in mpt_raid_event() 493 raid_event->PhysDiskNum); in mpt_raid_event() 601 rap->PhysDiskNum = disk->config_page.PhysDiskNum; in mpt_issue_raid_req() 603 rap->PhysDiskNum = 0xFF; in mpt_issue_raid_req() 1134 mpt_disk = mpt->raid_disks + vol_pg->PhysDisk[i].PhysDiskNum; in mpt_announce_vol() 1231 /*PageNumber*/0, ioc_disk->PhysDiskNum, in mpt_refresh_raid_disk() 1237 ioc_disk->PhysDiskNum); in mpt_refresh_raid_disk() [all …]
|
H A D | mpt_user.c | 543 rap->PhysDiskNum = raid_act->phys_disk_num; in mpt_user_raid_action()
|
/freebsd/sys/dev/mpr/mpi/ |
H A D | mpi2_raid.h | 188 U8 PhysDiskNum; /* 0x06 */ member 367 U8 PhysDiskNum; member 382 U8 PhysDiskNum; /* 0x06 */ member
|
H A D | mpi2_cnfg.h | 1741 U8 PhysDiskNum; /* 0x02 */ member 1909 U8 PhysDiskNum; /* 0x07 */ member 2010 U8 PhysDiskNum; /* 0x05 */ member 3159 U8 PhysDiskNum; /* 0x05 */ member
|
H A D | mpi2_ioc.h | 831 U8 PhysDiskNum; /* 0x03 */ member 862 U8 PhysDiskNum; /* 0x05 */ member
|
/freebsd/sys/dev/mpr/ |
H A D | mpr_sas_lsi.c | 343 action->PhysDiskNum = element->PhysDiskNum; in mprsas_fw_work() 547 event_data->PhysDiskNum, in mprsas_fw_work() 558 event_data->PhysDiskNum, in mprsas_fw_work() 569 event_data->PhysDiskNum, in mprsas_fw_work()
|
/freebsd/sys/dev/mps/ |
H A D | mps_sas_lsi.c | 465 event_data->PhysDiskNum, in mpssas_fw_work() 474 le32toh(event_data->NewValue), event_data->PhysDiskNum, in mpssas_fw_work() 483 le32toh(event_data->NewValue), event_data->PhysDiskNum, in mpssas_fw_work()
|
H A D | mps_config.c | 495 pRVPD->PhysDiskNum; in mps_wd_config_pages()
|