Home
last modified time | relevance | path

Searched refs:response_length (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/char/tpm/
H A Dtpm-dev-common.c70 priv->response_length = ret; in tpm_dev_async_work()
84 priv->response_length = ret; in tpm_dev_async_work()
109 priv->response_length = 0; in tpm_timeout_work()
139 if (priv->response_length) { in tpm_common_read()
142 ret_size = min_t(ssize_t, size, priv->response_length); in tpm_common_read()
144 priv->response_length = 0; in tpm_common_read()
151 priv->response_length = 0; in tpm_common_read()
155 priv->response_length -= ret_size; in tpm_common_read()
161 if (!priv->response_length) { in tpm_common_read()
185 if ((!priv->response_read && priv->response_length) || in tpm_common_write()
[all …]
H A Dtpm-dev.h17 ssize_t response_length; member
/linux/include/uapi/rdma/
H A Dmlx4-abi.h136 __u32 response_length; member
183 __u32 response_length; member
H A Dib_user_verbs.h290 __u32 response_length; member
466 __u32 response_length; member
676 __u32 response_length; member
777 __u32 response_length; member
1267 __u32 response_length; member
1281 __u32 response_length; member
1309 __u32 response_length; member
/linux/drivers/target/
H A Dtarget_core_spc.c2243 int response_length = 0; in spc_emulate_report_supp_op_codes() local
2259 response_length = 4 + (8 + rctd * 12) * descr_num; in spc_emulate_report_supp_op_codes()
2266 response_length = 4 + descr->cdb_size + rctd * 12; in spc_emulate_report_supp_op_codes()
2268 response_length = 2; in spc_emulate_report_supp_op_codes()
2271 buf = kzalloc(response_length, GFP_KERNEL); in spc_emulate_report_supp_op_codes()
2276 response_length = 0; in spc_emulate_report_supp_op_codes()
2279 response_length += 4; in spc_emulate_report_supp_op_codes()
2286 response_length += spc_rsoc_encode_command_descriptor( in spc_emulate_report_supp_op_codes()
2287 &buf[response_length], rctd, descr); in spc_emulate_report_supp_op_codes()
2289 put_unaligned_be32(response_length - 4, buf); in spc_emulate_report_supp_op_codes()
[all …]
/linux/drivers/infiniband/hw/mlx5/
H A Dah.c121 resp.response_length = min_resp_len; in mlx5_ib_create_ah()
124 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_create_ah()
H A Dmain.c953 resp_len = sizeof(resp.comp_mask) + sizeof(resp.response_length); in mlx5_ib_query_device()
957 resp.response_length = resp_len; in mlx5_ib_query_device()
1029 resp.response_length += sizeof(resp.tso_caps); in mlx5_ib_query_device()
1046 resp.response_length += sizeof(resp.rss_caps); in mlx5_ib_query_device()
1050 resp.response_length += sizeof(resp.tso_caps); in mlx5_ib_query_device()
1052 resp.response_length += sizeof(resp.rss_caps); in mlx5_ib_query_device()
1190 resp.response_length += sizeof(resp.cqe_comp_caps); in mlx5_ib_query_device()
1222 resp.response_length += sizeof(resp.packet_pacing_caps); in mlx5_ib_query_device()
1235 resp.response_length += in mlx5_ib_query_device()
1240 resp.response_length += sizeof(resp.flags); in mlx5_ib_query_device()
[all …]
H A Dqp.c4413 resp->response_length = sizeof(*resp); in __mlx5_ib_modify_qp()
4596 resp.response_length = (udata->outlen < sizeof(resp)) ? in mlx5_ib_modify_dct()
4625 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_modify_dct()
4789 if (!err && resp.response_length && in mlx5_ib_modify_qp()
4790 udata->outlen >= resp.response_length) in mlx5_ib_modify_qp()
4792 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_modify_qp()
5505 resp.response_length = offsetofend( in mlx5_ib_create_wq()
5506 struct mlx5_ib_create_wq_resp, response_length); in mlx5_ib_create_wq()
5507 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_create_wq()
5596 resp.response_length = in mlx5_ib_create_rwq_ind_table()
[all …]
/linux/drivers/scsi/smartpqi/
H A Dsmartpqi_sas_transport.c492 put_unaligned_le32(resp_size, &parameters->response_length); in pqi_build_csmi_smp_passthru_buffer()
507 le32_to_cpu(smp_buf->parameters.response_length)); in pqi_build_sas_smp_handler_reply()
H A Dsmartpqi.h1639 u8 response_length; member
1662 __le32 response_length; member
/linux/drivers/net/ethernet/sfc/siena/
H A Dptp.c923 size_t response_length, in efx_ptp_process_times() argument
927 MCDI_VAR_ARRAY_LEN(response_length, in efx_ptp_process_times()
1029 size_t response_length; in efx_ptp_synchronize() local
1068 &response_length); in efx_ptp_synchronize()
1070 rc = efx_ptp_process_times(efx, synch_buf, response_length, in efx_ptp_synchronize()
/linux/drivers/net/ethernet/sfc/
H A Dptp.c910 size_t response_length, in efx_ptp_process_times() argument
914 MCDI_VAR_ARRAY_LEN(response_length, in efx_ptp_process_times()
1016 size_t response_length; in efx_ptp_synchronize() local
1055 &response_length); in efx_ptp_synchronize()
1057 rc = efx_ptp_process_times(efx, synch_buf, response_length, in efx_ptp_synchronize()
/linux/drivers/scsi/isci/
H A Dscu_task_context.h366 u32 response_length:8; member
/linux/drivers/scsi/be2iscsi/
H A Dbe_cmds.h267 u32 response_length; /* dword 2 */ member
H A Dbe_cmds.c212 mbx_resp_hdr->response_length, in __beiscsi_mcc_compl_status()
H A Dbe_main.c4869 nonemb_cmd.va, (resp->response_length in beiscsi_bsg_request()
4871 bsg_reply->reply_payload_rcv_len = resp->response_length; in beiscsi_bsg_request()
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c5079 memcpy(wrb_payload, resp, sizeof(*resp) + resp->response_length); in be_roce_mcc_cmd()
5080 be_dws_le_to_cpu(wrb_payload, sizeof(*resp) + resp->response_length); in be_roce_mcc_cmd()
/linux/drivers/scsi/elx/libefc_sli/
H A Dsli4.h568 __le32 response_length; member