Home
last modified time | relevance | path

Searched refs:mbox_mem_pool (Results 1 – 11 of 11) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/scsi/lpfc/
H A Dlpfc_mem.c115 phba->mbox_mem_pool = mempool_create_kmalloc_pool(LPFC_MBX_POOL_SIZE, in lpfc_mem_alloc()
117 if (!phba->mbox_mem_pool) in lpfc_mem_alloc()
176 mempool_destroy(phba->mbox_mem_pool); in lpfc_mem_alloc()
177 phba->mbox_mem_pool = NULL; in lpfc_mem_alloc()
247 mempool_destroy(phba->mbox_mem_pool); in lpfc_mem_free()
248 phba->mbox_mem_pool = NULL; in lpfc_mem_free()
301 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_mem_free_all()
311 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_mem_free_all()
324 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_mem_free_all()
H A Dlpfc_hbadisc.c962 mb = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_linkdown()
969 mempool_free(mb, phba->mbox_mem_pool); in lpfc_linkdown()
976 mb = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_linkdown()
983 mempool_free(mb, phba->mbox_mem_pool); in lpfc_linkdown()
1129 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_mbx_cmpl_clear_la()
1136 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_mbx_cmpl_clear_la()
1166 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_mbx_cmpl_local_config_link()
1197 sparam_mb = mempool_alloc(phba->mbox_mem_pool, in lpfc_mbx_cmpl_local_config_link()
1204 mempool_free(sparam_mb, phba->mbox_mem_pool); in lpfc_mbx_cmpl_local_config_link()
1217 mempool_free(sparam_mb, phba->mbox_mem_pool); in lpfc_mbx_cmpl_local_config_link()
[all …]
H A Dlpfc_nportdisc.c307 mempool_free(login_mbox, phba->mbox_mem_pool); in lpfc_defer_pt2pt_acc()
308 mempool_free(link_mbox, phba->mbox_mem_pool); in lpfc_defer_pt2pt_acc()
322 mempool_free(login_mbox, phba->mbox_mem_pool); in lpfc_defer_pt2pt_acc()
325 mempool_free(link_mbox, phba->mbox_mem_pool); in lpfc_defer_pt2pt_acc()
367 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_defer_acc_rsp()
376 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_defer_acc_rsp()
540 link_mbox = mempool_alloc(phba->mbox_mem_pool, in lpfc_rcv_plogi()
569 login_mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_rcv_plogi()
575 link_mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_rcv_plogi()
659 mempool_free(login_mbox, phba->mbox_mem_pool); in lpfc_rcv_plogi()
[all …]
H A Dlpfc_vport.c125 pmb = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_vport_sparm()
133 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_vport_sparm()
154 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_vport_sparm()
164 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_vport_sparm()
177 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_vport_sparm()
H A Dlpfc_init.c129 pmb = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_config_port_prep()
161 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_config_port_prep()
184 mempool_free( pmb, phba->mbox_mem_pool); in lpfc_config_port_prep()
198 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_config_port_prep()
203 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_config_port_prep()
269 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_config_port_prep()
290 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_config_async_cmpl()
314 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_dump_wakeup_param_cmpl()
334 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_dump_wakeup_param_cmpl()
431 pmb = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_config_port_post()
[all …]
H A Dlpfc_bsg.c1828 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli3_bsg_diag_loopback_mode()
1893 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli3_bsg_diag_loopback_mode()
1921 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli4_bsg_set_link_diag_state()
1962 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli4_bsg_set_link_diag_state()
1985 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli4_bsg_set_loopback_mode()
1994 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli4_bsg_set_loopback_mode()
2022 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli4_bsg_set_loopback_mode()
2453 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli4_bsg_link_diag_test()
2516 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli4_bsg_link_diag_test()
2546 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfcdiag_loop_self_reg()
[all …]
H A Dlpfc_sli.c1558 pmb = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli_ring_map()
1578 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_ring_map()
2560 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_def_mbox_cmpl()
2625 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli4_unreg_rpi_cmpl_clr()
4459 pmb = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli_brdkill()
4467 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_brdkill()
4482 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_brdkill()
4496 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_brdkill()
4959 pmb = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli_hbq_setup()
4993 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_hbq_setup()
[all …]
H A Dlpfc_els.c386 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_issue_fabric_reglogin()
403 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_issue_fabric_reglogin()
439 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_issue_fabric_reglogin()
480 mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_issue_reg_vfi()
520 mempool_free(mboxq, phba->mbox_mem_pool); in lpfc_issue_reg_vfi()
552 mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_issue_unreg_vfi()
570 mempool_free(mboxq, phba->mbox_mem_pool); in lpfc_issue_unreg_vfi()
928 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_cmpl_els_flogi_nport()
938 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_cmpl_els_flogi_nport()
2900 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_cmpl_els_logo()
[all …]
H A Dlpfc_attr.c1136 pmboxq = mempool_alloc(phba->mbox_mem_pool,GFP_KERNEL); in lpfc_issue_lip()
1167 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_issue_lip()
1698 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_set_trunking()
1714 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_set_trunking()
1869 !phba->mbox_mem_pool || in lpfc_get_hba_info()
1876 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_get_hba_info()
1893 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_get_hba_info()
1943 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_get_hba_info()
6786 !phba->mbox_mem_pool || in lpfc_get_stats()
6793 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_get_stats()
[all …]
H A Dlpfc_mbox.c848 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli4_unreg_all_rpis()
865 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_sli4_unreg_all_rpis()
1738 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_sli4_mbox_cmd_free()
1746 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_sli4_mbox_cmd_free()
1759 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_sli4_mbox_cmd_free()
H A Dlpfc.h1031 mempool_t *mbox_mem_pool; member