/illumos-gate/usr/src/cmd/bhyve/ |
H A D | tpm_emul_passthru.c | 61 uint32_t rsp_size) in tpm_passthru_execute_cmd() argument 66 if (rsp_size < (ssize_t)sizeof(struct tpm_resp_hdr)) { in tpm_passthru_execute_cmd() 67 warn("%s: rsp_size of %u is too small", __func__, rsp_size); in tpm_passthru_execute_cmd() 80 len = read(tpm->fd, rsp, rsp_size); in tpm_passthru_execute_cmd() 83 len, rsp_size); in tpm_passthru_execute_cmd()
|
H A D | tpm_intf_crb.c | 138 uint32_t rsp_size; /* 64h */ member 158 #define CRB_RSP_SIZE_READ(regs) (regs.rsp_size) 161 regs.rsp_size = val; \ 202 const uint32_t rsp_size = CRB_RSP_SIZE_READ(crb->regs); in tpm_crb_thread() local 210 rsp_off + rsp_size > TPM_CRB_DATA_BUFFER_SIZE) { in tpm_crb_thread() 214 rsp_addr + rsp_size); in tpm_crb_thread() 242 &rsp[rsp_off], rsp_size); in tpm_crb_thread() 246 memcpy(&crb->regs.data_buffer[rsp_off], &rsp[rsp_off], rsp_size); in tpm_crb_thread() 365 case offsetof(struct tpm_crb_regs, rsp_size): in tpm_crb_mem_handler()
|
H A D | tpm_emul.h | 22 uint32_t rsp_size);
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_ctx.c | 261 size_t rq_size, rsp_size; in nx_fw_cmd_create_rx_ctx() local 271 rsp_size = in nx_fw_cmd_create_rx_ctx() 280 if (unm_pci_alloc_consistent(adapter, rsp_size, (caddr_t *)&addr, in nx_fw_cmd_create_rx_ctx() 402 size_t rq_size, rsp_size; in nx_fw_cmd_create_tx_ctx() local 414 rsp_size = SIZEOF_CARDRSP_TX(nx_cardrsp_tx_ctx_t); in nx_fw_cmd_create_tx_ctx() 415 if (unm_pci_alloc_consistent(adapter, rsp_size, (caddr_t *)&rsp_addr, in nx_fw_cmd_create_tx_ctx() 425 (void) memset(rsp_addr, 0, rsp_size); in nx_fw_cmd_create_tx_ctx()
|
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_isns.c | 319 isns_pdu_t *rsp, size_t rsp_size); 1624 size_t pdu_size, rsp_size; in isnst_register() local 1645 rsp_size = isnst_rcv_pdu(so, &rsp); in isnst_register() 1646 if (rsp_size == 0) { in isnst_register() 1652 rc = isnst_verify_rsp(svr, pdu, rsp, rsp_size); in isnst_register() 1655 kmem_free(rsp, rsp_size); in isnst_register() 2168 size_t pdu_size, rsp_size; in isnst_deregister() local 2190 rsp_size = isnst_rcv_pdu(so, &rsp); in isnst_deregister() 2191 if (rsp_size == 0) { in isnst_deregister() 2197 rc = isnst_verify_rsp(svr, pdu, rsp, rsp_size); in isnst_deregister() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_dump.c | 45 uint32_t rsp_size; in emlxs_menlo_set_mode() local 58 rsp_size = 4; in emlxs_menlo_set_mode() 59 rsp_buf = (menlo_rsp_t *)kmem_zalloc(rsp_size, KM_SLEEP); in emlxs_menlo_set_mode() 70 (uint8_t *)rsp_buf, &rsp_size)) { in emlxs_menlo_set_mode() 76 emlxs_swap32_buffer((uint8_t *)rsp_buf, rsp_size); in emlxs_menlo_set_mode() 109 uint32_t rsp_size; in emlxs_menlo_reset() local 122 rsp_size = 4; in emlxs_menlo_reset() 123 rsp_buf = (menlo_rsp_t *)kmem_zalloc(rsp_size, KM_SLEEP); in emlxs_menlo_reset() 133 (uint8_t *)rsp_buf, &rsp_size)) { in emlxs_menlo_reset() 139 emlxs_swap32_buffer((uint8_t *)rsp_buf, rsp_size); in emlxs_menlo_reset() [all …]
|
H A D | emlxs_dhchap.c | 104 uint32_t d_id, uint32_t cmd_size, uint32_t rsp_size, 1164 uint32_t rsp_size; in emlxs_issue_dhchap_success() local 1193 rsp_size = 4; in emlxs_issue_dhchap_success() 1196 rsp_size, 0, KM_NOSLEEP)) == NULL) { in emlxs_issue_dhchap_success() 1349 uint32_t rsp_size; in emlxs_issue_auth_reject() local 1360 rsp_size = 4; in emlxs_issue_auth_reject() 1363 rsp_size, 0, KM_NOSLEEP)) == NULL) { in emlxs_issue_auth_reject() 1427 uint32_t rsp_size, in emlxs_prep_els_fc_pkt() argument 1434 if (!(pkt = emlxs_pkt_alloc(port, cmd_size, rsp_size, in emlxs_prep_els_fc_pkt() 1486 uint32_t rsp_size; in emlxs_issue_auth_negotiate() local [all …]
|
H A D | emlxs_dfc.c | 5619 uint32_t rsp_size; in emlxs_dfc_send_ct() local 5631 rsp_size = dfc->buf2_size; in emlxs_dfc_send_ct() 5640 rsp_size); in emlxs_dfc_send_ct() 5651 if (!rsp_size || !rsp_buf) { in emlxs_dfc_send_ct() 5675 if (rsp_size > MAX_CT_PAYLOAD) { in emlxs_dfc_send_ct() 5678 emlxs_dfc_xlate(dfc->cmd), rsp_size); in emlxs_dfc_send_ct() 5741 if (!(pkt = emlxs_pkt_alloc(port, cmd_size, rsp_size, 0, KM_NOSLEEP))) { in emlxs_dfc_send_ct() 5797 bcopy((void *)pkt->pkt_resp, (void *)rsp_buf, rsp_size); in emlxs_dfc_send_ct() 5799 rsp_size -= pkt->pkt_resp_resid; in emlxs_dfc_send_ct() 5800 bcopy((void *)&rsp_size, (void *)dfc->buf4, sizeof (uint32_t)); in emlxs_dfc_send_ct() [all …]
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_iocb.h | 650 uint8_t rsp_size; member
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_extern.h | 844 uint32_t *rsp_size);
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_mbx.c | 1770 if (pkt->log.rsp_size == 0xB) { in ql_log_iocb()
|