| /freebsd-12.1/usr.sbin/mptutil/ |
| H A D | mpt_drive.c | 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() 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() 333 U8 PhysDiskNum; in drive_set_state() local 349 if (mpt_lookup_drive(list, drive, &PhysDiskNum) < 0) { in drive_set_state() [all …]
|
| H A D | mpt_config.c | 213 *PhysDiskNum = ActionData & 0xff; in mpt_create_physdisk() 301 spare->PhysDiskNum); in clear_config() 314 disk->PhysDiskNum); in clear_config() 368 U8 PhysDiskNum; in parse_volume() local 448 U8 PhysDiskNum; in add_drives() local 455 &PhysDiskNum) < 0) { in add_drives() 617 rdisk->PhysDiskNum = dinfo->info->PhysDiskNum; in build_volume() 926 U8 PhysDiskNum; in add_spare() local 1024 U8 PhysDiskNum; in remove_spare() local 1093 U8 PhysDiskNum; in pd_create() local [all …]
|
| H A 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()
|
| H A 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()
|
| H A 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.1/sys/dev/mpt/mpilib/ |
| H A D | mpi_raid.h | 95 U8 PhysDiskNum; /* 06h */ member 169 U8 PhysDiskNum; /* 06h */ member 205 U8 PhysDiskNum; /* 00h */ member 228 U8 PhysDiskNum; /* 00h */ member
|
| H A 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
|
| H A D | mpi_ioc.h | 675 U8 PhysDiskNum; /* 03h */ member 739 U8 PhysDiskNum; /* 03h */ member
|
| /freebsd-12.1/sys/dev/mps/mpi/ |
| H A D | mpi2_raid.h | 181 U8 PhysDiskNum; /* 0x06 */ member 308 U8 PhysDiskNum; member 323 U8 PhysDiskNum; /* 0x06 */ member
|
| H A D | mpi2_cnfg.h | 1322 U8 PhysDiskNum; /* 0x02 */ member 1492 U8 PhysDiskNum; /* 0x07 */ member 1594 U8 PhysDiskNum; /* 0x05 */ member 2681 U8 PhysDiskNum; /* 0x05 */ member
|
| H A D | mpi2_ioc.h | 649 U8 PhysDiskNum; /* 0x03 */ member 681 U8 PhysDiskNum; /* 0x05 */ member
|
| /freebsd-12.1/sys/dev/mpt/ |
| H A D | mpt_raid.c | 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() 1232 /*PageNumber*/0, ioc_disk->PhysDiskNum, in mpt_refresh_raid_disk() 1238 ioc_disk->PhysDiskNum); in mpt_refresh_raid_disk() 1241 rv = mpt_read_cur_cfg_page(mpt, ioc_disk->PhysDiskNum, in mpt_refresh_raid_disk() 1248 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-12.1/sys/dev/mpr/mpi/ |
| H A D | mpi2_raid.h | 191 U8 PhysDiskNum; /* 0x06 */ member 376 U8 PhysDiskNum; member 392 U8 PhysDiskNum; /* 0x06 */ member
|
| H A D | mpi2_cnfg.h | 1795 U8 PhysDiskNum; /* 0x02 */ member 1965 U8 PhysDiskNum; /* 0x07 */ member 2067 U8 PhysDiskNum; /* 0x05 */ member 3247 U8 PhysDiskNum; /* 0x05 */ member
|
| H A D | mpi2_ioc.h | 851 U8 PhysDiskNum; /* 0x03 */ member 883 U8 PhysDiskNum; /* 0x05 */ member
|
| /freebsd-12.1/sys/dev/mpr/ |
| H A 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.1/sys/dev/mps/ |
| H A 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()
|
| H A D | mps_config.c | 497 pRVPD->PhysDiskNum; in mps_wd_config_pages()
|