Lines Matching refs:cm_length

143 	cm->cm_length =  le16toh(mpi_reply->Header.PageLength) * 4;  in mps_config_get_ioc_pg8()
148 page = malloc((cm->cm_length), M_MPT2, M_ZERO | M_NOWAIT); in mps_config_get_ioc_pg8()
183 bcopy(page, config_page, MIN(cm->cm_length, (sizeof(Mpi2IOCPage8_t)))); in mps_config_get_ioc_pg8()
275 cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4; in mps_config_get_man_pg10()
642 cm->cm_length = le16toh(request->ExtPageLength) * 4; in mps_config_get_dpm_pg0()
647 page = malloc(cm->cm_length, M_MPT2, M_ZERO|M_NOWAIT); in mps_config_get_dpm_pg0()
681 bcopy(page, config_page, MIN(cm->cm_length, sz)); in mps_config_get_dpm_pg0()
780 cm->cm_length = le16toh(mpi_reply->ExtPageLength) * 4; in mps_config_set_dpm_pg0()
785 page = malloc(cm->cm_length, M_MPT2, M_ZERO | M_NOWAIT); in mps_config_set_dpm_pg0()
791 bcopy(config_page, page, MIN(cm->cm_length, in mps_config_set_dpm_pg0()
916 cm->cm_length = le16toh(mpi_reply->ExtPageLength) * 4; in mps_config_get_sas_device_pg0()
921 page = malloc(cm->cm_length, M_MPT2, M_ZERO | M_NOWAIT); in mps_config_get_sas_device_pg0()
956 bcopy(page, config_page, MIN(cm->cm_length, in mps_config_get_sas_device_pg0()
1048 cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4; in mps_config_get_bios_pg3()
1053 page = malloc(cm->cm_length, M_MPT2, M_ZERO | M_NOWAIT); in mps_config_get_bios_pg3()
1088 bcopy(page, config_page, MIN(cm->cm_length, sizeof(Mpi2BiosPage3_t))); in mps_config_get_bios_pg3()
1180 cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4; in mps_config_get_raid_volume_pg0()
1185 page = malloc(cm->cm_length, M_MPT2, M_ZERO | M_NOWAIT); in mps_config_get_raid_volume_pg0()
1218 bcopy(page, config_page, cm->cm_length); in mps_config_get_raid_volume_pg0()
1312 cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4; in mps_config_get_raid_volume_pg1()
1317 page = malloc(cm->cm_length, M_MPT2, M_ZERO | M_NOWAIT); in mps_config_get_raid_volume_pg1()
1352 bcopy(page, config_page, MIN(cm->cm_length, in mps_config_get_raid_volume_pg1()
1470 cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4; in mps_config_get_raid_pd_pg0()
1475 page = malloc(cm->cm_length, M_MPT2, M_ZERO | M_NOWAIT); in mps_config_get_raid_pd_pg0()
1508 bcopy(page, config_page, MIN(cm->cm_length, in mps_config_get_raid_pd_pg0()