Lines Matching refs:mp
2163 struct lpfc_dmabuf *mp; in lpfc_sli_def_mbox_cmpl() local
2169 mp = (struct lpfc_dmabuf *) (pmb->context1); in lpfc_sli_def_mbox_cmpl()
2171 if (mp) { in lpfc_sli_def_mbox_cmpl()
2172 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_sli_def_mbox_cmpl()
2173 kfree(mp); in lpfc_sli_def_mbox_cmpl()
4771 struct lpfc_dmabuf *mp; in lpfc_sli4_read_fcoe_params() local
4792 mp = (struct lpfc_dmabuf *) mboxq->context1; in lpfc_sli4_read_fcoe_params()
4817 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_sli4_read_fcoe_params()
4818 kfree(mp); in lpfc_sli4_read_fcoe_params()
4824 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_sli4_read_fcoe_params()
4825 kfree(mp); in lpfc_sli4_read_fcoe_params()
4830 lpfc_parse_fcoe_conf(phba, mp->virt, data_length); in lpfc_sli4_read_fcoe_params()
4831 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_sli4_read_fcoe_params()
4832 kfree(mp); in lpfc_sli4_read_fcoe_params()
6250 struct lpfc_dmabuf *mp; in lpfc_sli4_hba_setup() local
6465 mp = (struct lpfc_dmabuf *) mboxq->context1; in lpfc_sli4_hba_setup()
6467 memcpy(&vport->fc_sparam, mp->virt, sizeof(struct serv_parm)); in lpfc_sli4_hba_setup()
6475 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_sli4_hba_setup()
6476 kfree(mp); in lpfc_sli4_hba_setup()
9524 struct lpfc_dmabuf *mp) in lpfc_sli_ringpostbuf_put() argument
9529 list_add_tail(&mp->list, &pring->postbufq); in lpfc_sli_ringpostbuf_put()
9579 struct lpfc_dmabuf *mp, *next_mp; in lpfc_sli_ring_taggedbuf_get() local
9584 list_for_each_entry_safe(mp, next_mp, &pring->postbufq, list) { in lpfc_sli_ring_taggedbuf_get()
9585 if (mp->buffer_tag == tag) { in lpfc_sli_ring_taggedbuf_get()
9586 list_del_init(&mp->list); in lpfc_sli_ring_taggedbuf_get()
9589 return mp; in lpfc_sli_ring_taggedbuf_get()
9623 struct lpfc_dmabuf *mp, *next_mp; in lpfc_sli_ringpostbuf_get() local
9628 list_for_each_entry_safe(mp, next_mp, &pring->postbufq, list) { in lpfc_sli_ringpostbuf_get()
9629 if (mp->phys == phys) { in lpfc_sli_ringpostbuf_get()
9630 list_del_init(&mp->list); in lpfc_sli_ringpostbuf_get()
9633 return mp; in lpfc_sli_ringpostbuf_get()
10905 struct lpfc_dmabuf *mp; in lpfc_sli_sp_intr_handler() local
11102 mp = (struct lpfc_dmabuf *) in lpfc_sli_sp_intr_handler()
11118 pmb->context1 = mp; in lpfc_sli_sp_intr_handler()
11656 struct lpfc_dmabuf *mp; in lpfc_sli4_sp_handle_mbox_event() local
11706 mp = (struct lpfc_dmabuf *)(pmb->context1); in lpfc_sli4_sp_handle_mbox_event()
11714 pmb->context1 = mp; in lpfc_sli4_sp_handle_mbox_event()
16612 struct lpfc_dmabuf *mp = NULL; in lpfc_sli4_get_config_region23() local
16630 mp = (struct lpfc_dmabuf *) mboxq->context1; in lpfc_sli4_get_config_region23()
16641 lpfc_sli_pcimem_bcopy((char *)mp->virt, rgn23_data, data_length); in lpfc_sli4_get_config_region23()
16644 if (mp) { in lpfc_sli4_get_config_region23()
16645 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_sli4_get_config_region23()
16646 kfree(mp); in lpfc_sli4_get_config_region23()
16853 struct lpfc_dmabuf *mp; in lpfc_cleanup_pending_mbox() local
16925 mp = (struct lpfc_dmabuf *) (mb->context1); in lpfc_cleanup_pending_mbox()
16926 if (mp) { in lpfc_cleanup_pending_mbox()
16927 __lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_cleanup_pending_mbox()
16928 kfree(mp); in lpfc_cleanup_pending_mbox()