Searched refs:ioc2 (Results 1 – 6 of 6) sorted by relevance
/dragonfly/usr.sbin/mptutil/ |
H A D | mpt_show.c | 78 CONFIG_PAGE_IOC_2 *ioc2; in show_adapter() local 114 if (ioc2 != NULL) { in show_adapter() 155 free(ioc2); in show_adapter() 278 CONFIG_PAGE_IOC_2 *ioc2; in show_config() local 317 mpt_unit, ioc2->NumActiveVolumes, ioc2->NumActivePhysDisks + in show_config() 319 vol = ioc2->RaidVolume; in show_config() 372 free(ioc2); in show_config() 404 if (ioc2 == NULL) { in show_volumes() 416 vol = ioc2->RaidVolume; in show_volumes() 437 vol = ioc2->RaidVolume; in show_volumes() [all …]
|
H A D | mpt_drive.c | 139 CONFIG_PAGE_IOC_2 *ioc2; in mpt_pd_list() local 150 ioc2 = mpt_read_ioc_page(fd, 2, NULL); in mpt_pd_list() 151 if (ioc2 == NULL) { in mpt_pd_list() 162 free(ioc2); in mpt_pd_list() 172 free(ioc2); in mpt_pd_list() 181 volumes = malloc(sizeof(*volumes) * ioc2->NumActiveVolumes); in mpt_pd_list() 183 vol = ioc2->RaidVolume; in mpt_pd_list() 184 for (i = 0; i < ioc2->NumActiveVolumes; vol++, i++) { in mpt_pd_list() 203 for (i = 0; i < ioc2->NumActiveVolumes; i++) { in mpt_pd_list() 210 free(ioc2); in mpt_pd_list()
|
H A D | mpt_config.c | 196 CONFIG_PAGE_IOC_2 *ioc2; in clear_config() local 212 if (ioc2 == NULL) { in clear_config() 219 vol = ioc2->RaidVolume; in clear_config() 238 vol = ioc2->RaidVolume; in clear_config() 249 free(ioc2); in clear_config() 306 CONFIG_PAGE_IOC_2 *ioc2; member 723 free(state.ioc2); in create_volume() 777 CONFIG_PAGE_IOC_2 *ioc2; in find_volume_spare_pool() local 809 if (ioc2 == NULL) { in find_volume_spare_pool() 815 vol = ioc2->RaidVolume; 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() 393 CONFIG_PAGE_IOC_2 *ioc2; in mpt_fetch_disks() local 484 ioc2 = mpt_read_ioc_page(fd, 2, NULL); in mpt_fetch_disks() 485 if (ioc2 == NULL) in mpt_fetch_disks() 491 if (periph_is_volume(ioc2, r)) in mpt_fetch_disks() 507 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()
|
/dragonfly/sys/dev/disk/mpt/ |
H A D | mpt.c | 2985 mpt2host_config_page_ioc2(CONFIG_PAGE_IOC_2 *ioc2) in mpt2host_config_page_ioc2() argument 2989 MPT_2_HOST32(ioc2, CapabilitiesFlags); in mpt2host_config_page_ioc2() 2991 MPT_2_HOST16(ioc2, RaidVolume[i].Reserved3); in mpt2host_config_page_ioc2()
|