Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/scsi/lpfc/
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()
Dlpfc_hbadisc.c1103 mb = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_linkdown()
1110 mempool_free(mb, phba->mbox_mem_pool); in lpfc_linkdown()
1117 mb = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_linkdown()
1124 mempool_free(mb, phba->mbox_mem_pool); in lpfc_linkdown()
1267 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_mbx_cmpl_clear_la()
1274 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_mbx_cmpl_clear_la()
1304 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_mbx_cmpl_local_config_link()
1335 sparam_mb = mempool_alloc(phba->mbox_mem_pool, in lpfc_mbx_cmpl_local_config_link()
1342 mempool_free(sparam_mb, phba->mbox_mem_pool); in lpfc_mbx_cmpl_local_config_link()
1355 mempool_free(sparam_mb, phba->mbox_mem_pool); in lpfc_mbx_cmpl_local_config_link()
[all …]
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()
Dlpfc_nportdisc.c493 link_mbox = mempool_alloc(phba->mbox_mem_pool, in lpfc_rcv_plogi()
504 mempool_free(link_mbox, phba->mbox_mem_pool); in lpfc_rcv_plogi()
521 login_mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_rcv_plogi()
574 mempool_free(login_mbox, phba->mbox_mem_pool); in lpfc_rcv_plogi()
593 mempool_free(login_mbox, phba->mbox_mem_pool); in lpfc_rcv_plogi()
630 mempool_free(login_mbox, phba->mbox_mem_pool); in lpfc_rcv_plogi()
670 mempool_free(mboxq, phba->mbox_mem_pool); in lpfc_mbx_cmpl_resume_rpi()
1056 pmb = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, in lpfc_release_rpi()
1067 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_release_rpi()
1082 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_release_rpi()
[all …]
Dlpfc_bsg.c1812 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli3_bsg_diag_loopback_mode()
1877 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli3_bsg_diag_loopback_mode()
1905 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli4_bsg_set_link_diag_state()
1946 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli4_bsg_set_link_diag_state()
1969 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli4_bsg_set_loopback_mode()
1978 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli4_bsg_set_loopback_mode()
2006 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli4_bsg_set_loopback_mode()
2437 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli4_bsg_link_diag_test()
2502 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli4_bsg_link_diag_test()
2532 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfcdiag_loop_self_reg()
[all …]
Dlpfc_sli.c1685 pmb = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli_ring_map()
1705 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_ring_map()
2946 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_def_mbox_cmpl()
3011 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli4_unreg_rpi_cmpl_clr()
4871 pmb = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli_brdkill()
4879 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_brdkill()
4894 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_brdkill()
4908 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_brdkill()
5381 pmb = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli_hbq_setup()
5415 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_hbq_setup()
[all …]
Dlpfc_init.c131 pmb = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_config_port_prep()
163 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_config_port_prep()
186 mempool_free( pmb, phba->mbox_mem_pool); in lpfc_config_port_prep()
200 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_config_port_prep()
205 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_config_port_prep()
271 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_config_port_prep()
292 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_config_async_cmpl()
316 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_dump_wakeup_param_cmpl()
336 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_dump_wakeup_param_cmpl()
433 pmb = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_config_port_post()
[all …]
Dlpfc_els.c392 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_issue_fabric_reglogin()
409 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_issue_fabric_reglogin()
450 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_issue_fabric_reglogin()
491 mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_issue_reg_vfi()
531 mempool_free(mboxq, phba->mbox_mem_pool); in lpfc_issue_reg_vfi()
563 mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_issue_unreg_vfi()
581 mempool_free(mboxq, phba->mbox_mem_pool); in lpfc_issue_unreg_vfi()
932 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_cmpl_els_flogi_nport()
942 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_cmpl_els_flogi_nport()
3184 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_reg_fab_ctrl_node()
[all …]
Dlpfc_attr.c1309 pmboxq = mempool_alloc(phba->mbox_mem_pool,GFP_KERNEL); in lpfc_issue_lip()
1337 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_issue_lip()
1850 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_set_trunking()
1866 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_set_trunking()
2023 !phba->mbox_mem_pool || in lpfc_get_hba_info()
2030 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_get_hba_info()
2047 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_get_hba_info()
2097 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_get_hba_info()
7032 !phba->mbox_mem_pool || in lpfc_get_stats()
7039 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_get_stats()
[all …]
Dlpfc_mbox.c850 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli4_unreg_all_rpis()
867 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_sli4_unreg_all_rpis()
1740 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_sli4_mbox_cmd_free()
1748 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_sli4_mbox_cmd_free()
1761 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_sli4_mbox_cmd_free()
Dlpfc.h1298 mempool_t *mbox_mem_pool; member