| /linux/drivers/char/tpm/ |
| H A D | tpm-dev-common.c | 70 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 D | tpm-dev.h | 17 ssize_t response_length; member
|
| /linux/include/uapi/rdma/ |
| H A D | mlx5-abi.h | 148 __u32 response_length; member 268 __u32 response_length; member 432 __u32 response_length; member 454 __u32 response_length; member 461 __u32 response_length; member 466 __u32 response_length; member
|
| H A D | mlx4-abi.h | 136 __u32 response_length; member 183 __u32 response_length; member
|
| H A D | ib_user_verbs.h | 290 __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 D | target_core_spc.c | 2259 int response_length = 0; in spc_emulate_report_supp_op_codes() local 2275 response_length = 4 + (8 + rctd * 12) * descr_num; in spc_emulate_report_supp_op_codes() 2282 response_length = 4 + descr->cdb_size + rctd * 12; in spc_emulate_report_supp_op_codes() 2284 response_length = 2; in spc_emulate_report_supp_op_codes() 2287 buf = kzalloc(response_length, GFP_KERNEL); in spc_emulate_report_supp_op_codes() 2292 response_length = 0; in spc_emulate_report_supp_op_codes() 2295 response_length += 4; in spc_emulate_report_supp_op_codes() 2302 response_length += spc_rsoc_encode_command_descriptor( in spc_emulate_report_supp_op_codes() 2303 &buf[response_length], rctd, descr); in spc_emulate_report_supp_op_codes() 2305 put_unaligned_be32(response_length - 4, buf); in spc_emulate_report_supp_op_codes() [all …]
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | ah.c | 121 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 D | main.c | 961 resp_len = sizeof(resp.comp_mask) + sizeof(resp.response_length); in mlx5_ib_query_device() 965 resp.response_length = resp_len; in mlx5_ib_query_device() 1037 resp.response_length += sizeof(resp.tso_caps); in mlx5_ib_query_device() 1054 resp.response_length += sizeof(resp.rss_caps); in mlx5_ib_query_device() 1058 resp.response_length += sizeof(resp.tso_caps); in mlx5_ib_query_device() 1060 resp.response_length += sizeof(resp.rss_caps); in mlx5_ib_query_device() 1198 resp.response_length += sizeof(resp.cqe_comp_caps); in mlx5_ib_query_device() 1230 resp.response_length += sizeof(resp.packet_pacing_caps); in mlx5_ib_query_device() 1243 resp.response_length += in mlx5_ib_query_device() 1248 resp.response_length += sizeof(resp.flags); in mlx5_ib_query_device() [all …]
|
| H A D | qp.c | 4417 resp->response_length = sizeof(*resp); in __mlx5_ib_modify_qp() 4600 resp.response_length = (udata->outlen < sizeof(resp)) ? in mlx5_ib_modify_dct() 4629 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_modify_dct() 4793 if (!err && resp.response_length && in mlx5_ib_modify_qp() 4794 udata->outlen >= resp.response_length) in mlx5_ib_modify_qp() 4796 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_modify_qp() 5509 resp.response_length = offsetofend( in mlx5_ib_create_wq() 5510 struct mlx5_ib_create_wq_resp, response_length); in mlx5_ib_create_wq() 5511 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_create_wq() 5600 resp.response_length = in mlx5_ib_create_rwq_ind_table() [all …]
|
| H A D | mr.c | 2550 __u32 response_length; in mlx5_ib_alloc_mw() member 2590 resp.response_length = in mlx5_ib_alloc_mw() 2591 min(offsetofend(typeof(resp), response_length), udata->outlen); in mlx5_ib_alloc_mw() 2592 if (resp.response_length) { in mlx5_ib_alloc_mw() 2593 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx5_ib_alloc_mw()
|
| /linux/drivers/scsi/smartpqi/ |
| H A D | smartpqi_sas_transport.c | 492 put_unaligned_le32(resp_size, ¶meters->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 D | smartpqi.h | 1639 u8 response_length; member 1662 __le32 response_length; member
|
| /linux/drivers/infiniband/hw/mlx4/ |
| H A D | main.c | 462 resp.response_length = offsetof(typeof(resp), response_length) + in mlx4_ib_query_device() 463 sizeof(resp.response_length); in mlx4_ib_query_device() 580 if (uhw->outlen >= resp.response_length + sizeof(resp.hca_core_clock_offset)) { in mlx4_ib_query_device() 581 resp.response_length += sizeof(resp.hca_core_clock_offset); in mlx4_ib_query_device() 588 if (uhw->outlen >= resp.response_length + in mlx4_ib_query_device() 590 resp.response_length += sizeof(resp.max_inl_recv_sz); in mlx4_ib_query_device() 615 resp.response_length = offsetof(typeof(resp), rss_caps) + in mlx4_ib_query_device() 629 resp.response_length = offsetof(typeof(resp), tso_caps) + in mlx4_ib_query_device() 634 err = ib_copy_to_udata(uhw, &resp, resp.response_length); in mlx4_ib_query_device()
|
| H A D | qp.c | 4381 resp.response_length = offsetof(typeof(resp), response_length) + in mlx4_ib_create_rwq_ind_table() 4382 sizeof(resp.response_length); in mlx4_ib_create_rwq_ind_table() 4383 err = ib_copy_to_udata(udata, &resp, resp.response_length); in mlx4_ib_create_rwq_ind_table()
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | ptp.c | 923 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 D | ptp.c | 910 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/infiniband/core/ |
| H A D | uverbs_cmd.c | 1084 resp.response_length = uverbs_response_length(attrs, sizeof(resp)); in create_cq() 1504 resp.response_length = uverbs_response_length(attrs, sizeof(resp)); in create_qp() 1962 .response_length = uverbs_response_length(attrs, sizeof(resp)) in ib_uverbs_ex_modify_qp() 2985 resp.response_length = uverbs_response_length(attrs, sizeof(resp)); in ib_uverbs_ex_create_wq() 3014 resp.response_length = uverbs_response_length(attrs, sizeof(resp)); in ib_uverbs_ex_destroy_wq() 3173 resp.response_length = uverbs_response_length(attrs, sizeof(resp)); in ib_uverbs_ex_create_rwq_ind_table() 3678 resp.response_length = uverbs_response_length(attrs, sizeof(resp)); in ib_uverbs_ex_query_device() 3816 response_length), 3849 response_length), 3971 response_length), [all …]
|
| /linux/drivers/scsi/isci/ |
| H A D | scu_task_context.h | 366 u32 response_length:8; member
|
| /linux/drivers/scsi/mpt3sas/ |
| H A D | mpt3sas_transport.c | 329 u8 response_length; member 1246 u8 response_length; member 1540 u8 response_length; member
|
| /linux/drivers/scsi/mpi3mr/ |
| H A D | mpi3mr_transport.c | 103 u8 response_length; member 2542 u8 response_length; member 2804 u8 response_length; member
|
| /linux/drivers/scsi/be2iscsi/ |
| H A D | be_cmds.h | 267 u32 response_length; /* dword 2 */ member
|
| H A D | be_cmds.c | 212 mbx_resp_hdr->response_length, in __beiscsi_mcc_compl_status()
|
| H A D | be_main.c | 4854 nonemb_cmd.va, (resp->response_length in beiscsi_bsg_request() 4856 bsg_reply->reply_payload_rcv_len = resp->response_length; in beiscsi_bsg_request()
|
| /linux/drivers/net/ethernet/emulex/benet/ |
| H A D | be_cmds.h | 348 u32 response_length; /* dword 2 */ member
|
| H A D | be_cmds.c | 5080 memcpy(wrb_payload, resp, sizeof(*resp) + resp->response_length); in be_roce_mcc_cmd() 5081 be_dws_le_to_cpu(wrb_payload, sizeof(*resp) + resp->response_length); in be_roce_mcc_cmd()
|