/drivers/scsi/lpfc/ |
H A D | lpfc_sli.c | 4718 * @mboxq: mailbox pointer. 4726 LPFC_MBOXQ_t *mboxq; local 4738 mboxq = (LPFC_MBOXQ_t *)mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); 4739 if (!mboxq) 4742 mqe = &mboxq->u.mqe; 4743 if (lpfc_sli4_dump_cfg_rg23(phba, mboxq)) { 4748 mp = (struct lpfc_dmabuf *) mboxq->context1; 4749 rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); 4756 mboxq->vport ? mboxq 4812 lpfc_sli4_read_rev(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq, uint8_t *vpd, uint32_t *vpd_size) argument 4887 LPFC_MBOXQ_t *mboxq; local 6199 LPFC_MBOXQ_t *mboxq; local 7336 lpfc_sli4_wait_bmbx_ready(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) argument 7375 lpfc_sli4_post_sync_mbox(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) argument 7503 lpfc_sli_issue_mbox_s4(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq, uint32_t flag) argument 7638 LPFC_MBOXQ_t *mboxq; local 15589 LPFC_MBOXQ_t *mboxq; local 15782 LPFC_MBOXQ_t *mboxq; local 15825 LPFC_MBOXQ_t *mboxq; local 15859 lpfc_mbx_cmpl_add_fcf_record(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) argument 15894 LPFC_MBOXQ_t *mboxq; local 16018 LPFC_MBOXQ_t *mboxq; local 16080 LPFC_MBOXQ_t *mboxq; local 16126 LPFC_MBOXQ_t *mboxq; local 16593 LPFC_MBOXQ_t *mboxq = NULL; local [all...] |
H A D | lpfc_mbox.c | 1471 list_add_tail(&mbq->list, &psli->mboxq); 1498 list_remove_head((&psli->mboxq), mbq, LPFC_MBOXQ_t, list); 1546 * @mboxq: pointer to the driver internal queue element for mailbox command. 1555 lpfc_mbox_cmd_check(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) argument 1560 if (mboxq->mbox_cmpl && mboxq->mbox_cmpl != lpfc_sli_def_mbox_cmpl && 1561 mboxq->mbox_cmpl != lpfc_sli_wake_mbox_wait) { 1562 if (!mboxq->vport) { 1565 mboxq->u.mb.mbxCommand); 1609 lpfc_mbox_tmo_val(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) argument 2008 lpfc_sli4_mbx_read_fcf_rec(struct lpfc_hba *phba, struct lpfcMboxq *mboxq, uint16_t fcf_index) argument 2063 lpfc_request_features(struct lpfc_hba *phba, struct lpfcMboxq *mboxq) argument [all...] |
H A D | lpfc_hbadisc.c | 1186 lpfc_mbx_cmpl_reg_fcfi(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) argument 1188 struct lpfc_vport *vport = mboxq->vport; 1190 if (mboxq->u.mb.mbxStatus) { 1194 mboxq->u.mb.mbxStatus, vport->port_state); 1199 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, &mboxq->u.mqe.un.reg_fcfi); 1228 mempool_free(mboxq, phba->mbox_mem_pool); 1787 * @mboxq: pointer to mailbox object. 1798 lpfc_sli4_fcf_rec_mbox_parse(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq, argument 1812 lpfc_sli4_mbx_sge_get(mboxq, 0, &sge); 1814 if (unlikely(!mboxq 2171 lpfc_mbx_cmpl_fcf_scan_read_fcf_rec(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) argument 2547 lpfc_mbx_cmpl_fcf_rr_read_fcf_rec(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) argument 2653 lpfc_mbx_cmpl_read_fcf_rec(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) argument 2707 lpfc_init_vfi_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) argument 2743 LPFC_MBOXQ_t *mboxq; local 2772 lpfc_init_vpi_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) argument 2826 LPFC_MBOXQ_t *mboxq; local 2908 lpfc_mbx_cmpl_reg_vfi(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) argument 5903 lpfc_unregister_vfi_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) argument 5929 lpfc_unregister_fcfi_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) argument [all...] |
H A D | lpfc_init.c | 1233 (list_empty(&psli->mboxq))) { 3836 "0395 The mboxq allocation failed\n"); 3993 "2897 The mboxq allocation failed\n"); 4991 LPFC_MBOXQ_t *mboxq; local 5214 mboxq = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, 5216 if (!mboxq) { 5222 lpfc_supported_pages(mboxq); 5223 rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); 5225 mqe = &mboxq->u.mqe; 5239 rc = lpfc_pc_sli4_params_get(phba, mboxq); 6905 LPFC_MBOXQ_t *mboxq; local 7357 LPFC_MBOXQ_t *mboxq; local 7906 LPFC_MBOXQ_t *mboxq; local 9166 LPFC_MBOXQ_t *mboxq; local 9235 lpfc_pc_sli4_params_get(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) argument 9307 lpfc_get_sli4_parameters(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) argument [all...] |
H A D | lpfc_sli.h | 306 struct list_head mboxq; member in struct:lpfc_sli 309 LPFC_MBOXQ_t *mbox_active; /* active mboxq information */
|
H A D | lpfc_els.c | 458 LPFC_MBOXQ_t *mboxq; local 487 mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); 488 if (!mboxq) { 494 lpfc_reg_vfi(mboxq, vport, dmabuf->phys); 496 mboxq->mbox_cmpl = lpfc_mbx_cmpl_reg_vfi; 497 mboxq->vport = vport; 498 mboxq->context1 = dmabuf; 499 rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_NOWAIT); 507 mempool_free(mboxq, phba->mbox_mem_pool); 535 LPFC_MBOXQ_t *mboxq; local [all...] |
H A D | lpfc_nportdisc.c | 485 * @mboxq: pointer to mailbox object 491 lpfc_mbx_cmpl_resume_rpi(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) argument 498 elsiocb = (struct lpfc_iocbq *)mboxq->context1; 499 ndlp = (struct lpfc_nodelist *) mboxq->context2; 500 vport = mboxq->vport; 510 mempool_free(mboxq, phba->mbox_mem_pool); 1460 list_for_each_entry_safe(mb, nextmb, &phba->sli.mboxq, list) {
|
H A D | lpfc_mem.c | 299 list_for_each_entry_safe(mbox, next_mbox, &psli->mboxq, list) {
|