Home
last modified time | relevance | path

Searched refs:PhysDiskNum (Results 1 – 19 of 19) sorted by relevance

/freebsd/usr.sbin/mptutil/
H A Dmpt_drive.c117 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()
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()
330 U8 PhysDiskNum; in drive_set_state() local
346 if (mpt_lookup_drive(list, drive, &PhysDiskNum) < 0) { in drive_set_state()
[all …]
H A Dmpt_config.c210 *PhysDiskNum = ActionData & 0xff; in mpt_create_physdisk()
298 spare->PhysDiskNum); in clear_config()
311 disk->PhysDiskNum); in clear_config()
365 U8 PhysDiskNum; in parse_volume() local
445 U8 PhysDiskNum; in add_drives() local
452 &PhysDiskNum) < 0) { in add_drives()
614 rdisk->PhysDiskNum = dinfo->info->PhysDiskNum; in build_volume()
923 U8 PhysDiskNum; in add_spare() local
1021 U8 PhysDiskNum; in remove_spare() local
1090 U8 PhysDiskNum; in pd_create() local
[all …]
H A Dmptutil.h109 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 Dmpt_show.c349 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 Dmpt_cmd.c495 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 Dmpi_raid.h92 U8 PhysDiskNum; /* 06h */ member
164 U8 PhysDiskNum; /* 06h */ member
197 U8 PhysDiskNum; /* 00h */ member
219 U8 PhysDiskNum; /* 00h */ member
H A Dmpi_cnfg.h1068 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 Dmpi_ioc.h665 U8 PhysDiskNum; /* 03h */ member
728 U8 PhysDiskNum; /* 03h */ member
/freebsd/sys/dev/mps/mpi/
H A Dmpi2_raid.h178 U8 PhysDiskNum; /* 0x06 */ member
301 U8 PhysDiskNum; member
315 U8 PhysDiskNum; /* 0x06 */ member
H A Dmpi2_cnfg.h1275 U8 PhysDiskNum; /* 0x02 */ member
1443 U8 PhysDiskNum; /* 0x07 */ member
1544 U8 PhysDiskNum; /* 0x05 */ member
2599 U8 PhysDiskNum; /* 0x05 */ member
H A Dmpi2_ioc.h634 U8 PhysDiskNum; /* 0x03 */ member
665 U8 PhysDiskNum; /* 0x05 */ member
/freebsd/sys/dev/mpt/
H A Dmpt_raid.c410 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()
1231 /*PageNumber*/0, ioc_disk->PhysDiskNum, in mpt_refresh_raid_disk()
1237 ioc_disk->PhysDiskNum); in mpt_refresh_raid_disk()
1240 rv = mpt_read_cur_cfg_page(mpt, ioc_disk->PhysDiskNum, in mpt_refresh_raid_disk()
1247 ioc_disk->PhysDiskNum); in mpt_refresh_raid_disk()
[all …]
H A Dmpt_user.c543 rap->PhysDiskNum = raid_act->phys_disk_num; in mpt_user_raid_action()
/freebsd/sys/dev/mpr/mpi/
H A Dmpi2_raid.h188 U8 PhysDiskNum; /* 0x06 */ member
367 U8 PhysDiskNum; member
382 U8 PhysDiskNum; /* 0x06 */ member
H A Dmpi2_cnfg.h1741 U8 PhysDiskNum; /* 0x02 */ member
1909 U8 PhysDiskNum; /* 0x07 */ member
2010 U8 PhysDiskNum; /* 0x05 */ member
3159 U8 PhysDiskNum; /* 0x05 */ member
H A Dmpi2_ioc.h831 U8 PhysDiskNum; /* 0x03 */ member
862 U8 PhysDiskNum; /* 0x05 */ member
/freebsd/sys/dev/mpr/
H A Dmpr_sas_lsi.c343 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 Dmps_sas_lsi.c465 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 Dmps_config.c495 pRVPD->PhysDiskNum; in mps_wd_config_pages()