| /freebsd-12-stable/usr.sbin/mptutil/ |
| D | mpt_drive.c | 111 mpt_pd_insert(int fd, struct mpt_drive_list *list, U8 PhysDiskNum) in mpt_pd_insert() argument 120 if (list->drives[i]->PhysDiskNum == PhysDiskNum) in mpt_pd_insert() 122 if (list->drives[i]->PhysDiskNum > PhysDiskNum) in mpt_pd_insert() 132 list->drives[i] = mpt_pd_info(fd, PhysDiskNum, NULL); in mpt_pd_insert() 213 if (mpt_pd_insert(fd, list, rdisk->PhysDiskNum) < 0) { in mpt_pd_list() 228 if (mpt_pd_insert(fd, list, spare->PhysDiskNum) < 0) { in mpt_pd_list() 238 if (mpt_pd_insert(fd, list, disk->PhysDiskNum) < 0) { in mpt_pd_list() 260 U8 *PhysDiskNum) in mpt_lookup_drive() argument 271 *PhysDiskNum = val; in mpt_lookup_drive() 290 *PhysDiskNum = list->drives[val]->PhysDiskNum; in mpt_lookup_drive() [all …]
|
| D | mpt_config.c | 182 mpt_create_physdisk(int fd, struct mpt_standalone_disk *disk, U8 *PhysDiskNum) in mpt_create_physdisk() argument 213 *PhysDiskNum = ActionData & 0xff; in mpt_create_physdisk() 218 mpt_delete_physdisk(int fd, U8 PhysDiskNum) in mpt_delete_physdisk() argument 222 PhysDiskNum, 0, NULL, 0, NULL, NULL, 0, NULL, NULL, 0)); in mpt_delete_physdisk() 299 if (mpt_delete_physdisk(fd, spare->PhysDiskNum) < 0) in clear_config() 301 spare->PhysDiskNum); in clear_config() 312 if (mpt_delete_physdisk(fd, disk->PhysDiskNum) < 0) in clear_config() 314 disk->PhysDiskNum); in clear_config() 368 U8 PhysDiskNum; in parse_volume() local 415 error = mpt_lookup_drive(state->list, cp, &PhysDiskNum); in parse_volume() [all …]
|
| D | mptutil.h | 111 U8 PhysDiskNum, U32 ActionDataWord, void *buf, int len, 128 U8 *PhysDiskNum); 173 mpt_pd_info(int fd, U8 PhysDiskNum, U16 *IOCStatus) in mpt_pd_info() argument 177 PhysDiskNum, IOCStatus)); in mpt_pd_info()
|
| D | mpt_show.c | 352 printf(" drive %u ", disk->PhysDiskNum); in show_config() 353 pinfo = mpt_pd_info(fd, disk->PhysDiskNum, NULL); in show_config() 370 printf(" spare %u ", spare->PhysDiskNum); in show_config() 371 pinfo = mpt_pd_info(fd, spare->PhysDiskNum, NULL); in show_config() 529 printf("%4u ", list->drives[i]->PhysDiskNum); in show_drives()
|
| D | mpt_cmd.c | 498 mpt_raid_action(int fd, U8 Action, U8 VolumeBus, U8 VolumeID, U8 PhysDiskNum, in mpt_raid_action() argument 512 raid_act.phys_disk_num = PhysDiskNum; in mpt_raid_action()
|
| /freebsd-12-stable/sys/dev/mpt/mpilib/ |
| D | mpi_raid.h | 95 U8 PhysDiskNum; /* 06h */ member 169 U8 PhysDiskNum; /* 06h */ member 205 U8 PhysDiskNum; /* 00h */ member 228 U8 PhysDiskNum; /* 00h */ member
|
| D | mpi_cnfg.h | 1100 U8 PhysDiskNum; /* 03h */ member 1156 U8 PhysDiskNum; /* 00h */ member 2280 U8 PhysDiskNum; /* 03h */ member 2466 U8 PhysDiskNum; /* 07h */ member 2511 U8 PhysDiskNum; /* 05h */ member
|
| D | mpi_ioc.h | 675 U8 PhysDiskNum; /* 03h */ member 739 U8 PhysDiskNum; /* 03h */ member
|
| /freebsd-12-stable/sys/dev/mps/mpi/ |
| D | mpi2_raid.h | 181 U8 PhysDiskNum; /* 0x06 */ member 308 U8 PhysDiskNum; member 323 U8 PhysDiskNum; /* 0x06 */ member
|
| D | mpi2_cnfg.h | 1322 U8 PhysDiskNum; /* 0x02 */ member 1492 U8 PhysDiskNum; /* 0x07 */ member 1594 U8 PhysDiskNum; /* 0x05 */ member 2681 U8 PhysDiskNum; /* 0x05 */ member
|
| D | mpi2_ioc.h | 649 U8 PhysDiskNum; /* 0x03 */ member 681 U8 PhysDiskNum; /* 0x05 */ member
|
| /freebsd-12-stable/sys/dev/mpt/ |
| 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() 1135 mpt_disk = mpt->raid_disks + vol_pg->PhysDisk[i].PhysDiskNum; in mpt_announce_vol() 1232 /*PageNumber*/0, ioc_disk->PhysDiskNum, in mpt_refresh_raid_disk() 1238 ioc_disk->PhysDiskNum); in mpt_refresh_raid_disk() [all …]
|
| D | mpt_user.c | 546 rap->PhysDiskNum = raid_act->phys_disk_num; in mpt_user_raid_action()
|
| /freebsd-12-stable/sys/dev/mpr/mpi/ |
| D | mpi2_raid.h | 191 U8 PhysDiskNum; /* 0x06 */ member 376 U8 PhysDiskNum; member 392 U8 PhysDiskNum; /* 0x06 */ member
|
| D | mpi2_cnfg.h | 1795 U8 PhysDiskNum; /* 0x02 */ member 1965 U8 PhysDiskNum; /* 0x07 */ member 2067 U8 PhysDiskNum; /* 0x05 */ member 3247 U8 PhysDiskNum; /* 0x05 */ member
|
| D | mpi2_ioc.h | 851 U8 PhysDiskNum; /* 0x03 */ member 883 U8 PhysDiskNum; /* 0x05 */ member
|
| /freebsd-12-stable/sys/dev/mpr/ |
| D | mpr_sas_lsi.c | 347 action->PhysDiskNum = element->PhysDiskNum; in mprsas_fw_work() 551 event_data->PhysDiskNum, in mprsas_fw_work() 562 event_data->PhysDiskNum, in mprsas_fw_work() 573 event_data->PhysDiskNum, in mprsas_fw_work()
|
| /freebsd-12-stable/sys/dev/mps/ |
| D | mps_sas_lsi.c | 469 event_data->PhysDiskNum, in mpssas_fw_work() 478 le32toh(event_data->NewValue), event_data->PhysDiskNum, in mpssas_fw_work() 487 le32toh(event_data->NewValue), event_data->PhysDiskNum, in mpssas_fw_work()
|
| D | mps_config.c | 497 pRVPD->PhysDiskNum; in mps_wd_config_pages()
|