Home
last modified time | relevance | path

Searched refs:cm_length (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/dev/mpr/
H A Dmpr_config.c143 cm->cm_length = mpi_reply->Header.PageLength * 4; in mpr_config_get_ioc_pg8()
148 page = malloc((cm->cm_length), M_MPR, M_ZERO | M_NOWAIT); in mpr_config_get_ioc_pg8()
183 bcopy(page, config_page, MIN(cm->cm_length, (sizeof(Mpi2IOCPage8_t)))); in mpr_config_get_ioc_pg8()
275 cm->cm_length = mpi_reply->Header.PageLength * 4; in mpr_config_get_iounit_pg8()
280 page = malloc((cm->cm_length), M_MPR, M_ZERO | M_NOWAIT); in mpr_config_get_iounit_pg8()
315 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_iounit_pg8()
407 cm->cm_length = mpi_reply->Header.PageLength * 4; in mpr_config_get_man_pg11()
412 page = malloc((cm->cm_length), M_MPR, M_ZERO | M_NOWAIT); in mpr_config_get_man_pg11()
446 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_man_pg11()
603 cm->cm_length = le16toh(request->ExtPageLength) * 4; in mpr_config_get_dpm_pg0()
[all …]
H A Dmpr_user.c676 cm->cm_length = cmd->len; in mpr_user_command()
679 cm->cm_length = 0; in mpr_user_command()
897 cm->cm_length = MAX(data->DataSize, data->DataOutSize); in mpr_user_pass_thru()
900 if (cm->cm_length != 0) { in mpr_user_pass_thru()
901 cm->cm_data = malloc(cm->cm_length, M_MPRUSER, M_WAITOK | in mpr_user_pass_thru()
1303 cm->cm_length = 0; in mpr_post_fw_diag_buffer()
1397 cm->cm_length = 0; in mpr_release_fw_diag_buffer()
H A Dmprvar.h248 u_int cm_length; member
634 cm->cm_length = 0; in mpr_free_command()
H A Dmpr_sas.c1805 cm->cm_length = data_length; in mprsas_build_nvme_unmap()
2107 cm->cm_length = csio->dxfer_len; in mprsas_action_scsiio()
2108 if (cm->cm_length != 0) { in mprsas_action_scsiio()
2595 csio->resid = cm->cm_length - le32toh(rep->TransferCount); in mprsas_scsiio_complete()
2807 csio->resid = cm->cm_length; in mprsas_scsiio_complete()
H A Dmpr.c3766 } else if ((cm->cm_data != NULL) && (cm->cm_length != 0)) { in mpr_map_command()
3768 cm->cm_data, cm->cm_length, mpr_data_cb, cm, 0); in mpr_map_command()
3959 cm->cm_length = params->length; in mpr_read_config_page()
H A Dmpr_sas_lsi.c1167 cm->cm_length = htole32(sz); in mprsas_get_sata_identify()
/freebsd/sys/dev/mps/
H A Dmps_config.c143 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()
[all …]
H A Dmps_user.c678 cm->cm_length = cmd->len; in mps_user_command()
681 cm->cm_length = 0; in mps_user_command()
899 cm->cm_length = MAX(data->DataSize, data->DataOutSize); in mps_user_pass_thru()
902 if (cm->cm_length != 0) { in mps_user_pass_thru()
903 cm->cm_data = malloc(cm->cm_length, M_MPSUSER, M_WAITOK | in mps_user_pass_thru()
1193 cm->cm_length = 0; in mps_post_fw_diag_buffer()
1286 cm->cm_length = 0; in mps_release_fw_diag_buffer()
H A Dmpsvar.h214 u_int cm_length; member
564 cm->cm_length = 0; in mps_free_command()
H A Dmps_sas.c1850 cm->cm_length = csio->dxfer_len; in mpssas_action_scsiio()
1851 if (cm->cm_length != 0) { in mpssas_action_scsiio()
2138 csio->resid = cm->cm_length - le32toh(rep->TransferCount); in mpssas_scsiio_complete()
2353 csio->resid = cm->cm_length; in mpssas_scsiio_complete()
2421 io_size = (cm->cm_length >> sc->DD_block_exponent); in mpssas_direct_drive_io()
2499 io_size = (cm->cm_length >> sc->DD_block_exponent); in mpssas_direct_drive_io()
2578 io_size = (cm->cm_length >> sc->DD_block_exponent); in mpssas_direct_drive_io()
H A Dmps.c3049 } else if ((cm->cm_data != NULL) && (cm->cm_length != 0)) { in mps_map_command()
3051 cm->cm_data, cm->cm_length, mps_data_cb, cm, 0); in mps_map_command()
3189 cm->cm_length = params->length; in mps_read_config_page()
H A Dmps_sas_lsi.c942 cm->cm_length = htole32(sz); in mpssas_get_sata_identify()