mboxq 463 drivers/scsi/lpfc/lpfc_els.c LPFC_MBOXQ_t *mboxq = NULL; mboxq 479 drivers/scsi/lpfc/lpfc_els.c mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); mboxq 480 drivers/scsi/lpfc/lpfc_els.c if (!mboxq) { mboxq 503 drivers/scsi/lpfc/lpfc_els.c lpfc_reg_vfi(mboxq, vport, dmabuf->phys); mboxq 505 drivers/scsi/lpfc/lpfc_els.c lpfc_reg_vfi(mboxq, vport, 0); mboxq 507 drivers/scsi/lpfc/lpfc_els.c mboxq->mbox_cmpl = lpfc_mbx_cmpl_reg_vfi; mboxq 508 drivers/scsi/lpfc/lpfc_els.c mboxq->vport = vport; mboxq 509 drivers/scsi/lpfc/lpfc_els.c mboxq->ctx_buf = dmabuf; mboxq 510 drivers/scsi/lpfc/lpfc_els.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_NOWAIT); mboxq 518 drivers/scsi/lpfc/lpfc_els.c if (mboxq) mboxq 519 drivers/scsi/lpfc/lpfc_els.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 548 drivers/scsi/lpfc/lpfc_els.c LPFC_MBOXQ_t *mboxq; mboxq 551 drivers/scsi/lpfc/lpfc_els.c mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); mboxq 552 drivers/scsi/lpfc/lpfc_els.c if (!mboxq) { mboxq 559 drivers/scsi/lpfc/lpfc_els.c lpfc_unreg_vfi(mboxq, vport); mboxq 560 drivers/scsi/lpfc/lpfc_els.c mboxq->vport = vport; mboxq 561 drivers/scsi/lpfc/lpfc_els.c mboxq->mbox_cmpl = lpfc_unregister_vfi_cmpl; mboxq 563 drivers/scsi/lpfc/lpfc_els.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_NOWAIT); mboxq 569 drivers/scsi/lpfc/lpfc_els.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 1218 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_mbx_cmpl_reg_fcfi(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) mboxq 1220 drivers/scsi/lpfc/lpfc_hbadisc.c struct lpfc_vport *vport = mboxq->vport; mboxq 1222 drivers/scsi/lpfc/lpfc_hbadisc.c if (mboxq->u.mb.mbxStatus) { mboxq 1226 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->u.mb.mbxStatus, vport->port_state); mboxq 1231 drivers/scsi/lpfc/lpfc_hbadisc.c phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, &mboxq->u.mqe.un.reg_fcfi); mboxq 1260 drivers/scsi/lpfc/lpfc_hbadisc.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 1834 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_sli4_fcf_rec_mbox_parse(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq, mboxq 1847 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_sli4_mbx_sge_get(mboxq, 0, &sge); mboxq 1848 drivers/scsi/lpfc/lpfc_hbadisc.c if (unlikely(!mboxq->sge_array)) { mboxq 1854 drivers/scsi/lpfc/lpfc_hbadisc.c virt_addr = mboxq->sge_array->addr[0]; mboxq 2227 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_mbx_cmpl_fcf_scan_read_fcf_rec(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) mboxq 2239 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_sli4_mbox_cmd_free(phba, mboxq); mboxq 2244 drivers/scsi/lpfc/lpfc_hbadisc.c new_fcf_record = lpfc_sli4_fcf_rec_mbox_parse(phba, mboxq, mboxq 2254 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_sli4_mbox_cmd_free(phba, mboxq); mboxq 2315 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_sli4_mbox_cmd_free(phba, mboxq); mboxq 2475 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_sli4_mbox_cmd_free(phba, mboxq); mboxq 2581 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_sli4_mbox_cmd_free(phba, mboxq); mboxq 2603 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_mbx_cmpl_fcf_rr_read_fcf_rec(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) mboxq 2622 drivers/scsi/lpfc/lpfc_hbadisc.c new_fcf_record = lpfc_sli4_fcf_rec_mbox_parse(phba, mboxq, mboxq 2694 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_sli4_mbox_cmd_free(phba, mboxq); mboxq 2709 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_mbx_cmpl_read_fcf_rec(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) mboxq 2726 drivers/scsi/lpfc/lpfc_hbadisc.c new_fcf_record = lpfc_sli4_fcf_rec_mbox_parse(phba, mboxq, mboxq 2752 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_sli4_mbox_cmd_free(phba, mboxq); mboxq 2763 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_init_vfi_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) mboxq 2765 drivers/scsi/lpfc/lpfc_hbadisc.c struct lpfc_vport *vport = mboxq->vport; mboxq 2771 drivers/scsi/lpfc/lpfc_hbadisc.c if (mboxq->u.mb.mbxStatus && mboxq 2774 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->u.mb.mbxStatus != MBX_VFI_IN_USE) { mboxq 2778 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->u.mb.mbxStatus); mboxq 2779 drivers/scsi/lpfc/lpfc_hbadisc.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 2785 drivers/scsi/lpfc/lpfc_hbadisc.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 2799 drivers/scsi/lpfc/lpfc_hbadisc.c LPFC_MBOXQ_t *mboxq; mboxq 2803 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); mboxq 2804 drivers/scsi/lpfc/lpfc_hbadisc.c if (!mboxq) { mboxq 2810 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_init_vfi(mboxq, vport); mboxq 2811 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->mbox_cmpl = lpfc_init_vfi_cmpl; mboxq 2812 drivers/scsi/lpfc/lpfc_hbadisc.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_NOWAIT); mboxq 2816 drivers/scsi/lpfc/lpfc_hbadisc.c mempool_free(mboxq, vport->phba->mbox_mem_pool); mboxq 2828 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_init_vpi_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) mboxq 2830 drivers/scsi/lpfc/lpfc_hbadisc.c struct lpfc_vport *vport = mboxq->vport; mboxq 2834 drivers/scsi/lpfc/lpfc_hbadisc.c if (mboxq->u.mb.mbxStatus) { mboxq 2838 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->u.mb.mbxStatus); mboxq 2839 drivers/scsi/lpfc/lpfc_hbadisc.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 2857 drivers/scsi/lpfc/lpfc_hbadisc.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 2868 drivers/scsi/lpfc/lpfc_hbadisc.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 2882 drivers/scsi/lpfc/lpfc_hbadisc.c LPFC_MBOXQ_t *mboxq; mboxq 2897 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq = mempool_alloc(vport->phba->mbox_mem_pool, GFP_KERNEL); mboxq 2898 drivers/scsi/lpfc/lpfc_hbadisc.c if (!mboxq) { mboxq 2904 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_init_vpi(vport->phba, mboxq, vport->vpi); mboxq 2905 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->vport = vport; mboxq 2906 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->mbox_cmpl = lpfc_init_vpi_cmpl; mboxq 2907 drivers/scsi/lpfc/lpfc_hbadisc.c rc = lpfc_sli_issue_mbox(vport->phba, mboxq, MBX_NOWAIT); mboxq 2911 drivers/scsi/lpfc/lpfc_hbadisc.c mempool_free(mboxq, vport->phba->mbox_mem_pool); mboxq 2964 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_mbx_cmpl_reg_vfi(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) mboxq 2966 drivers/scsi/lpfc/lpfc_hbadisc.c struct lpfc_dmabuf *dmabuf = mboxq->ctx_buf; mboxq 2967 drivers/scsi/lpfc/lpfc_hbadisc.c struct lpfc_vport *vport = mboxq->vport; mboxq 2974 drivers/scsi/lpfc/lpfc_hbadisc.c if (mboxq->u.mb.mbxStatus && mboxq 2977 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->u.mb.mbxStatus != MBX_VFI_IN_USE) { mboxq 2981 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->u.mb.mbxStatus, vport->port_state); mboxq 3047 drivers/scsi/lpfc/lpfc_hbadisc.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 5146 drivers/scsi/lpfc/lpfc_hbadisc.c list_for_each_entry_safe(mb, nextmb, &phba->sli.mboxq, list) { mboxq 6499 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_unregister_vfi_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) mboxq 6501 drivers/scsi/lpfc/lpfc_hbadisc.c struct lpfc_vport *vport = mboxq->vport; mboxq 6504 drivers/scsi/lpfc/lpfc_hbadisc.c if (mboxq->u.mb.mbxStatus) { mboxq 6508 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->u.mb.mbxStatus, vport->port_state); mboxq 6513 drivers/scsi/lpfc/lpfc_hbadisc.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 6525 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_unregister_fcfi_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) mboxq 6527 drivers/scsi/lpfc/lpfc_hbadisc.c struct lpfc_vport *vport = mboxq->vport; mboxq 6529 drivers/scsi/lpfc/lpfc_hbadisc.c if (mboxq->u.mb.mbxStatus) { mboxq 6533 drivers/scsi/lpfc/lpfc_hbadisc.c mboxq->u.mb.mbxStatus, vport->port_state); mboxq 6535 drivers/scsi/lpfc/lpfc_hbadisc.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 1421 drivers/scsi/lpfc/lpfc_init.c (list_empty(&psli->mboxq))) { mboxq 4194 drivers/scsi/lpfc/lpfc_init.c LPFC_MBOXQ_t *mboxq; mboxq 4197 drivers/scsi/lpfc/lpfc_init.c mboxq = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, mboxq 4199 drivers/scsi/lpfc/lpfc_init.c if (!mboxq) mboxq 4203 drivers/scsi/lpfc/lpfc_init.c lpfc_read_nv(phba, mboxq); mboxq 4204 drivers/scsi/lpfc/lpfc_init.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 4209 drivers/scsi/lpfc/lpfc_init.c bf_get(lpfc_mqe_command, &mboxq->u.mqe), mboxq 4210 drivers/scsi/lpfc/lpfc_init.c bf_get(lpfc_mqe_status, &mboxq->u.mqe)); mboxq 4211 drivers/scsi/lpfc/lpfc_init.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 4214 drivers/scsi/lpfc/lpfc_init.c mb = &mboxq->u.mb; mboxq 4217 drivers/scsi/lpfc/lpfc_init.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 6415 drivers/scsi/lpfc/lpfc_init.c LPFC_MBOXQ_t *mboxq; mboxq 6533 drivers/scsi/lpfc/lpfc_init.c INIT_LIST_HEAD(&phba->sli.mboxq); mboxq 6581 drivers/scsi/lpfc/lpfc_init.c mboxq = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, mboxq 6583 drivers/scsi/lpfc/lpfc_init.c if (!mboxq) { mboxq 6593 drivers/scsi/lpfc/lpfc_init.c lpfc_read_nv(phba, mboxq); mboxq 6594 drivers/scsi/lpfc/lpfc_init.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 6599 drivers/scsi/lpfc/lpfc_init.c bf_get(lpfc_mqe_command, &mboxq->u.mqe), mboxq 6600 drivers/scsi/lpfc/lpfc_init.c bf_get(lpfc_mqe_status, &mboxq->u.mqe)); mboxq 6601 drivers/scsi/lpfc/lpfc_init.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 6605 drivers/scsi/lpfc/lpfc_init.c mb = &mboxq->u.mb; mboxq 6644 drivers/scsi/lpfc/lpfc_init.c lpfc_supported_pages(mboxq); mboxq 6645 drivers/scsi/lpfc/lpfc_init.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 6647 drivers/scsi/lpfc/lpfc_init.c mqe = &mboxq->u.mqe; mboxq 6661 drivers/scsi/lpfc/lpfc_init.c rc = lpfc_pc_sli4_params_get(phba, mboxq); mboxq 6663 drivers/scsi/lpfc/lpfc_init.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 6674 drivers/scsi/lpfc/lpfc_init.c rc = lpfc_get_sli4_parameters(phba, mboxq); mboxq 6687 drivers/scsi/lpfc/lpfc_init.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 6694 drivers/scsi/lpfc/lpfc_init.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 6825 drivers/scsi/lpfc/lpfc_init.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 8565 drivers/scsi/lpfc/lpfc_init.c LPFC_MBOXQ_t *mboxq; mboxq 8573 drivers/scsi/lpfc/lpfc_init.c mboxq = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, mboxq 8575 drivers/scsi/lpfc/lpfc_init.c if (!mboxq) { mboxq 8587 drivers/scsi/lpfc/lpfc_init.c memset(mboxq, 0, sizeof(LPFC_MBOXQ_t)); mboxq 8588 drivers/scsi/lpfc/lpfc_init.c memcpy(&mboxq->u.mqe, &endian_mb_data, sizeof(endian_mb_data)); mboxq 8589 drivers/scsi/lpfc/lpfc_init.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 8597 drivers/scsi/lpfc/lpfc_init.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 9359 drivers/scsi/lpfc/lpfc_init.c LPFC_MBOXQ_t *mboxq; mboxq 9365 drivers/scsi/lpfc/lpfc_init.c mboxq = (LPFC_MBOXQ_t *)mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); mboxq 9366 drivers/scsi/lpfc/lpfc_init.c if (!mboxq) { mboxq 9374 drivers/scsi/lpfc/lpfc_init.c lpfc_sli4_config(phba, mboxq, LPFC_MBOX_SUBSYSTEM_COMMON, mboxq 9378 drivers/scsi/lpfc/lpfc_init.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 9381 drivers/scsi/lpfc/lpfc_init.c &mboxq->u.mqe.un.sli4_config.header.cfg_shdr; mboxq 9390 drivers/scsi/lpfc/lpfc_init.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 9396 drivers/scsi/lpfc/lpfc_init.c mboxq->u.mqe.un.query_fw_cfg.rsp.function_mode; mboxq 9397 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.ulp0_mode = mboxq->u.mqe.un.query_fw_cfg.rsp.ulp0_mode; mboxq 9398 drivers/scsi/lpfc/lpfc_init.c phba->sli4_hba.ulp1_mode = mboxq->u.mqe.un.query_fw_cfg.rsp.ulp1_mode; mboxq 9400 drivers/scsi/lpfc/lpfc_init.c mboxq->u.mqe.un.query_fw_cfg.rsp.physical_port; mboxq 9407 drivers/scsi/lpfc/lpfc_init.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 9971 drivers/scsi/lpfc/lpfc_init.c LPFC_MBOXQ_t *mboxq; mboxq 9983 drivers/scsi/lpfc/lpfc_init.c mboxq = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, mboxq 9985 drivers/scsi/lpfc/lpfc_init.c if (!mboxq) { mboxq 9994 drivers/scsi/lpfc/lpfc_init.c lpfc_sli4_config(phba, mboxq, LPFC_MBOX_SUBSYSTEM_COMMON, mboxq 9997 drivers/scsi/lpfc/lpfc_init.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 9999 drivers/scsi/lpfc/lpfc_init.c &mboxq->u.mqe.un.sli4_config.header.cfg_shdr; mboxq 10004 drivers/scsi/lpfc/lpfc_init.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 11505 drivers/scsi/lpfc/lpfc_init.c LPFC_MBOXQ_t *mboxq; mboxq 11530 drivers/scsi/lpfc/lpfc_init.c mboxq = phba->sli.mbox_active; mboxq 11531 drivers/scsi/lpfc/lpfc_init.c mboxq->u.mb.mbxStatus = MBX_NOT_FINISHED; mboxq 11532 drivers/scsi/lpfc/lpfc_init.c __lpfc_mbox_cmpl_put(phba, mboxq); mboxq 11591 drivers/scsi/lpfc/lpfc_init.c lpfc_pc_sli4_params_get(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) mboxq 11599 drivers/scsi/lpfc/lpfc_init.c mqe = &mboxq->u.mqe; mboxq 11602 drivers/scsi/lpfc/lpfc_init.c lpfc_pc_sli4_params(mboxq); mboxq 11604 drivers/scsi/lpfc/lpfc_init.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 11606 drivers/scsi/lpfc/lpfc_init.c mbox_tmo = lpfc_mbox_tmo_val(phba, mboxq); mboxq 11607 drivers/scsi/lpfc/lpfc_init.c rc = lpfc_sli_issue_mbox_wait(phba, mboxq, mbox_tmo); mboxq 11663 drivers/scsi/lpfc/lpfc_init.c lpfc_get_sli4_parameters(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) mboxq 11666 drivers/scsi/lpfc/lpfc_init.c struct lpfc_mqe *mqe = &mboxq->u.mqe; mboxq 11683 drivers/scsi/lpfc/lpfc_init.c lpfc_sli4_config(phba, mboxq, LPFC_MBOX_SUBSYSTEM_COMMON, mboxq 11687 drivers/scsi/lpfc/lpfc_init.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 11689 drivers/scsi/lpfc/lpfc_init.c mbox_tmo = lpfc_mbox_tmo_val(phba, mboxq); mboxq 11690 drivers/scsi/lpfc/lpfc_init.c rc = lpfc_sli_issue_mbox_wait(phba, mboxq, mbox_tmo); mboxq 1487 drivers/scsi/lpfc/lpfc_mbox.c list_add_tail(&mbq->list, &psli->mboxq); mboxq 1514 drivers/scsi/lpfc/lpfc_mbox.c list_remove_head((&psli->mboxq), mbq, LPFC_MBOXQ_t, list); mboxq 1571 drivers/scsi/lpfc/lpfc_mbox.c lpfc_mbox_cmd_check(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) mboxq 1576 drivers/scsi/lpfc/lpfc_mbox.c if (mboxq->mbox_cmpl && mboxq->mbox_cmpl != lpfc_sli_def_mbox_cmpl && mboxq 1577 drivers/scsi/lpfc/lpfc_mbox.c mboxq->mbox_cmpl != lpfc_sli_wake_mbox_wait) { mboxq 1578 drivers/scsi/lpfc/lpfc_mbox.c if (!mboxq->vport) { mboxq 1581 drivers/scsi/lpfc/lpfc_mbox.c mboxq->u.mb.mbxCommand); mboxq 1625 drivers/scsi/lpfc/lpfc_mbox.c lpfc_mbox_tmo_val(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) mboxq 1627 drivers/scsi/lpfc/lpfc_mbox.c MAILBOX_t *mbox = &mboxq->u.mb; mboxq 1643 drivers/scsi/lpfc/lpfc_mbox.c subsys = lpfc_sli_config_mbox_subsys_get(phba, mboxq); mboxq 1644 drivers/scsi/lpfc/lpfc_mbox.c opcode = lpfc_sli_config_mbox_opcode_get(phba, mboxq); mboxq 2025 drivers/scsi/lpfc/lpfc_mbox.c struct lpfcMboxq *mboxq, mboxq 2034 drivers/scsi/lpfc/lpfc_mbox.c if (!mboxq) mboxq 2041 drivers/scsi/lpfc/lpfc_mbox.c alloc_len = lpfc_sli4_config(phba, mboxq, LPFC_MBOX_SUBSYSTEM_FCOE, mboxq 2056 drivers/scsi/lpfc/lpfc_mbox.c lpfc_sli4_mbx_sge_get(mboxq, 0, &sge); mboxq 2057 drivers/scsi/lpfc/lpfc_mbox.c virt_addr = mboxq->sge_array->addr[0]; mboxq 2077 drivers/scsi/lpfc/lpfc_mbox.c lpfc_request_features(struct lpfc_hba *phba, struct lpfcMboxq *mboxq) mboxq 2080 drivers/scsi/lpfc/lpfc_mbox.c memset(mboxq, 0, sizeof(LPFC_MBOXQ_t)); mboxq 2081 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mqe_command, &mboxq->u.mqe, MBX_SLI4_REQ_FTRS); mboxq 2084 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_fcpi, &mboxq->u.mqe.un.req_ftrs, 1); mboxq 2085 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_perfh, &mboxq->u.mqe.un.req_ftrs, 1); mboxq 2089 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_dif, &mboxq->u.mqe.un.req_ftrs, 1); mboxq 2093 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_npiv, &mboxq->u.mqe.un.req_ftrs, 1); mboxq 2096 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_mrqp, &mboxq->u.mqe.un.req_ftrs, 1); mboxq 2098 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_iaab, &mboxq->u.mqe.un.req_ftrs, 0); mboxq 2099 drivers/scsi/lpfc/lpfc_mbox.c bf_set(lpfc_mbx_rq_ftr_rq_iaar, &mboxq->u.mqe.un.req_ftrs, 0); mboxq 2303 drivers/scsi/lpfc/lpfc_mbox.c lpfc_mbx_cmpl_rdp_link_stat(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) mboxq 2308 drivers/scsi/lpfc/lpfc_mbox.c (struct lpfc_rdp_context *)(mboxq->ctx_ndlp); mboxq 2310 drivers/scsi/lpfc/lpfc_mbox.c mb = &mboxq->u.mb; mboxq 2319 drivers/scsi/lpfc/lpfc_mbox.c lpfc_sli4_mbox_cmd_free(phba, mboxq); mboxq 298 drivers/scsi/lpfc/lpfc_mem.c list_for_each_entry_safe(mbox, next_mbox, &psli->mboxq, list) { mboxq 534 drivers/scsi/lpfc/lpfc_nportdisc.c lpfc_mbx_cmpl_resume_rpi(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) mboxq 541 drivers/scsi/lpfc/lpfc_nportdisc.c elsiocb = (struct lpfc_iocbq *)mboxq->ctx_buf; mboxq 542 drivers/scsi/lpfc/lpfc_nportdisc.c ndlp = (struct lpfc_nodelist *)mboxq->ctx_ndlp; mboxq 543 drivers/scsi/lpfc/lpfc_nportdisc.c vport = mboxq->vport; mboxq 553 drivers/scsi/lpfc/lpfc_nportdisc.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 1688 drivers/scsi/lpfc/lpfc_nportdisc.c list_for_each_entry_safe(mb, nextmb, &phba->sli.mboxq, list) { mboxq 5203 drivers/scsi/lpfc/lpfc_sli.c LPFC_MBOXQ_t *mboxq; mboxq 5215 drivers/scsi/lpfc/lpfc_sli.c mboxq = (LPFC_MBOXQ_t *)mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); mboxq 5216 drivers/scsi/lpfc/lpfc_sli.c if (!mboxq) mboxq 5219 drivers/scsi/lpfc/lpfc_sli.c mqe = &mboxq->u.mqe; mboxq 5220 drivers/scsi/lpfc/lpfc_sli.c if (lpfc_sli4_dump_cfg_rg23(phba, mboxq)) { mboxq 5225 drivers/scsi/lpfc/lpfc_sli.c mp = (struct lpfc_dmabuf *)mboxq->ctx_buf; mboxq 5226 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 5233 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, mboxq 5245 drivers/scsi/lpfc/lpfc_sli.c mboxq->mcqe.word0, mboxq 5246 drivers/scsi/lpfc/lpfc_sli.c mboxq->mcqe.mcqe_tag0, mboxq->mcqe.mcqe_tag1, mboxq 5247 drivers/scsi/lpfc/lpfc_sli.c mboxq->mcqe.trailer); mboxq 5269 drivers/scsi/lpfc/lpfc_sli.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 5289 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_read_rev(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq, mboxq 5318 drivers/scsi/lpfc/lpfc_sli.c lpfc_read_rev(phba, mboxq); mboxq 5319 drivers/scsi/lpfc/lpfc_sli.c mqe = &mboxq->u.mqe; mboxq 5326 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 5364 drivers/scsi/lpfc/lpfc_sli.c LPFC_MBOXQ_t *mboxq; mboxq 5373 drivers/scsi/lpfc/lpfc_sli.c mboxq = (LPFC_MBOXQ_t *)mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); mboxq 5374 drivers/scsi/lpfc/lpfc_sli.c if (!mboxq) mboxq 5379 drivers/scsi/lpfc/lpfc_sli.c alloclen = lpfc_sli4_config(phba, mboxq, LPFC_MBOX_SUBSYSTEM_COMMON, mboxq 5391 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 5392 drivers/scsi/lpfc/lpfc_sli.c virtaddr = mboxq->sge_array->addr[0]; mboxq 5401 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_mqe_command, &mboxq->u.mqe), mboxq 5402 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_subsys_get(phba, mboxq), mboxq 5403 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_opcode_get(phba, mboxq), mboxq 5427 drivers/scsi/lpfc/lpfc_sli.c if (bf_get(lpfc_mqe_command, &mboxq->u.mqe) == MBX_SLI4_CONFIG) mboxq 5428 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_mbox_cmd_free(phba, mboxq); mboxq 5430 drivers/scsi/lpfc/lpfc_sli.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 5449 drivers/scsi/lpfc/lpfc_sli.c LPFC_MBOXQ_t *mboxq; mboxq 5460 drivers/scsi/lpfc/lpfc_sli.c mboxq = (LPFC_MBOXQ_t *)mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); mboxq 5461 drivers/scsi/lpfc/lpfc_sli.c if (!mboxq) mboxq 5475 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_config(phba, mboxq, LPFC_MBOX_SUBSYSTEM_COMMON, mboxq 5480 drivers/scsi/lpfc/lpfc_sli.c get_port_name = &mboxq->u.mqe.un.get_port_name; mboxq 5485 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 5492 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_mqe_command, &mboxq->u.mqe), mboxq 5493 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_subsys_get(phba, mboxq), mboxq 5494 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_opcode_get(phba, mboxq), mboxq 5533 drivers/scsi/lpfc/lpfc_sli.c if (bf_get(lpfc_mqe_command, &mboxq->u.mqe) == MBX_SLI4_CONFIG) mboxq 5534 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_mbox_cmd_free(phba, mboxq); mboxq 5536 drivers/scsi/lpfc/lpfc_sli.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 7162 drivers/scsi/lpfc/lpfc_sli.c LPFC_MBOXQ_t *mboxq; mboxq 7191 drivers/scsi/lpfc/lpfc_sli.c mboxq = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); mboxq 7192 drivers/scsi/lpfc/lpfc_sli.c if (!mboxq) mboxq 7203 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli4_read_rev(phba, mboxq, vpd, &vpd_size); mboxq 7209 drivers/scsi/lpfc/lpfc_sli.c mqe = &mboxq->u.mqe; mboxq 7309 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, mboxq 7326 drivers/scsi/lpfc/lpfc_sli.c lpfc_set_features(phba, mboxq, LPFC_SET_UE_RECOVERY); mboxq 7327 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 7334 drivers/scsi/lpfc/lpfc_sli.c &mboxq->u.mqe.un.set_feature); mboxq 7337 drivers/scsi/lpfc/lpfc_sli.c &mboxq->u.mqe.un.set_feature); mboxq 7343 drivers/scsi/lpfc/lpfc_sli.c lpfc_set_features(phba, mboxq, LPFC_SET_MDS_DIAGS); mboxq 7344 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 7353 drivers/scsi/lpfc/lpfc_sli.c lpfc_request_features(phba, mboxq); mboxq 7354 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 7424 drivers/scsi/lpfc/lpfc_sli.c lpfc_set_host_data(phba, mboxq); mboxq 7426 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 7434 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_read_sparam(phba, mboxq, vport->vpi); mboxq 7441 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport = vport; mboxq 7442 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 7443 drivers/scsi/lpfc/lpfc_sli.c mp = (struct lpfc_dmabuf *)mboxq->ctx_buf; mboxq 7455 drivers/scsi/lpfc/lpfc_sli.c mboxq->ctx_buf = NULL; mboxq 7612 drivers/scsi/lpfc/lpfc_sli.c lpfc_reg_fcfi(phba, mboxq); mboxq 7613 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport = phba->pport; mboxq 7614 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 7619 drivers/scsi/lpfc/lpfc_sli.c &mboxq->u.mqe.un.reg_fcfi); mboxq 7624 drivers/scsi/lpfc/lpfc_sli.c lpfc_reg_fcfi_mrq(phba, mboxq, 0); mboxq 7625 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport = phba->pport; mboxq 7626 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 7631 drivers/scsi/lpfc/lpfc_sli.c &mboxq->u.mqe.un.reg_fcfi_mrq); mboxq 7634 drivers/scsi/lpfc/lpfc_sli.c lpfc_reg_fcfi_mrq(phba, mboxq, 1); mboxq 7635 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport = phba->pport; mboxq 7636 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 7742 drivers/scsi/lpfc/lpfc_sli.c lpfc_down_link(phba, mboxq); mboxq 7743 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 7758 drivers/scsi/lpfc/lpfc_sli.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 7772 drivers/scsi/lpfc/lpfc_sli.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 8502 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_wait_bmbx_ready(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) mboxq 8508 drivers/scsi/lpfc/lpfc_sli.c timeout = msecs_to_jiffies(lpfc_mbox_tmo_val(phba, mboxq) mboxq 8541 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_post_sync_mbox(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) mboxq 8548 drivers/scsi/lpfc/lpfc_sli.c struct lpfc_mqe *mb = &mboxq->u.mqe; mboxq 8562 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, mboxq 8563 drivers/scsi/lpfc/lpfc_sli.c mboxq->u.mb.mbxCommand, mboxq 8564 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_subsys_get(phba, mboxq), mboxq 8565 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_opcode_get(phba, mboxq), mboxq 8571 drivers/scsi/lpfc/lpfc_sli.c phba->sli.mbox_active = mboxq; mboxq 8575 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli4_wait_bmbx_ready(phba, mboxq); mboxq 8593 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli4_wait_bmbx_ready(phba, mboxq); mboxq 8601 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli4_wait_bmbx_ready(phba, mboxq); mboxq 8613 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_pcimem_bcopy(&mbox_rgn->mcqe, &mboxq->mcqe, mboxq 8627 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_swap_str(phba, mboxq); mboxq 8633 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, mbx_cmnd, mboxq 8634 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_subsys_get(phba, mboxq), mboxq 8635 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_opcode_get(phba, mboxq), mboxq 8643 drivers/scsi/lpfc/lpfc_sli.c mb->un.mb_words[12], mboxq->mcqe.word0, mboxq 8644 drivers/scsi/lpfc/lpfc_sli.c mboxq->mcqe.mcqe_tag0, mboxq->mcqe.mcqe_tag1, mboxq 8645 drivers/scsi/lpfc/lpfc_sli.c mboxq->mcqe.trailer); mboxq 8668 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_issue_mbox_s4(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq, mboxq 8676 drivers/scsi/lpfc/lpfc_sli.c lpfc_idiag_mbxacc_dump_issue_mbox(phba, &mboxq->u.mb); mboxq 8683 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, mboxq 8684 drivers/scsi/lpfc/lpfc_sli.c mboxq->u.mb.mbxCommand, mboxq 8685 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_subsys_get(phba, mboxq), mboxq 8686 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_opcode_get(phba, mboxq), mboxq 8694 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli4_post_sync_mbox(phba, mboxq); mboxq 8703 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, mboxq 8704 drivers/scsi/lpfc/lpfc_sli.c mboxq->u.mb.mbxCommand, mboxq 8706 drivers/scsi/lpfc/lpfc_sli.c mboxq), mboxq 8708 drivers/scsi/lpfc/lpfc_sli.c mboxq), mboxq 8709 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_mqe_status, &mboxq->u.mqe), mboxq 8710 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_mcqe_status, &mboxq->mcqe), mboxq 8712 drivers/scsi/lpfc/lpfc_sli.c &mboxq->mcqe), mboxq 8720 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, mboxq 8721 drivers/scsi/lpfc/lpfc_sli.c mboxq->u.mb.mbxCommand, mboxq 8722 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_subsys_get(phba, mboxq), mboxq 8723 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_opcode_get(phba, mboxq), mboxq 8729 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli4_post_sync_mbox(phba, mboxq); mboxq 8737 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, mboxq 8738 drivers/scsi/lpfc/lpfc_sli.c mboxq->u.mb.mbxCommand, mboxq 8740 drivers/scsi/lpfc/lpfc_sli.c mboxq), mboxq 8742 drivers/scsi/lpfc/lpfc_sli.c mboxq), mboxq 8743 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_mqe_status, &mboxq->u.mqe), mboxq 8744 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_mcqe_status, &mboxq->mcqe), mboxq 8746 drivers/scsi/lpfc/lpfc_sli.c &mboxq->mcqe), mboxq 8755 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_mbox_cmd_check(phba, mboxq); mboxq 8760 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, mboxq 8761 drivers/scsi/lpfc/lpfc_sli.c mboxq->u.mb.mbxCommand, mboxq 8762 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_subsys_get(phba, mboxq), mboxq 8763 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_opcode_get(phba, mboxq), mboxq 8771 drivers/scsi/lpfc/lpfc_sli.c lpfc_mbox_put(phba, mboxq); mboxq 8776 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0xffffff, mboxq 8777 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_mqe_command, &mboxq->u.mqe), mboxq 8778 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_subsys_get(phba, mboxq), mboxq 8779 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_opcode_get(phba, mboxq), mboxq 8803 drivers/scsi/lpfc/lpfc_sli.c LPFC_MBOXQ_t *mboxq; mboxq 8833 drivers/scsi/lpfc/lpfc_sli.c mboxq = lpfc_mbox_get(phba); mboxq 8836 drivers/scsi/lpfc/lpfc_sli.c if (!mboxq) { mboxq 8841 drivers/scsi/lpfc/lpfc_sli.c phba->sli.mbox_active = mboxq; mboxq 8851 drivers/scsi/lpfc/lpfc_sli.c mqe = &mboxq->u.mqe; mboxq 8856 drivers/scsi/lpfc/lpfc_sli.c msecs_to_jiffies(1000 * lpfc_mbox_tmo_val(phba, mboxq)))); mboxq 8861 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, mbx_cmnd, mboxq 8862 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_subsys_get(phba, mboxq), mboxq 8863 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_opcode_get(phba, mboxq), mboxq 8867 drivers/scsi/lpfc/lpfc_sli.c if (mboxq->vport) { mboxq 8868 drivers/scsi/lpfc/lpfc_sli.c lpfc_debugfs_disc_trc(mboxq->vport, mboxq 8889 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport ? mboxq->vport->vpi : 0, mboxq 8890 drivers/scsi/lpfc/lpfc_sli.c mboxq->u.mb.mbxCommand, mboxq 8891 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_subsys_get(phba, mboxq), mboxq 8892 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_config_mbox_opcode_get(phba, mboxq), mboxq 8902 drivers/scsi/lpfc/lpfc_sli.c mboxq->u.mb.mbxStatus = MBX_NOT_FINISHED; mboxq 8903 drivers/scsi/lpfc/lpfc_sli.c __lpfc_mbox_cmpl_put(phba, mboxq); mboxq 10493 drivers/scsi/lpfc/lpfc_sli.c INIT_LIST_HEAD(&psli->mboxq); mboxq 10549 drivers/scsi/lpfc/lpfc_sli.c INIT_LIST_HEAD(&psli->mboxq); mboxq 10599 drivers/scsi/lpfc/lpfc_sli.c list_splice_init(&phba->sli.mboxq, &completions); mboxq 18190 drivers/scsi/lpfc/lpfc_sli.c LPFC_MBOXQ_t *mboxq; mboxq 18203 drivers/scsi/lpfc/lpfc_sli.c mboxq = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); mboxq 18204 drivers/scsi/lpfc/lpfc_sli.c if (!mboxq) { mboxq 18212 drivers/scsi/lpfc/lpfc_sli.c hdr_tmpl = &mboxq->u.mqe.un.hdr_tmpl; mboxq 18213 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_config(phba, mboxq, LPFC_MBOX_SUBSYSTEM_FCOE, mboxq 18228 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 18233 drivers/scsi/lpfc/lpfc_sli.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 18405 drivers/scsi/lpfc/lpfc_sli.c LPFC_MBOXQ_t *mboxq; mboxq 18410 drivers/scsi/lpfc/lpfc_sli.c mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); mboxq 18411 drivers/scsi/lpfc/lpfc_sli.c if (!mboxq) mboxq 18415 drivers/scsi/lpfc/lpfc_sli.c lpfc_resume_rpi(mboxq, ndlp); mboxq 18417 drivers/scsi/lpfc/lpfc_sli.c mboxq->mbox_cmpl = cmpl; mboxq 18418 drivers/scsi/lpfc/lpfc_sli.c mboxq->ctx_buf = arg; mboxq 18419 drivers/scsi/lpfc/lpfc_sli.c mboxq->ctx_ndlp = ndlp; mboxq 18421 drivers/scsi/lpfc/lpfc_sli.c mboxq->mbox_cmpl = lpfc_sli_def_mbox_cmpl; mboxq 18422 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport = ndlp->vport; mboxq 18423 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_NOWAIT); mboxq 18428 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_mqe_status, &mboxq->u.mqe)); mboxq 18429 drivers/scsi/lpfc/lpfc_sli.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 18448 drivers/scsi/lpfc/lpfc_sli.c LPFC_MBOXQ_t *mboxq; mboxq 18453 drivers/scsi/lpfc/lpfc_sli.c mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); mboxq 18454 drivers/scsi/lpfc/lpfc_sli.c if (!mboxq) mboxq 18456 drivers/scsi/lpfc/lpfc_sli.c lpfc_init_vpi(phba, mboxq, vport->vpi); mboxq 18457 drivers/scsi/lpfc/lpfc_sli.c mbox_tmo = lpfc_mbox_tmo_val(phba, mboxq); mboxq 18458 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox_wait(phba, mboxq, mbox_tmo); mboxq 18463 drivers/scsi/lpfc/lpfc_sli.c bf_get(lpfc_mqe_status, &mboxq->u.mqe)); mboxq 18467 drivers/scsi/lpfc/lpfc_sli.c mempool_free(mboxq, vport->phba->mbox_mem_pool); mboxq 18482 drivers/scsi/lpfc/lpfc_sli.c lpfc_mbx_cmpl_add_fcf_record(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) mboxq 18488 drivers/scsi/lpfc/lpfc_sli.c virt_addr = mboxq->sge_array->addr[0]; mboxq 18501 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_mbox_cmd_free(phba, mboxq); mboxq 18517 drivers/scsi/lpfc/lpfc_sli.c LPFC_MBOXQ_t *mboxq; mboxq 18524 drivers/scsi/lpfc/lpfc_sli.c mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); mboxq 18525 drivers/scsi/lpfc/lpfc_sli.c if (!mboxq) { mboxq 18535 drivers/scsi/lpfc/lpfc_sli.c alloc_len = lpfc_sli4_config(phba, mboxq, LPFC_MBOX_SUBSYSTEM_FCOE, mboxq 18543 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_mbox_cmd_free(phba, mboxq); mboxq 18551 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_mbx_sge_get(mboxq, 0, &sge); mboxq 18552 drivers/scsi/lpfc/lpfc_sli.c virt_addr = mboxq->sge_array->addr[0]; mboxq 18568 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport = phba->pport; mboxq 18569 drivers/scsi/lpfc/lpfc_sli.c mboxq->mbox_cmpl = lpfc_mbx_cmpl_add_fcf_record; mboxq 18570 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_NOWAIT); mboxq 18575 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_mbox_cmd_free(phba, mboxq); mboxq 18639 drivers/scsi/lpfc/lpfc_sli.c LPFC_MBOXQ_t *mboxq; mboxq 18643 drivers/scsi/lpfc/lpfc_sli.c mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); mboxq 18644 drivers/scsi/lpfc/lpfc_sli.c if (!mboxq) { mboxq 18652 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli4_mbx_read_fcf_rec(phba, mboxq, fcf_index); mboxq 18658 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport = phba->pport; mboxq 18659 drivers/scsi/lpfc/lpfc_sli.c mboxq->mbox_cmpl = lpfc_mbx_cmpl_fcf_scan_read_fcf_rec; mboxq 18665 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_NOWAIT); mboxq 18676 drivers/scsi/lpfc/lpfc_sli.c if (mboxq) mboxq 18677 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_mbox_cmd_free(phba, mboxq); mboxq 18701 drivers/scsi/lpfc/lpfc_sli.c LPFC_MBOXQ_t *mboxq; mboxq 18703 drivers/scsi/lpfc/lpfc_sli.c mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); mboxq 18704 drivers/scsi/lpfc/lpfc_sli.c if (!mboxq) { mboxq 18712 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli4_mbx_read_fcf_rec(phba, mboxq, fcf_index); mboxq 18718 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport = phba->pport; mboxq 18719 drivers/scsi/lpfc/lpfc_sli.c mboxq->mbox_cmpl = lpfc_mbx_cmpl_fcf_rr_read_fcf_rec; mboxq 18720 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_NOWAIT); mboxq 18727 drivers/scsi/lpfc/lpfc_sli.c if (error && mboxq) mboxq 18728 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_mbox_cmd_free(phba, mboxq); mboxq 18747 drivers/scsi/lpfc/lpfc_sli.c LPFC_MBOXQ_t *mboxq; mboxq 18749 drivers/scsi/lpfc/lpfc_sli.c mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); mboxq 18750 drivers/scsi/lpfc/lpfc_sli.c if (!mboxq) { mboxq 18758 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli4_mbx_read_fcf_rec(phba, mboxq, fcf_index); mboxq 18764 drivers/scsi/lpfc/lpfc_sli.c mboxq->vport = phba->pport; mboxq 18765 drivers/scsi/lpfc/lpfc_sli.c mboxq->mbox_cmpl = lpfc_mbx_cmpl_read_fcf_rec; mboxq 18766 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_NOWAIT); mboxq 18773 drivers/scsi/lpfc/lpfc_sli.c if (error && mboxq) mboxq 18774 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli4_mbox_cmd_free(phba, mboxq); mboxq 19211 drivers/scsi/lpfc/lpfc_sli.c LPFC_MBOXQ_t *mboxq = NULL; mboxq 19220 drivers/scsi/lpfc/lpfc_sli.c mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); mboxq 19221 drivers/scsi/lpfc/lpfc_sli.c if (!mboxq) { mboxq 19227 drivers/scsi/lpfc/lpfc_sli.c if (lpfc_sli4_dump_cfg_rg23(phba, mboxq)) mboxq 19229 drivers/scsi/lpfc/lpfc_sli.c mqe = &mboxq->u.mqe; mboxq 19230 drivers/scsi/lpfc/lpfc_sli.c mp = (struct lpfc_dmabuf *)mboxq->ctx_buf; mboxq 19231 drivers/scsi/lpfc/lpfc_sli.c rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); mboxq 19243 drivers/scsi/lpfc/lpfc_sli.c mempool_free(mboxq, phba->mbox_mem_pool); mboxq 19495 drivers/scsi/lpfc/lpfc_sli.c list_for_each_entry_safe(mb, nextmb, &phba->sli.mboxq, list) { mboxq 338 drivers/scsi/lpfc/lpfc_sli.h struct list_head mboxq; mboxq 384 drivers/staging/fieldbus/anybuss/host.c struct kfifo *mboxq; mboxq 1285 drivers/staging/fieldbus/anybuss/host.c cd->mboxq = &cd->qs[1];