Searched refs:ioc2 (Results 1 – 6 of 6) sorted by relevance
/freebsd/usr.sbin/mptutil/ |
H A D | mpt_show.c | 78 CONFIG_PAGE_IOC_2 *ioc2; in show_adapter() local 117 if (ioc2 != NULL) { in show_adapter() 158 free(ioc2); in show_adapter() 310 free(ioc2); in show_config() 318 free(ioc2); in show_config() 325 mpt_unit, ioc2->NumActiveVolumes, ioc2->NumActivePhysDisks + in show_config() 327 vol = ioc2->RaidVolume; in show_config() 380 free(ioc2); in show_config() 412 if (ioc2 == NULL) { in show_volumes() 424 vol = ioc2->RaidVolume; in show_volumes() [all …]
|
H A D | mpt_drive.c | 139 CONFIG_PAGE_IOC_2 *ioc2; in mpt_pd_list() local 151 ioc2 = mpt_read_ioc_page(fd, 2, NULL); in mpt_pd_list() 152 if (ioc2 == NULL) { in mpt_pd_list() 163 free(ioc2); in mpt_pd_list() 173 free(ioc2); in mpt_pd_list() 184 vol = ioc2->RaidVolume; in mpt_pd_list() 185 for (i = 0; i < ioc2->NumActiveVolumes; vol++, i++) { in mpt_pd_list() 195 free(ioc2); in mpt_pd_list() 207 for (i = 0; i < ioc2->NumActiveVolumes; i++) { in mpt_pd_list() 215 free(ioc2); in mpt_pd_list() [all …]
|
H A D | mpt_config.c | 229 CONFIG_PAGE_IOC_2 *ioc2; in clear_config() local 245 if (ioc2 == NULL) { in clear_config() 253 vol = ioc2->RaidVolume; in clear_config() 258 free(ioc2); in clear_config() 270 free(ioc2); in clear_config() 276 vol = ioc2->RaidVolume; in clear_config() 287 free(ioc2); in clear_config() 344 CONFIG_PAGE_IOC_2 *ioc2; member 781 free(state.ioc2); in create_volume() 872 if (ioc2 == NULL) { in find_volume_spare_pool() [all …]
|
H A D | mpt_cam.c | 214 periph_is_volume(CONFIG_PAGE_IOC_2 *ioc2, struct periph_match_result *r) in periph_is_volume() argument 219 if (ioc2 == NULL) in periph_is_volume() 221 vol = ioc2->RaidVolume; in periph_is_volume() 222 for (i = 0; i < ioc2->NumActiveVolumes; vol++, i++) { in periph_is_volume() 390 CONFIG_PAGE_IOC_2 *ioc2; in mpt_fetch_disks() local 481 ioc2 = mpt_read_ioc_page(fd, 2, NULL); in mpt_fetch_disks() 482 if (ioc2 == NULL) in mpt_fetch_disks() 488 if (periph_is_volume(ioc2, r)) in mpt_fetch_disks() 504 free(ioc2); in mpt_fetch_disks()
|
H A D | mpt_cmd.c | 296 CONFIG_PAGE_IOC_2 *ioc2; in mpt_lookup_volume() local 326 ioc2 = mpt_read_ioc_page(fd, 2, NULL); in mpt_lookup_volume() 327 if (ioc2 == NULL) in mpt_lookup_volume() 330 vol = ioc2->RaidVolume; in mpt_lookup_volume() 331 for (i = 0; i < ioc2->NumActiveVolumes; vol++, i++) { in mpt_lookup_volume() 337 free(ioc2); in mpt_lookup_volume() 341 free(ioc2); in mpt_lookup_volume()
|
/freebsd/sys/dev/mpt/ |
H A D | mpt.c | 2983 mpt2host_config_page_ioc2(CONFIG_PAGE_IOC_2 *ioc2) in mpt2host_config_page_ioc2() argument 2987 MPT_2_HOST32(ioc2, CapabilitiesFlags); in mpt2host_config_page_ioc2() 2989 MPT_2_HOST16(ioc2, RaidVolume[i].Reserved3); in mpt2host_config_page_ioc2()
|