Lines Matching refs:page
76 MPI2_CONFIG_PAGE_IOC_8 *page = NULL; in mpr_config_get_ioc_pg8() local
148 page = malloc((cm->cm_length), M_MPR, M_ZERO | M_NOWAIT); in mpr_config_get_ioc_pg8()
149 if (!page) { in mpr_config_get_ioc_pg8()
154 cm->cm_data = page; in mpr_config_get_ioc_pg8()
183 bcopy(page, config_page, MIN(cm->cm_length, (sizeof(Mpi2IOCPage8_t)))); in mpr_config_get_ioc_pg8()
186 free(page, M_MPR); in mpr_config_get_ioc_pg8()
208 MPI2_CONFIG_PAGE_IO_UNIT_8 *page = NULL; in mpr_config_get_iounit_pg8() local
280 page = malloc((cm->cm_length), M_MPR, M_ZERO | M_NOWAIT); in mpr_config_get_iounit_pg8()
281 if (!page) { in mpr_config_get_iounit_pg8()
286 cm->cm_data = page; in mpr_config_get_iounit_pg8()
315 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_iounit_pg8()
319 free(page, M_MPR); in mpr_config_get_iounit_pg8()
341 MPI2_CONFIG_PAGE_MAN_11 *page = NULL; in mpr_config_get_man_pg11() local
412 page = malloc((cm->cm_length), M_MPR, M_ZERO | M_NOWAIT); in mpr_config_get_man_pg11()
413 if (!page) { in mpr_config_get_man_pg11()
418 cm->cm_data = page; in mpr_config_get_man_pg11()
446 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_man_pg11()
450 free(page, M_MPR); in mpr_config_get_man_pg11()
529 Mpi2DriverMappingPage0_t *page = NULL; in mpr_config_get_dpm_pg0() local
608 page = malloc(cm->cm_length, M_MPR, M_ZERO|M_NOWAIT); in mpr_config_get_dpm_pg0()
609 if (!page) { in mpr_config_get_dpm_pg0()
614 cm->cm_data = page; in mpr_config_get_dpm_pg0()
642 bcopy(page, config_page, MIN(cm->cm_length, sz)); in mpr_config_get_dpm_pg0()
644 free(page, M_MPR); in mpr_config_get_dpm_pg0()
667 MPI2_CONFIG_PAGE_DRIVER_MAPPING_0 *page = NULL; in mpr_config_set_dpm_pg0() local
745 page = malloc(cm->cm_length, M_MPR, M_ZERO | M_NOWAIT); in mpr_config_set_dpm_pg0()
746 if (!page) { in mpr_config_set_dpm_pg0()
751 bcopy(config_page, page, MIN(cm->cm_length, in mpr_config_set_dpm_pg0()
753 cm->cm_data = page; in mpr_config_set_dpm_pg0()
782 free(page, M_MPR); in mpr_config_set_dpm_pg0()
806 Mpi2SasDevicePage0_t *page = NULL; in mpr_config_get_sas_device_pg0() local
881 page = malloc(cm->cm_length, M_MPR, M_ZERO | M_NOWAIT); in mpr_config_get_sas_device_pg0()
882 if (!page) { in mpr_config_get_sas_device_pg0()
887 cm->cm_data = page; in mpr_config_get_sas_device_pg0()
916 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_sas_device_pg0()
919 free(page, M_MPR); in mpr_config_get_sas_device_pg0()
943 Mpi26PCIeDevicePage0_t *page = NULL; in mpr_config_get_pcie_device_pg0() local
1018 page = malloc(cm->cm_length, M_MPR, M_ZERO | M_NOWAIT); in mpr_config_get_pcie_device_pg0()
1019 if (!page) { in mpr_config_get_pcie_device_pg0()
1024 cm->cm_data = page; in mpr_config_get_pcie_device_pg0()
1053 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_pcie_device_pg0()
1056 free(page, M_MPR); in mpr_config_get_pcie_device_pg0()
1080 Mpi26PCIeDevicePage2_t *page = NULL; in mpr_config_get_pcie_device_pg2() local
1155 page = malloc(cm->cm_length, M_MPR, M_ZERO | M_NOWAIT); in mpr_config_get_pcie_device_pg2()
1156 if (!page) { in mpr_config_get_pcie_device_pg2()
1161 cm->cm_data = page; in mpr_config_get_pcie_device_pg2()
1190 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_pcie_device_pg2()
1193 free(page, M_MPR); in mpr_config_get_pcie_device_pg2()
1215 Mpi2BiosPage3_t *page = NULL; in mpr_config_get_bios_pg3() local
1287 page = malloc(cm->cm_length, M_MPR, M_ZERO | M_NOWAIT); in mpr_config_get_bios_pg3()
1288 if (!page) { in mpr_config_get_bios_pg3()
1293 cm->cm_data = page; in mpr_config_get_bios_pg3()
1322 bcopy(page, config_page, MIN(cm->cm_length, sizeof(Mpi2BiosPage3_t))); in mpr_config_get_bios_pg3()
1324 free(page, M_MPR); in mpr_config_get_bios_pg3()
1347 Mpi2RaidVolPage0_t *page = NULL; in mpr_config_get_raid_volume_pg0() local
1419 page = malloc(cm->cm_length, M_MPR, M_ZERO | M_NOWAIT); in mpr_config_get_raid_volume_pg0()
1420 if (!page) { in mpr_config_get_raid_volume_pg0()
1425 cm->cm_data = page; in mpr_config_get_raid_volume_pg0()
1452 bcopy(page, config_page, cm->cm_length); in mpr_config_get_raid_volume_pg0()
1454 free(page, M_MPR); in mpr_config_get_raid_volume_pg0()
1478 Mpi2RaidVolPage1_t *page = NULL; in mpr_config_get_raid_volume_pg1() local
1551 page = malloc(cm->cm_length, M_MPR, M_ZERO | M_NOWAIT); in mpr_config_get_raid_volume_pg1()
1552 if (!page) { in mpr_config_get_raid_volume_pg1()
1557 cm->cm_data = page; in mpr_config_get_raid_volume_pg1()
1586 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_raid_volume_pg1()
1589 free(page, M_MPR); in mpr_config_get_raid_volume_pg1()
1637 Mpi2RaidPhysDiskPage0_t *page = NULL; in mpr_config_get_raid_pd_pg0() local
1709 page = malloc(cm->cm_length, M_MPR, M_ZERO | M_NOWAIT); in mpr_config_get_raid_pd_pg0()
1710 if (!page) { in mpr_config_get_raid_pd_pg0()
1715 cm->cm_data = page; in mpr_config_get_raid_pd_pg0()
1742 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_raid_pd_pg0()
1745 free(page, M_MPR); in mpr_config_get_raid_pd_pg0()