Home
last modified time | relevance | path

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

/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_mgmt.c169 struct bnxt_mgmt_fw_msg msg_temp, *msg, *msg2 = NULL; in bnxt_mgmt_process_hwrm() local
189 if (copyin((void*)mgmt_req.req.hreq, &msg_temp, sizeof(msg_temp))) { in bnxt_mgmt_process_hwrm()
195 if (msg_temp.len_req > BNXT_MGMT_MAX_HWRM_REQ_LENGTH || in bnxt_mgmt_process_hwrm()
196 msg_temp.len_resp > BNXT_MGMT_MAX_HWRM_RESP_LENGTH) { in bnxt_mgmt_process_hwrm()
202 if (msg_temp.num_dma_indications > 1) { in bnxt_mgmt_process_hwrm()
208 req = malloc(msg_temp.len_req, M_BNXT, M_WAITOK | M_ZERO); in bnxt_mgmt_process_hwrm()
209 resp = malloc(msg_temp.len_resp, M_BNXT, M_WAITOK | M_ZERO); in bnxt_mgmt_process_hwrm()
211 if (copyin((void *)msg_temp.usr_req, req, msg_temp.len_req)) { in bnxt_mgmt_process_hwrm()
218 msg = &msg_temp; in bnxt_mgmt_process_hwrm()
219 num_ind = msg_temp.num_dma_indications; in bnxt_mgmt_process_hwrm()