Home
last modified time | relevance | path

Searched refs:resp_hdr (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/scsi/bnx2i/
Dbnx2i_hwi.c1440 struct iscsi_login_rsp *resp_hdr; in bnx2i_process_login_resp() local
1451 resp_hdr = (struct iscsi_login_rsp *) &bnx2i_conn->gen_pdu.resp_hdr; in bnx2i_process_login_resp()
1452 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in bnx2i_process_login_resp()
1453 resp_hdr->opcode = login->op_code; in bnx2i_process_login_resp()
1454 resp_hdr->flags = login->response_flags; in bnx2i_process_login_resp()
1455 resp_hdr->max_version = login->version_max; in bnx2i_process_login_resp()
1456 resp_hdr->active_version = login->version_active; in bnx2i_process_login_resp()
1457 resp_hdr->hlength = 0; in bnx2i_process_login_resp()
1459 hton24(resp_hdr->dlength, login->data_length); in bnx2i_process_login_resp()
1460 memcpy(resp_hdr->isid, &login->isid_lo, 6); in bnx2i_process_login_resp()
[all …]
Dbnx2i.h200 struct iscsi_hdr resp_hdr; member
/linux-6.1.9/net/nfc/nci/
Dspi.c177 unsigned char req[2], resp_hdr[2]; in __nci_spi_read() local
194 rx.rx_buf = resp_hdr; in __nci_spi_read()
205 rx_len = ((resp_hdr[0] & NCI_SPI_MSB_PAYLOAD_MASK) << 8) + in __nci_spi_read()
206 resp_hdr[1] + NCI_SPI_CRC_LEN; in __nci_spi_read()
208 rx_len = (resp_hdr[0] << 8) | resp_hdr[1]; in __nci_spi_read()
230 *(u8 *)skb_push(skb, 1) = resp_hdr[1]; in __nci_spi_read()
231 *(u8 *)skb_push(skb, 1) = resp_hdr[0]; in __nci_spi_read()
/linux-6.1.9/samples/mei/
Dmei-amt-version.c357 const struct amt_host_if_msg_header *resp_hdr, in amt_verify_response_header() argument
362 } else if (response_size != (resp_hdr->length + in amt_verify_response_header()
365 } else if (resp_hdr->command != command) { in amt_verify_response_header()
367 } else if (resp_hdr->_reserved != 0) { in amt_verify_response_header()
369 } else if (resp_hdr->version.major != AMT_MAJOR_VERSION || in amt_verify_response_header()
370 resp_hdr->version.minor < AMT_MINOR_VERSION) { in amt_verify_response_header()
/linux-6.1.9/drivers/virt/coco/sev-guest/
Dsev-guest.c271 struct snp_guest_msg_hdr *resp_hdr = &resp->hdr; in verify_and_dec_payload() local
274 resp_hdr->msg_seqno, resp_hdr->msg_type, resp_hdr->msg_version, resp_hdr->msg_sz); in verify_and_dec_payload()
277 if (unlikely(resp_hdr->msg_seqno != (req_hdr->msg_seqno + 1))) in verify_and_dec_payload()
281 if (resp_hdr->msg_type != (req_hdr->msg_type + 1) || in verify_and_dec_payload()
282 resp_hdr->msg_version != req_hdr->msg_version) in verify_and_dec_payload()
289 if (unlikely((resp_hdr->msg_sz + crypto->a_len) > sz)) in verify_and_dec_payload()
293 return dec_payload(snp_dev, resp, payload, resp_hdr->msg_sz + crypto->a_len); in verify_and_dec_payload()
/linux-6.1.9/drivers/scsi/qedi/
Dqedi_fw.c36 struct iscsi_logout_rsp *resp_hdr; in qedi_process_logout_resp() local
44 resp_hdr = (struct iscsi_logout_rsp *)&qedi_conn->gen_pdu.resp_hdr; in qedi_process_logout_resp()
45 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in qedi_process_logout_resp()
46 resp_hdr->opcode = cqe_logout_response->opcode; in qedi_process_logout_resp()
47 resp_hdr->flags = cqe_logout_response->flags; in qedi_process_logout_resp()
48 resp_hdr->hlength = 0; in qedi_process_logout_resp()
50 resp_hdr->itt = build_itt(cqe->cqe_solicited.itid, conn->session->age); in qedi_process_logout_resp()
51 resp_hdr->statsn = cpu_to_be32(cqe_logout_response->stat_sn); in qedi_process_logout_resp()
52 resp_hdr->exp_cmdsn = cpu_to_be32(cqe_logout_response->exp_cmd_sn); in qedi_process_logout_resp()
53 resp_hdr->max_cmdsn = cpu_to_be32(cqe_logout_response->max_cmd_sn); in qedi_process_logout_resp()
[all …]
Dqedi_iscsi.h138 struct iscsi_hdr resp_hdr; member
/linux-6.1.9/drivers/mailbox/
Dbcm-pdc-mailbox.c276 void *resp_hdr; member
587 u8 *resp_hdr; /* virtual addr of start of resp message DMA header */ in pdc_receive_one() local
625 resp_hdr = rx_ctx->resp_hdr; in pdc_receive_one()
644 rx_status = *((u32 *)resp_hdr); in pdc_receive_one()
660 dma_pool_free(pdcs->rx_buf_pool, resp_hdr, resp_hdr_daddr); in pdc_receive_one()
854 rx_ctx->resp_hdr = vaddr; in pdc_rx_list_init()
/linux-6.1.9/drivers/scsi/be2iscsi/
Dbe_cmds.h322 struct be_cmd_resp_hdr resp_hdr; member
752 struct be_cmd_resp_hdr resp_hdr; member
777 struct be_cmd_resp_hdr resp_hdr; member
960 struct be_cmd_resp_hdr resp_hdr; member
1257 struct be_cmd_resp_hdr resp_hdr; member
Dbe_cmds.c1509 ret, ioctl->h.resp_hdr.status); in beiscsi_get_port_name()
/linux-6.1.9/drivers/vfio/fsl-mc/
Dvfio_fsl_mc.c300 struct mc_cmd_header *resp_hdr; in vfio_fsl_mc_send_command() local
304 resp_hdr = (struct mc_cmd_header *)&header; in vfio_fsl_mc_send_command()
305 status = (enum mc_cmd_status)resp_hdr->status; in vfio_fsl_mc_send_command()
/linux-6.1.9/drivers/crypto/cavium/nitrox/
Dnitrox_req.h491 struct resp_hdr { struct
524 struct resp_hdr resp;
/linux-6.1.9/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c187 struct be_cmd_resp_hdr *resp_hdr) in be_async_cmd_process() argument
192 if (resp_hdr) { in be_async_cmd_process()
193 opcode = resp_hdr->opcode; in be_async_cmd_process()
194 subsystem = resp_hdr->subsystem; in be_async_cmd_process()
230 (void *)resp_hdr; in be_async_cmd_process()
247 struct be_cmd_resp_hdr *resp_hdr; in be_mcc_compl_process() local
257 resp_hdr = be_decode_resp_hdr(compl->tag0, compl->tag1); in be_mcc_compl_process()
258 if (resp_hdr) { in be_mcc_compl_process()
259 opcode = resp_hdr->opcode; in be_mcc_compl_process()
260 subsystem = resp_hdr->subsystem; in be_mcc_compl_process()
[all …]
Dbe_cmds.h397 struct be_cmd_resp_hdr resp_hdr; member
1247 struct be_cmd_resp_hdr resp_hdr; member
1585 struct be_cmd_resp_hdr resp_hdr; member
/linux-6.1.9/drivers/net/ethernet/microsoft/mana/
Dmana_en.c435 static int mana_verify_resp_hdr(const struct gdma_resp_hdr *resp_hdr, in mana_verify_resp_hdr() argument
439 if (resp_hdr->response.msg_type != expected_code) in mana_verify_resp_hdr()
442 if (resp_hdr->response.msg_version < GDMA_MESSAGE_V1) in mana_verify_resp_hdr()
445 if (resp_hdr->response.msg_size < min_size) in mana_verify_resp_hdr()
/linux-6.1.9/drivers/infiniband/core/
Dmad.c1912 struct ib_mad_hdr *resp_hdr = (struct ib_mad_hdr *)response->mad; in generate_unmatched_resp() local
1920 resp_hdr->method = IB_MGMT_METHOD_GET_RESP; in generate_unmatched_resp()
1921 resp_hdr->status = cpu_to_be16(IB_MGMT_MAD_STATUS_UNSUPPORTED_METHOD_ATTRIB); in generate_unmatched_resp()
1923 resp_hdr->status |= IB_SMP_DIRECTION; in generate_unmatched_resp()