/freebsd-9.3-release/usr.sbin/mptutil/ |
H A D | mpt_volume.c | 71 U8 VolumeBus, VolumeID; local 91 error = mpt_lookup_volume(fd, av[1], &VolumeBus, &VolumeID); 97 vnames = mpt_vol_names(fd, VolumeBus, VolumeID, NULL); 109 mpt_unit, mpt_volume_name(VolumeBus, VolumeID), vnames->Name, 134 U8 VolumeBus, VolumeID; local 150 error = mpt_lookup_volume(fd, av[1], &VolumeBus, &VolumeID); 156 error = mpt_raid_action(fd, MPI_RAID_ACTION_INDICATOR_STRUCT, VolumeBus, 164 printf("Volume %s status:\n", mpt_volume_name(VolumeBus, VolumeID)); 199 U8 VolumeBus, VolumeID; local 224 error = mpt_lookup_volume(fd, av[1], &VolumeBus, [all...] |
H A D | mptutil.h | 108 int mpt_raid_action(int fd, U8 Action, U8 VolumeBus, U8 VolumeID, 120 int mpt_query_disk(U8 VolumeBus, U8 VolumeID, struct mpt_query_disk *qd); 121 const char *mpt_volume_name(U8 VolumeBus, U8 VolumeID); 124 int mpt_lock_volume(U8 VolumeBus, U8 VolumeID); 127 int mpt_lookup_volume(int fd, const char *name, U8 *VolumeBus, 148 mpt_vol_pageaddr(U8 VolumeBus, U8 VolumeID) argument 151 return (VolumeBus << 8 | VolumeID); 155 mpt_vol_info(int fd, U8 VolumeBus, U8 VolumeID, U16 *IOCStatus) argument 159 mpt_vol_pageaddr(VolumeBus, VolumeID), IOCStatus)); 163 mpt_vol_names(int fd, U8 VolumeBus, U argument [all...] |
H A D | mpt_cmd.c | 273 mpt_volume_name(U8 VolumeBus, U8 VolumeID) argument 278 if (mpt_query_disk(VolumeBus, VolumeID, &info) != 0) { 284 if (VolumeBus == 0) 287 snprintf(buf, sizeof(buf), "%d:%d", VolumeBus, 295 mpt_lookup_volume(int fd, const char *name, U8 *VolumeBus, U8 *VolumeID) argument 315 *VolumeBus = bus; 322 *VolumeBus = 0; 333 if (mpt_query_disk(vol->VolumeBus, vol->VolumeID, &info) != 0) 336 *VolumeBus = vol->VolumeBus; 496 mpt_raid_action(int fd, U8 Action, U8 VolumeBus, U8 VolumeID, U8 PhysDiskNum, U32 ActionDataWord, void *buf, int len, RAID_VOL0_STATUS *VolumeStatus, U32 *ActionData, int datalen, U16 *IOCStatus, U16 *ActionStatus, int write) argument [all...] |
H A D | mpt_config.c | 88 mpt_lock_volume(U8 VolumeBus, U8 VolumeID) argument 94 error = mpt_query_disk(VolumeBus, VolumeID, &qd); 251 if (mpt_lock_volume(vol->VolumeBus, vol->VolumeID) < 0) { 253 mpt_volume_name(vol->VolumeBus, vol->VolumeID)); 271 vol->VolumeBus, vol->VolumeID, 0, 277 mpt_volume_name(vol->VolumeBus, vol->VolumeID)); 533 vol->VolumeBus = 0; 595 dinfo->info->PhysDiskID, vol->VolumeBus, 733 error = mpt_raid_action(fd, MPI_RAID_ACTION_CREATE_VOLUME, vol->VolumeBus, 745 mpt_rescan_bus(vol->VolumeBus, vo 762 U8 VolumeBus, VolumeID; local 808 U8 VolumeBus, VolumeID; local 1164 U8 VolumeBus, VolumeID; local [all...] |
H A D | mpt_show.c | 322 printf(" volume %s ", mpt_volume_name(vol->VolumeBus, 324 vinfo = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID, NULL); 329 vnames = mpt_vol_names(fd, vol->VolumeBus, vol->VolumeID, NULL); 419 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID, 440 printf("%6s ", mpt_volume_name(vol->VolumeBus, vol->VolumeID)); 456 vnames = mpt_vol_names(fd, vol->VolumeBus, vol->VolumeID, NULL);
|
H A D | mpt_cam.c | 122 mpt_query_disk(U8 VolumeBus, U8 VolumeID, struct mpt_query_disk *qd) argument 132 if (VolumeBus != 0) 224 if (vol->VolumeBus == 0 && vol->VolumeID == r->target_id)
|
H A D | mpt_drive.c | 186 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID,
|
/freebsd-9.3-release/sys/dev/mpt/mpilib/ |
H A D | mpi_raid.h | 92 U8 VolumeBus; /* 05h */ member in struct:_MSG_RAID_ACTION 166 U8 VolumeBus; /* 05h */ member in struct:_MSG_RAID_ACTION_REPLY
|
H A D | mpi_ioc.h | 671 U8 VolumeBus; /* 01h */ member in struct:_EVENT_DATA_RAID 701 U8 VolumeBus; /* 01h */ member in struct:_MPI_EVENT_DATA_IR_RESYNC_UPDATE
|
H A D | mpi_cnfg.h | 1032 U8 VolumeBus; /* 01h */ member in struct:_CONFIG_PAGE_IOC_2_RAID_VOL 2349 U8 VolumeBus; /* 05h */ member in struct:_CONFIG_PAGE_RAID_VOL_0 2383 U8 VolumeBus; /* 05h */ member in struct:_CONFIG_PAGE_RAID_VOL_1
|
/freebsd-9.3-release/sys/dev/mpt/ |
H A D | mpt_raid.c | 199 vol->config_page->VolumeBus, vol->config_page->VolumeID); 397 && vol_pg->VolumeBus == raid_event->VolumeBus) 466 mpt_prt(mpt, "Volume(%d:%d", raid_event->VolumeBus, 490 raid_event->VolumeBus, raid_event->VolumeID, 597 rap->VolumeBus = vol->config_page->VolumeBus;
|
H A D | mpt_user.c | 540 rap->VolumeBus = raid_act->volume_bus;
|