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()
9542 struct lpfc_dmabuf *mp) in lpfc_sli_ringpostbuf_put() argument
9547 list_add_tail(&mp->list, &pring->postbufq); in lpfc_sli_ringpostbuf_put()
9597 struct lpfc_dmabuf *mp, *next_mp; in lpfc_sli_ring_taggedbuf_get() local
9602 list_for_each_entry_safe(mp, next_mp, &pring->postbufq, list) { in lpfc_sli_ring_taggedbuf_get()
9603 if (mp->buffer_tag == tag) { in lpfc_sli_ring_taggedbuf_get()
9604 list_del_init(&mp->list); in lpfc_sli_ring_taggedbuf_get()
9607 return mp; in lpfc_sli_ring_taggedbuf_get()
9641 struct lpfc_dmabuf *mp, *next_mp; in lpfc_sli_ringpostbuf_get() local
9646 list_for_each_entry_safe(mp, next_mp, &pring->postbufq, list) { in lpfc_sli_ringpostbuf_get()
9647 if (mp->phys == phys) { in lpfc_sli_ringpostbuf_get()
9648 list_del_init(&mp->list); in lpfc_sli_ringpostbuf_get()
9651 return mp; in lpfc_sli_ringpostbuf_get()
10923 struct lpfc_dmabuf *mp; in lpfc_sli_sp_intr_handler() local
11120 mp = (struct lpfc_dmabuf *) in lpfc_sli_sp_intr_handler()
11136 pmb->context1 = mp; in lpfc_sli_sp_intr_handler()
11674 struct lpfc_dmabuf *mp; in lpfc_sli4_sp_handle_mbox_event() local
11724 mp = (struct lpfc_dmabuf *)(pmb->context1); in lpfc_sli4_sp_handle_mbox_event()
11732 pmb->context1 = mp; in lpfc_sli4_sp_handle_mbox_event()
16638 struct lpfc_dmabuf *mp = NULL; in lpfc_sli4_get_config_region23() local
16656 mp = (struct lpfc_dmabuf *) mboxq->context1; in lpfc_sli4_get_config_region23()
16667 lpfc_sli_pcimem_bcopy((char *)mp->virt, rgn23_data, data_length); in lpfc_sli4_get_config_region23()
16670 if (mp) { in lpfc_sli4_get_config_region23()
16671 lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_sli4_get_config_region23()
16672 kfree(mp); in lpfc_sli4_get_config_region23()
16879 struct lpfc_dmabuf *mp; in lpfc_cleanup_pending_mbox() local
16951 mp = (struct lpfc_dmabuf *) (mb->context1); in lpfc_cleanup_pending_mbox()
16952 if (mp) { in lpfc_cleanup_pending_mbox()
16953 __lpfc_mbuf_free(phba, mp->virt, mp->phys); in lpfc_cleanup_pending_mbox()
16954 kfree(mp); in lpfc_cleanup_pending_mbox()