| /freebsd-13-stable/usr.sbin/mptutil/ |
| HD | mpt_drive.c | 109 mpt_pd_insert(int fd, struct mpt_drive_list *list, U8 PhysDiskNum) in mpt_pd_insert() argument 118 if (list->drives[i]->PhysDiskNum == PhysDiskNum) in mpt_pd_insert() 120 if (list->drives[i]->PhysDiskNum > PhysDiskNum) in mpt_pd_insert() 130 list->drives[i] = mpt_pd_info(fd, PhysDiskNum, NULL); in mpt_pd_insert() 211 if (mpt_pd_insert(fd, list, rdisk->PhysDiskNum) < 0) { in mpt_pd_list() 226 if (mpt_pd_insert(fd, list, spare->PhysDiskNum) < 0) { in mpt_pd_list() 236 if (mpt_pd_insert(fd, list, disk->PhysDiskNum) < 0) { in mpt_pd_list() 258 U8 *PhysDiskNum) in mpt_lookup_drive() argument 269 *PhysDiskNum = val; in mpt_lookup_drive() 288 *PhysDiskNum = list->drives[val]->PhysDiskNum; in mpt_lookup_drive() [all …]
|
| HD | mpt_config.c | 180 mpt_create_physdisk(int fd, struct mpt_standalone_disk *disk, U8 *PhysDiskNum) in mpt_create_physdisk() argument 211 *PhysDiskNum = ActionData & 0xff; in mpt_create_physdisk() 216 mpt_delete_physdisk(int fd, U8 PhysDiskNum) in mpt_delete_physdisk() argument 220 PhysDiskNum, 0, NULL, 0, NULL, NULL, 0, NULL, NULL, 0)); in mpt_delete_physdisk() 297 if (mpt_delete_physdisk(fd, spare->PhysDiskNum) < 0) in clear_config() 299 spare->PhysDiskNum); in clear_config() 310 if (mpt_delete_physdisk(fd, disk->PhysDiskNum) < 0) in clear_config() 312 disk->PhysDiskNum); in clear_config() 366 U8 PhysDiskNum; in parse_volume() local 413 error = mpt_lookup_drive(state->list, cp, &PhysDiskNum); in parse_volume() [all …]
|
| HD | 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()
|
| HD | mpt_show.c | 350 printf(" drive %u ", disk->PhysDiskNum); in show_config() 351 pinfo = mpt_pd_info(fd, disk->PhysDiskNum, NULL); in show_config() 368 printf(" spare %u ", spare->PhysDiskNum); in show_config() 369 pinfo = mpt_pd_info(fd, spare->PhysDiskNum, NULL); in show_config() 527 printf("%4u ", list->drives[i]->PhysDiskNum); in show_drives()
|
| HD | mpt_cmd.c | 496 mpt_raid_action(int fd, U8 Action, U8 VolumeBus, U8 VolumeID, U8 PhysDiskNum, in mpt_raid_action() argument 510 raid_act.phys_disk_num = PhysDiskNum; in mpt_raid_action()
|
| /freebsd-13-stable/sys/dev/mpt/mpilib/ |
| HD | mpi_raid.h | 92 U8 PhysDiskNum; /* 06h */ member 164 U8 PhysDiskNum; /* 06h */ member 197 U8 PhysDiskNum; /* 00h */ member 219 U8 PhysDiskNum; /* 00h */ member
|
| HD | 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
|
| HD | mpi_ioc.h | 665 U8 PhysDiskNum; /* 03h */ member 728 U8 PhysDiskNum; /* 03h */ member
|
| /freebsd-13-stable/sys/dev/mps/mpi/ |
| HD | mpi2_raid.h | 178 U8 PhysDiskNum; /* 0x06 */ member 301 U8 PhysDiskNum; member 315 U8 PhysDiskNum; /* 0x06 */ member
|
| HD | mpi2_cnfg.h | 1275 U8 PhysDiskNum; /* 0x02 */ member 1443 U8 PhysDiskNum; /* 0x07 */ member 1544 U8 PhysDiskNum; /* 0x05 */ member 2599 U8 PhysDiskNum; /* 0x05 */ member
|
| HD | mpi2_ioc.h | 634 U8 PhysDiskNum; /* 0x03 */ member 665 U8 PhysDiskNum; /* 0x05 */ member
|
| /freebsd-13-stable/sys/dev/mpt/ |
| HD | mpt_raid.c | 407 if (raid_event->PhysDiskNum != 0xFF && mpt->raid_disks != NULL) { in mpt_raid_event() 408 mpt_disk = mpt->raid_disks + raid_event->PhysDiskNum; in mpt_raid_event() 469 if (raid_event->PhysDiskNum != 0xFF) in mpt_raid_event() 471 raid_event->PhysDiskNum); in mpt_raid_event() 491 raid_event->PhysDiskNum); in mpt_raid_event() 599 rap->PhysDiskNum = disk->config_page.PhysDiskNum; in mpt_issue_raid_req() 601 rap->PhysDiskNum = 0xFF; in mpt_issue_raid_req() 1131 mpt_disk = mpt->raid_disks + vol_pg->PhysDisk[i].PhysDiskNum; in mpt_announce_vol() 1228 /*PageNumber*/0, ioc_disk->PhysDiskNum, in mpt_refresh_raid_disk() 1234 ioc_disk->PhysDiskNum); in mpt_refresh_raid_disk() [all …]
|
| HD | mpt_user.c | 544 rap->PhysDiskNum = raid_act->phys_disk_num; in mpt_user_raid_action()
|
| /freebsd-13-stable/sys/dev/mpr/mpi/ |
| HD | mpi2_raid.h | 188 U8 PhysDiskNum; /* 0x06 */ member 367 U8 PhysDiskNum; member 382 U8 PhysDiskNum; /* 0x06 */ member
|
| HD | mpi2_cnfg.h | 1741 U8 PhysDiskNum; /* 0x02 */ member 1909 U8 PhysDiskNum; /* 0x07 */ member 2010 U8 PhysDiskNum; /* 0x05 */ member 3159 U8 PhysDiskNum; /* 0x05 */ member
|
| HD | mpi2_ioc.h | 831 U8 PhysDiskNum; /* 0x03 */ member 862 U8 PhysDiskNum; /* 0x05 */ member
|
| /freebsd-13-stable/sys/dev/mpr/ |
| HD | 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-13-stable/sys/dev/mps/ |
| HD | 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()
|
| HD | mps_config.c | 495 pRVPD->PhysDiskNum; in mps_wd_config_pages()
|