| /freebsd-14.2/sys/dev/mpr/ |
| H A D | mpr_config.c | 143 cm->cm_length = mpi_reply->Header.PageLength * 4; in mpr_config_get_ioc_pg8() 275 cm->cm_length = mpi_reply->Header.PageLength * 4; in mpr_config_get_iounit_pg8() 315 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_iounit_pg8() 446 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_man_pg11() 752 bcopy(config_page, page, MIN(cm->cm_length, in mpr_config_set_dpm_pg0() 917 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_sas_device_pg0() 1054 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_pcie_device_pg0() 1191 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_pcie_device_pg2() 1453 bcopy(page, config_page, cm->cm_length); in mpr_config_get_raid_volume_pg0() 1587 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_raid_volume_pg1() [all …]
|
| H A D | mpr_user.c | 676 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 D | mprvar.h | 248 u_int cm_length; member 634 cm->cm_length = 0; in mpr_free_command()
|
| H A D | mpr_sas.c | 1805 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 D | mpr.c | 3766 } 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 D | mpr_sas_lsi.c | 1167 cm->cm_length = htole32(sz); in mprsas_get_sata_identify()
|
| /freebsd-14.2/sys/dev/mps/ |
| H A D | mps_config.c | 148 page = malloc((cm->cm_length), M_MPT2, M_ZERO | M_NOWAIT); in mps_config_get_ioc_pg8() 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() 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() 956 bcopy(page, config_page, MIN(cm->cm_length, in mps_config_get_sas_device_pg0() 1218 bcopy(page, config_page, cm->cm_length); in mps_config_get_raid_volume_pg0() 1352 bcopy(page, config_page, MIN(cm->cm_length, in mps_config_get_raid_volume_pg1() [all …]
|
| H A D | mps_user.c | 678 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 D | mpsvar.h | 214 u_int cm_length; member 564 cm->cm_length = 0; in mps_free_command()
|
| H A D | mps_sas.c | 1850 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 D | mps.c | 3049 } 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 D | mps_sas_lsi.c | 942 cm->cm_length = htole32(sz); in mpssas_get_sata_identify()
|