Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/bnxt/bnxt_en/
H A Dbnxt_mgmt.c168 struct bnxt_mgmt_fw_msg msg_temp, *msg, *msg2 = NULL; in bnxt_mgmt_process_hwrm() local
188 if (copyin((void*)mgmt_req.req.hreq, &msg_temp, sizeof(msg_temp))) { in bnxt_mgmt_process_hwrm()
194 if (msg_temp.len_req > BNXT_MGMT_MAX_HWRM_REQ_LENGTH || in bnxt_mgmt_process_hwrm()
195 msg_temp.len_resp > BNXT_MGMT_MAX_HWRM_RESP_LENGTH) { in bnxt_mgmt_process_hwrm()
201 if (msg_temp.num_dma_indications > 1) { in bnxt_mgmt_process_hwrm()
207 req = malloc(msg_temp.len_req, M_BNXT, M_WAITOK | M_ZERO); in bnxt_mgmt_process_hwrm()
208 resp = malloc(msg_temp.len_resp, M_BNXT, M_WAITOK | M_ZERO); in bnxt_mgmt_process_hwrm()
210 if (copyin((void *)msg_temp.usr_req, req, msg_temp.len_req)) { in bnxt_mgmt_process_hwrm()
217 msg = &msg_temp; in bnxt_mgmt_process_hwrm()
218 num_ind = msg_temp.num_dma_indications; in bnxt_mgmt_process_hwrm()