Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/char/tpm/
Dtpm-dev-common.c65 priv->response_length = ret; in tpm_dev_async_work()
79 priv->response_length = ret; in tpm_dev_async_work()
104 priv->response_length = 0; in tpm_timeout_work()
134 if (priv->response_length) { in tpm_common_read()
137 ret_size = min_t(ssize_t, size, priv->response_length); in tpm_common_read()
139 priv->response_length = 0; in tpm_common_read()
146 priv->response_length = 0; in tpm_common_read()
150 priv->response_length -= ret_size; in tpm_common_read()
156 if (!priv->response_length) { in tpm_common_read()
180 if ((!priv->response_read && priv->response_length) || in tpm_common_write()
[all …]
Dtpm-dev.h17 ssize_t response_length; member
/Linux-v6.6/include/uapi/rdma/
Dmlx5-abi.h147 __u32 response_length; member
266 __u32 response_length; member
429 __u32 response_length; member
447 __u32 response_length; member
454 __u32 response_length; member
459 __u32 response_length; member
Dmlx4-abi.h136 __u32 response_length; member
183 __u32 response_length; member
Dib_user_verbs.h274 __u32 response_length; member
450 __u32 response_length; member
660 __u32 response_length; member
761 __u32 response_length; member
1251 __u32 response_length; member
1265 __u32 response_length; member
1293 __u32 response_length; member
/Linux-v6.6/drivers/target/
Dtarget_core_spc.c2200 int response_length = 0; in spc_emulate_report_supp_op_codes() local
2216 response_length = 4 + (8 + rctd * 12) * descr_num; in spc_emulate_report_supp_op_codes()
2223 response_length = 4 + descr->cdb_size + rctd * 12; in spc_emulate_report_supp_op_codes()
2225 response_length = 2; in spc_emulate_report_supp_op_codes()
2228 buf = kzalloc(response_length, GFP_KERNEL); in spc_emulate_report_supp_op_codes()
2233 response_length = 0; in spc_emulate_report_supp_op_codes()
2236 response_length += 4; in spc_emulate_report_supp_op_codes()
2243 response_length += spc_rsoc_encode_command_descriptor( in spc_emulate_report_supp_op_codes()
2244 &buf[response_length], rctd, descr); in spc_emulate_report_supp_op_codes()
2246 put_unaligned_be32(response_length - 3, buf); in spc_emulate_report_supp_op_codes()
[all …]
/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dah.c115 resp.response_length = min_resp_len; in mlx5_ib_create_ah()
118 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_create_ah()
Dmain.c833 resp_len = sizeof(resp.comp_mask) + sizeof(resp.response_length); in mlx5_ib_query_device()
837 resp.response_length = resp_len; in mlx5_ib_query_device()
909 resp.response_length += sizeof(resp.tso_caps); in mlx5_ib_query_device()
926 resp.response_length += sizeof(resp.rss_caps); in mlx5_ib_query_device()
930 resp.response_length += sizeof(resp.tso_caps); in mlx5_ib_query_device()
932 resp.response_length += sizeof(resp.rss_caps); in mlx5_ib_query_device()
1070 resp.response_length += sizeof(resp.cqe_comp_caps); in mlx5_ib_query_device()
1102 resp.response_length += sizeof(resp.packet_pacing_caps); in mlx5_ib_query_device()
1115 resp.response_length += in mlx5_ib_query_device()
1120 resp.response_length += sizeof(resp.flags); in mlx5_ib_query_device()
[all …]
Dqp.c4357 resp->response_length = sizeof(*resp); in __mlx5_ib_modify_qp()
4538 resp.response_length = (udata->outlen < sizeof(resp)) ? in mlx5_ib_modify_dct()
4563 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_modify_dct()
4726 if (!err && resp.response_length && in mlx5_ib_modify_qp()
4727 udata->outlen >= resp.response_length) in mlx5_ib_modify_qp()
4729 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_modify_qp()
5442 resp.response_length = offsetofend( in mlx5_ib_create_wq()
5443 struct mlx5_ib_create_wq_resp, response_length); in mlx5_ib_create_wq()
5444 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_create_wq()
5533 resp.response_length = in mlx5_ib_create_rwq_ind_table()
[all …]
Dmr.c2200 __u32 response_length; in mlx5_ib_alloc_mw() member
2240 resp.response_length = in mlx5_ib_alloc_mw()
2241 min(offsetofend(typeof(resp), response_length), udata->outlen); in mlx5_ib_alloc_mw()
2242 if (resp.response_length) { in mlx5_ib_alloc_mw()
2243 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_alloc_mw()
/Linux-v6.6/drivers/scsi/smartpqi/
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()
Dsmartpqi.h1625 u8 response_length; member
1648 __le32 response_length; member
/Linux-v6.6/drivers/infiniband/hw/mlx4/
Dmain.c463 resp.response_length = offsetof(typeof(resp), response_length) + in mlx4_ib_query_device()
464 sizeof(resp.response_length); in mlx4_ib_query_device()
581 if (uhw->outlen >= resp.response_length + sizeof(resp.hca_core_clock_offset)) { in mlx4_ib_query_device()
582 resp.response_length += sizeof(resp.hca_core_clock_offset); in mlx4_ib_query_device()
589 if (uhw->outlen >= resp.response_length + in mlx4_ib_query_device()
591 resp.response_length += sizeof(resp.max_inl_recv_sz); in mlx4_ib_query_device()
616 resp.response_length = offsetof(typeof(resp), rss_caps) + in mlx4_ib_query_device()
630 resp.response_length = offsetof(typeof(resp), tso_caps) + in mlx4_ib_query_device()
635 err = ib_copy_to_udata(uhw, &resp, resp.response_length); in mlx4_ib_query_device()
Dqp.c4374 resp.response_length = offsetof(typeof(resp), response_length) + in mlx4_ib_create_rwq_ind_table()
4375 sizeof(resp.response_length); in mlx4_ib_create_rwq_ind_table()
4376 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx4_ib_create_rwq_ind_table()
/Linux-v6.6/drivers/net/ethernet/sfc/
Dptp.c904 size_t response_length, in efx_ptp_process_times() argument
908 MCDI_VAR_ARRAY_LEN(response_length, in efx_ptp_process_times()
1010 size_t response_length; in efx_ptp_synchronize() local
1049 &response_length); in efx_ptp_synchronize()
1051 rc = efx_ptp_process_times(efx, synch_buf, response_length, in efx_ptp_synchronize()
/Linux-v6.6/drivers/net/ethernet/sfc/siena/
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-v6.6/drivers/scsi/isci/
Dscu_task_context.h366 u32 response_length:8; member
/Linux-v6.6/drivers/infiniband/core/
Duverbs_cmd.c1067 resp.response_length = uverbs_response_length(attrs, sizeof(resp)); in create_cq()
1479 resp.response_length = uverbs_response_length(attrs, sizeof(resp)); in create_qp()
1935 .response_length = uverbs_response_length(attrs, sizeof(resp)) in ib_uverbs_ex_modify_qp()
2953 resp.response_length = uverbs_response_length(attrs, sizeof(resp)); in ib_uverbs_ex_create_wq()
2982 resp.response_length = uverbs_response_length(attrs, sizeof(resp)); in ib_uverbs_ex_destroy_wq()
3141 resp.response_length = uverbs_response_length(attrs, sizeof(resp)); in ib_uverbs_ex_create_rwq_ind_table()
3647 resp.response_length = uverbs_response_length(attrs, sizeof(resp)); in ib_uverbs_ex_query_device()
3785 response_length),
3818 response_length),
3940 response_length),
[all …]
/Linux-v6.6/drivers/scsi/mpt3sas/
Dmpt3sas_transport.c326 u8 response_length; member
1250 u8 response_length; member
1544 u8 response_length; member
/Linux-v6.6/drivers/scsi/mpi3mr/
Dmpi3mr_transport.c101 u8 response_length; member
2493 u8 response_length; member
2750 u8 response_length; member
/Linux-v6.6/drivers/scsi/be2iscsi/
Dbe_cmds.h267 u32 response_length; /* dword 2 */ member
Dbe_cmds.c212 mbx_resp_hdr->response_length, in __beiscsi_mcc_compl_status()
Dbe_main.c4868 nonemb_cmd.va, (resp->response_length in beiscsi_bsg_request()
4870 bsg_reply->reply_payload_rcv_len = resp->response_length; in beiscsi_bsg_request()
/Linux-v6.6/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h348 u32 response_length; /* dword 2 */ member
Dbe_cmds.c5076 memcpy(wrb_payload, resp, sizeof(*resp) + resp->response_length); in be_roce_mcc_cmd()
5077 be_dws_le_to_cpu(wrb_payload, sizeof(*resp) + resp->response_length); in be_roce_mcc_cmd()

12