Searched defs:VolumeBus (Results 1 - 8 of 8) sorted by relevancy
mpt_volume.c 73 U8 VolumeBus, VolumeID; local
93 error = mpt_lookup_volume(fd, av[1], &VolumeBus, &VolumeID);
99 vnames = mpt_vol_names(fd, VolumeBus, VolumeID, NULL);
114 mpt_unit, mpt_volume_name(VolumeBus, VolumeID), vnames->Name,
141 U8 VolumeBus, VolumeID; local
157 error = mpt_lookup_volume(fd, av[1], &VolumeBus, &VolumeID);
164 error = mpt_raid_action(fd, MPI_RAID_ACTION_INDICATOR_STRUCT, VolumeBus,
173 printf("Volume %s status:\n", mpt_volume_name(VolumeBus, VolumeID));
208 U8 VolumeBus, VolumeID; local
233 error = mpt_lookup_volume(fd, av[1], &VolumeBus,
[all...]
mptutil.h 110 int mpt_raid_action(int fd, U8 Action, U8 VolumeBus, U8 VolumeID,
122 int mpt_query_disk(U8 VolumeBus, U8 VolumeID, struct mpt_query_disk *qd);
123 const char *mpt_volume_name(U8 VolumeBus, U8 VolumeID);
126 int mpt_lock_volume(U8 VolumeBus, U8 VolumeID);
129 int mpt_lookup_volume(int fd, const char *name, U8 *VolumeBus,
150 mpt_vol_pageaddr(U8 VolumeBus, U8 VolumeID) argument
153 return (VolumeBus << 8 | VolumeID);
157 mpt_vol_info(int fd, U8 VolumeBus, U8 VolumeID, U16 *IOCStatus) argument
161 mpt_vol_pageaddr(VolumeBus, VolumeID), IOCStatus));
165 mpt_vol_names(int fd, U8 VolumeBus, U argument
[all...]
mpt_cmd.c 275 mpt_volume_name(U8 VolumeBus, U8 VolumeID) argument
280 if (mpt_query_disk(VolumeBus, VolumeID, &info) != 0) {
286 if (VolumeBus == 0)
289 snprintf(buf, sizeof(buf), "%d:%d", VolumeBus,
297 mpt_lookup_volume(int fd, const char *name, U8 *VolumeBus, U8 *VolumeID) argument
317 *VolumeBus = bus;
324 *VolumeBus = 0;
335 if (mpt_query_disk(vol->VolumeBus, vol->VolumeID, &info) != 0)
338 *VolumeBus = vol->VolumeBus;
498 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...]
mpt_config.c 94 mpt_lock_volume(U8 VolumeBus, U8 VolumeID) argument
100 error = mpt_query_disk(VolumeBus, VolumeID, &qd);
258 if (mpt_lock_volume(vol->VolumeBus, vol->VolumeID) < 0) {
260 mpt_volume_name(vol->VolumeBus, vol->VolumeID));
282 vol->VolumeBus, vol->VolumeID, 0,
288 mpt_volume_name(vol->VolumeBus, vol->VolumeID));
544 vol->VolumeBus = 0;
606 dinfo->info->PhysDiskID, vol->VolumeBus,
763 error = mpt_raid_action(fd, MPI_RAID_ACTION_CREATE_VOLUME, vol->VolumeBus,
777 mpt_rescan_bus(vol->VolumeBus, vo
794 U8 VolumeBus, VolumeID; local
844 U8 VolumeBus, VolumeID; local
1223 U8 VolumeBus, VolumeID; local
[all...]
Completed in 25 milliseconds