Home
last modified time | relevance | path

Searched refs:VolumeBus (Results 1 – 12 of 12) sorted by relevance

/freebsd-13.1/usr.sbin/mptutil/
H A Dmptutil.h110 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) in mpt_vol_pageaddr() argument
153 return (VolumeBus << 8 | VolumeID); in mpt_vol_pageaddr()
157 mpt_vol_info(int fd, U8 VolumeBus, U8 VolumeID, U16 *IOCStatus) in mpt_vol_info() argument
161 mpt_vol_pageaddr(VolumeBus, VolumeID), IOCStatus)); in mpt_vol_info()
165 mpt_vol_names(int fd, U8 VolumeBus, U8 VolumeID, U16 *IOCStatus) in mpt_vol_names() argument
[all …]
H A Dmpt_volume.c73 U8 VolumeBus, VolumeID; in volume_name() local
93 error = mpt_lookup_volume(fd, av[1], &VolumeBus, &VolumeID); in volume_name()
99 vnames = mpt_vol_names(fd, VolumeBus, VolumeID, NULL); in volume_name()
114 mpt_unit, mpt_volume_name(VolumeBus, VolumeID), vnames->Name, in volume_name()
141 U8 VolumeBus, VolumeID; in volume_status() local
157 error = mpt_lookup_volume(fd, av[1], &VolumeBus, &VolumeID); in volume_status()
173 printf("Volume %s status:\n", mpt_volume_name(VolumeBus, VolumeID)); in volume_status()
208 U8 VolumeBus, VolumeID; in volume_cache() local
233 error = mpt_lookup_volume(fd, av[1], &VolumeBus, &VolumeID); in volume_cache()
240 volume = mpt_vol_info(fd, VolumeBus, VolumeID, NULL); in volume_cache()
[all …]
H A Dmpt_config.c94 mpt_lock_volume(U8 VolumeBus, U8 VolumeID) in mpt_lock_volume() argument
100 error = mpt_query_disk(VolumeBus, VolumeID, &qd); in mpt_lock_volume()
282 vol->VolumeBus, vol->VolumeID, 0, in clear_config()
544 vol->VolumeBus = 0; in build_volume()
606 dinfo->info->PhysDiskID, vol->VolumeBus, in build_volume()
777 mpt_rescan_bus(vol->VolumeBus, vol->VolumeID); in create_volume()
794 U8 VolumeBus, VolumeID; in delete_volume() local
816 if (mpt_lock_volume(VolumeBus, VolumeID) < 0) { in delete_volume()
844 U8 VolumeBus, VolumeID; in find_volume_spare_pool() local
910 mpt_volume_name(VolumeBus, VolumeID)); in find_volume_spare_pool()
[all …]
H A Dmpt_cmd.c275 mpt_volume_name(U8 VolumeBus, U8 VolumeID) in mpt_volume_name() argument
280 if (mpt_query_disk(VolumeBus, VolumeID, &info) != 0) { in mpt_volume_name()
286 if (VolumeBus == 0) in mpt_volume_name()
289 snprintf(buf, sizeof(buf), "%d:%d", VolumeBus, in mpt_volume_name()
297 mpt_lookup_volume(int fd, const char *name, U8 *VolumeBus, U8 *VolumeID) in mpt_lookup_volume() argument
317 *VolumeBus = bus; in mpt_lookup_volume()
324 *VolumeBus = 0; in mpt_lookup_volume()
335 if (mpt_query_disk(vol->VolumeBus, vol->VolumeID, &info) != 0) in mpt_lookup_volume()
338 *VolumeBus = vol->VolumeBus; in mpt_lookup_volume()
498 mpt_raid_action(int fd, U8 Action, U8 VolumeBus, U8 VolumeID, U8 PhysDiskNum, in mpt_raid_action() argument
[all …]
H A Dmpt_show.c332 printf(" volume %s ", mpt_volume_name(vol->VolumeBus, in show_config()
334 vinfo = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID, NULL); in show_config()
339 vnames = mpt_vol_names(fd, vol->VolumeBus, vol->VolumeID, NULL); in show_config()
429 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID, in show_volumes()
450 printf("%6s ", mpt_volume_name(vol->VolumeBus, vol->VolumeID)); in show_volumes()
466 vnames = mpt_vol_names(fd, vol->VolumeBus, vol->VolumeID, NULL); in show_volumes()
H A Dmpt_cam.c124 mpt_query_disk(U8 VolumeBus, U8 VolumeID, struct mpt_query_disk *qd) in mpt_query_disk() argument
134 if (VolumeBus != 0) in mpt_query_disk()
226 if (vol->VolumeBus == 0 && vol->VolumeID == r->target_id) in periph_is_volume()
H A Dmpt_drive.c189 volumes[i] = mpt_vol_info(fd, vol->VolumeBus, vol->VolumeID, in mpt_pd_list()
/freebsd-13.1/sys/dev/mpt/mpilib/
H A Dmpi_raid.h92 U8 VolumeBus; /* 05h */ member
164 U8 VolumeBus; /* 05h */ member
H A Dmpi_ioc.h664 U8 VolumeBus; /* 01h */ member
693 U8 VolumeBus; /* 01h */ member
H A Dmpi_cnfg.h1004 U8 VolumeBus; /* 01h */ member
2296 U8 VolumeBus; /* 05h */ member
2329 U8 VolumeBus; /* 05h */ member
/freebsd-13.1/sys/dev/mpt/
H A Dmpt_raid.c201 vol->config_page->VolumeBus, vol->config_page->VolumeID); in mpt_vol_prt()
399 && vol_pg->VolumeBus == raid_event->VolumeBus) in mpt_raid_event()
468 mpt_prt(mpt, "Volume(%d:%d", raid_event->VolumeBus, in mpt_raid_event()
492 raid_event->VolumeBus, raid_event->VolumeID, in mpt_raid_event()
599 rap->VolumeBus = vol->config_page->VolumeBus; in mpt_issue_raid_req()
H A Dmpt_user.c545 rap->VolumeBus = raid_act->volume_bus; in mpt_user_raid_action()