Searched refs:rsp_size (Results 1 – 14 of 14) sorted by relevance
/freebsd/usr.sbin/bhyve/ |
H A D | tpm_emul_passthru.c | 57 uint32_t rsp_size) in tpm_passthru_execute_cmd() argument 62 if (rsp_size < (ssize_t)sizeof(struct tpm_resp_hdr)) { in tpm_passthru_execute_cmd() 63 warn("%s: rsp_size of %u is too small", __func__, rsp_size); in tpm_passthru_execute_cmd() 76 len = read(tpm->fd, rsp, rsp_size); in tpm_passthru_execute_cmd() 79 len, rsp_size); in tpm_passthru_execute_cmd()
|
H A D | tpm_emul_swtpm.c | 78 uint32_t rsp_size) in tpm_swtpm_execute_cmd() argument 83 if (rsp_size < (ssize_t)sizeof(struct tpm_resp_hdr)) { in tpm_swtpm_execute_cmd() 84 warn("%s: rsp_size of %u is too small", __func__, rsp_size); in tpm_swtpm_execute_cmd() 99 len = recv(tpm->fd, rsp, rsp_size, 0); in tpm_swtpm_execute_cmd() 104 len, rsp_size); in tpm_swtpm_execute_cmd()
|
H A D | tpm_intf_crb.c | 137 uint32_t rsp_size; /* 64h */ member 157 #define CRB_RSP_SIZE_READ(regs) (regs.rsp_size) 160 regs.rsp_size = val; \ 211 const uint32_t rsp_size = CRB_RSP_SIZE_READ(crb->regs); in tpm_crb_thread() local 224 (rsp_size < sizeof (struct tpm_cmd_hdr)) || in tpm_crb_thread() 225 (rsp_size > TPM_CRB_DATA_BUFFER_SIZE) || in tpm_crb_thread() 226 (rsp_addr + rsp_size > in tpm_crb_thread() 229 "buffer", __func__, rsp_addr, rsp_size); in tpm_crb_thread() 239 rsp_off + rsp_size > TPM_CRB_DATA_BUFFER_SIZE) { in tpm_crb_thread() 243 rsp_addr + rsp_size); in tpm_crb_thread() [all …]
|
H A D | tpm_emul.h | 22 uint32_t rsp_size);
|
/freebsd/usr.sbin/bluetooth/sdpd/ |
H A D | srr.c | 103 srv->fdidx[fd].rsp_size = rsp - srv->fdidx[fd].rsp; in server_prepare_service_register_response() 120 assert(srv->fdidx[fd].rsp_size < srv->fdidx[fd].rsp_limit); in server_send_service_register_response() 124 pdu.len = htons(srv->fdidx[fd].rsp_size); in server_send_service_register_response() 130 iov[1].iov_len = srv->fdidx[fd].rsp_size; in server_send_service_register_response() 137 srv->fdidx[fd].rsp_size = 0; in server_send_service_register_response()
|
H A D | ssr.c | 123 if (srv->fdidx[fd].rsp_size > 0) in server_prepare_service_search_response() 205 srv->fdidx[fd].rsp_size = ptr - rsp; in server_prepare_service_search_response() 219 uint8_t *rsp_end = srv->fdidx[fd].rsp + srv->fdidx[fd].rsp_size; in server_send_service_search_response() 250 rcounts[0] = srv->fdidx[fd].rsp_size / 4; /* TotalServiceRecordCount */ in server_send_service_search_response() 277 if (srv->fdidx[fd].rsp_cs == srv->fdidx[fd].rsp_size) { in server_send_service_search_response() 279 srv->fdidx[fd].rsp_size = 0; in server_send_service_search_response()
|
H A D | sar.c | 213 if (srv->fdidx[fd].rsp_size > 0) in server_prepare_service_attribute_response() 238 srv->fdidx[fd].rsp_size = cs; in server_prepare_service_attribute_response() 252 uint8_t *rsp_end = srv->fdidx[fd].rsp + srv->fdidx[fd].rsp_size; in server_send_service_attribute_response() 312 if (srv->fdidx[fd].rsp_cs == srv->fdidx[fd].rsp_size) { in server_send_service_attribute_response() 314 srv->fdidx[fd].rsp_size = 0; in server_send_service_attribute_response()
|
H A D | ssar.c | 286 if (srv->fdidx[fd].rsp_size > 0) in server_prepare_service_search_attribute_response() 370 srv->fdidx[fd].rsp_size = ptr - rsp; in server_prepare_service_search_attribute_response() 376 SDP_PUT16(srv->fdidx[fd].rsp_size - 3, ptr); in server_prepare_service_search_attribute_response()
|
H A D | server.c | 204 srv->fdidx[unsock].rsp_size = 0; in server_init() 215 srv->fdidx[l2sock].rsp_size = 0; in server_init() 397 srv->fdidx[cfd].rsp_size = 0; in server_accept_client() 525 srv->fdidx[fd].rsp_size = 0; in server_process_request()
|
H A D | sur.c | 80 srv->fdidx[fd].rsp_size = rsp - srv->fdidx[fd].rsp; in server_prepare_service_unregister_response()
|
H A D | scr.c | 89 srv->fdidx[fd].rsp_size = rsp - srv->fdidx[fd].rsp; in server_prepare_service_change_response()
|
H A D | server.h | 48 uint16_t rsp_size; /* response size */ member
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-nvm-parse.c | 2099 size_t rsp_size = v4 ? sizeof(*rsp) : sizeof(*rsp_v3); 2106 if (WARN(iwl_rx_packet_payload_len(hcmd.resp_pkt) != rsp_size, 1987 size_t rsp_size = v4 ? sizeof(*rsp) : sizeof(*rsp_v3); iwl_get_nvm() local
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_hw.c | 2120 qla_get_hw_stats(qla_host_t *ha, uint32_t cmd, uint32_t rsp_size) in qla_get_hw_stats() argument 2139 ha->hw.mbox, (rsp_size >> 2), 0)) { in qla_get_hw_stats()
|