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.c528 struct bnxt_mgmt_fw_msg msg_temp, *msg, *msg2 = NULL; in bnxt_mgmt_process_hwrm() local
547 if (copyin((void*)mgmt_req.req.hreq, &msg_temp, sizeof(msg_temp))) { in bnxt_mgmt_process_hwrm()
553 if (msg_temp.len_req > BNXT_MGMT_MAX_HWRM_REQ_LENGTH || in bnxt_mgmt_process_hwrm()
554 msg_temp.len_resp > BNXT_MGMT_MAX_HWRM_RESP_LENGTH) { in bnxt_mgmt_process_hwrm()
560 if (msg_temp.num_dma_indications > MAX_NUM_DMA_INDICATIONS) { in bnxt_mgmt_process_hwrm()
567 req = malloc(msg_temp.len_req, M_BNXT, M_WAITOK | M_ZERO); in bnxt_mgmt_process_hwrm()
568 resp = malloc(msg_temp.len_resp, M_BNXT, M_WAITOK | M_ZERO); in bnxt_mgmt_process_hwrm()
570 if (copyin((void *)msg_temp.usr_req, req, msg_temp.len_req)) { in bnxt_mgmt_process_hwrm()
577 msg = &msg_temp; in bnxt_mgmt_process_hwrm()
578 num_ind = msg_temp.num_dma_indications; in bnxt_mgmt_process_hwrm()