Searched refs:ioc2 (Results 1 – 6 of 6) sorted by relevance
| /freebsd-14.2/usr.sbin/mptutil/ |
| H A D | mpt_show.c | 79 CONFIG_PAGE_IOC_2 *ioc2; in show_adapter() local 118 if (ioc2 != NULL) { in show_adapter() 159 free(ioc2); in show_adapter() 311 free(ioc2); in show_config() 319 free(ioc2); in show_config() 326 mpt_unit, ioc2->NumActiveVolumes, ioc2->NumActivePhysDisks + in show_config() 328 vol = ioc2->RaidVolume; in show_config() 381 free(ioc2); in show_config() 413 if (ioc2 == NULL) { in show_volumes() 425 vol = ioc2->RaidVolume; in show_volumes() [all …]
|
| H A D | mpt_drive.c | 140 CONFIG_PAGE_IOC_2 *ioc2; in mpt_pd_list() local 152 ioc2 = mpt_read_ioc_page(fd, 2, NULL); in mpt_pd_list() 153 if (ioc2 == NULL) { in mpt_pd_list() 164 free(ioc2); in mpt_pd_list() 174 free(ioc2); in mpt_pd_list() 185 vol = ioc2->RaidVolume; in mpt_pd_list() 186 for (i = 0; i < ioc2->NumActiveVolumes; vol++, i++) { in mpt_pd_list() 196 free(ioc2); in mpt_pd_list() 208 for (i = 0; i < ioc2->NumActiveVolumes; i++) { in mpt_pd_list() 216 free(ioc2); in mpt_pd_list() [all …]
|
| H A D | mpt_config.c | 230 CONFIG_PAGE_IOC_2 *ioc2; in clear_config() local 246 if (ioc2 == NULL) { in clear_config() 254 vol = ioc2->RaidVolume; in clear_config() 259 free(ioc2); in clear_config() 271 free(ioc2); in clear_config() 277 vol = ioc2->RaidVolume; in clear_config() 288 free(ioc2); in clear_config() 345 CONFIG_PAGE_IOC_2 *ioc2; member 782 free(state.ioc2); in create_volume() 873 if (ioc2 == NULL) { in find_volume_spare_pool() [all …]
|
| H A D | mpt_cam.c | 215 periph_is_volume(CONFIG_PAGE_IOC_2 *ioc2, struct periph_match_result *r) in periph_is_volume() argument 220 if (ioc2 == NULL) in periph_is_volume() 222 vol = ioc2->RaidVolume; in periph_is_volume() 223 for (i = 0; i < ioc2->NumActiveVolumes; vol++, i++) { in periph_is_volume() 391 CONFIG_PAGE_IOC_2 *ioc2; in mpt_fetch_disks() local 482 ioc2 = mpt_read_ioc_page(fd, 2, NULL); in mpt_fetch_disks() 483 if (ioc2 == NULL) in mpt_fetch_disks() 489 if (periph_is_volume(ioc2, r)) in mpt_fetch_disks() 505 free(ioc2); in mpt_fetch_disks()
|
| H A D | mpt_cmd.c | 297 CONFIG_PAGE_IOC_2 *ioc2; in mpt_lookup_volume() local 327 ioc2 = mpt_read_ioc_page(fd, 2, NULL); in mpt_lookup_volume() 328 if (ioc2 == NULL) in mpt_lookup_volume() 331 vol = ioc2->RaidVolume; in mpt_lookup_volume() 332 for (i = 0; i < ioc2->NumActiveVolumes; vol++, i++) { in mpt_lookup_volume() 338 free(ioc2); in mpt_lookup_volume() 342 free(ioc2); in mpt_lookup_volume()
|
| /freebsd-14.2/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()
|