/Linux-v4.19/drivers/scsi/lpfc/ |
D | lpfc_mem.c | 140 phba->mbox_mem_pool = mempool_create_kmalloc_pool(LPFC_MEM_POOL_SIZE, in lpfc_mem_alloc() 142 if (!phba->mbox_mem_pool) in lpfc_mem_alloc() 201 mempool_destroy(phba->mbox_mem_pool); in lpfc_mem_alloc() 202 phba->mbox_mem_pool = NULL; in lpfc_mem_alloc() 281 mempool_destroy(phba->mbox_mem_pool); in lpfc_mem_free() 282 phba->mbox_mem_pool = NULL; in lpfc_mem_free() 339 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_mem_free_all() 349 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_mem_free_all() 362 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_mem_free_all()
|
D | lpfc_hbadisc.c | 925 mb = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_linkdown() 932 mempool_free(mb, phba->mbox_mem_pool); in lpfc_linkdown() 938 mb = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_linkdown() 945 mempool_free(mb, phba->mbox_mem_pool); in lpfc_linkdown() 1077 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_mbx_cmpl_clear_la() 1084 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_mbx_cmpl_clear_la() 1115 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_mbx_cmpl_local_config_link() 1155 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_mbx_cmpl_local_config_link() 1232 mempool_free(mboxq, phba->mbox_mem_pool); in lpfc_mbx_cmpl_reg_fcfi() 1483 fcf_mbxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_register_fcf() [all …]
|
D | lpfc_init.c | 129 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() 180 mempool_free( pmb, phba->mbox_mem_pool); in lpfc_config_port_prep() 194 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_config_port_prep() 199 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_config_port_prep() 263 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_config_port_prep() 284 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_config_async_cmpl() 308 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_dump_wakeup_param_cmpl() 328 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_dump_wakeup_param_cmpl() 425 pmb = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_config_port_post() [all …]
|
D | lpfc_vport.c | 125 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()
|
D | lpfc_nportdisc.c | 425 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_rcv_plogi() 433 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_rcv_plogi() 450 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_rcv_plogi() 461 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_rcv_plogi() 508 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_rcv_plogi() 513 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_rcv_plogi() 550 mempool_free(mboxq, phba->mbox_mem_pool); in lpfc_mbx_cmpl_resume_rpi() 876 pmb = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, in lpfc_release_rpi() 886 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_release_rpi() 1208 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_cmpl_plogi_plogi_issue() [all …]
|
D | lpfc_bsg.c | 1830 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli3_bsg_diag_loopback_mode() 1895 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli3_bsg_diag_loopback_mode() 1923 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli4_bsg_set_link_diag_state() 1964 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli4_bsg_set_link_diag_state() 1984 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli4_bsg_set_internal_loopback() 1993 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli4_bsg_set_internal_loopback() 2013 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli4_bsg_set_internal_loopback() 2386 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli4_bsg_link_diag_test() 2448 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli4_bsg_link_diag_test() 2476 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfcdiag_loop_self_reg() [all …]
|
D | lpfc_sli.c | 1557 pmb = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli_ring_map() 1577 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_ring_map() 2513 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_def_mbox_cmpl() 2553 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli4_unreg_rpi_cmpl_clr() 4343 pmb = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli_brdkill() 4351 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_brdkill() 4366 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_brdkill() 4380 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_brdkill() 4837 pmb = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli_hbq_setup() 4871 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_hbq_setup() [all …]
|
D | lpfc_els.c | 382 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_issue_fabric_reglogin() 399 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_issue_fabric_reglogin() 435 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_issue_fabric_reglogin() 475 mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_issue_reg_vfi() 515 mempool_free(mboxq, phba->mbox_mem_pool); in lpfc_issue_reg_vfi() 547 mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_issue_unreg_vfi() 565 mempool_free(mboxq, phba->mbox_mem_pool); in lpfc_issue_unreg_vfi() 923 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_cmpl_els_flogi_nport() 933 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_cmpl_els_flogi_nport() 2722 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_cmpl_els_logo() [all …]
|
D | lpfc_attr.c | 1027 pmboxq = mempool_alloc(phba->mbox_mem_pool,GFP_KERNEL); in lpfc_issue_lip() 1055 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_issue_lip() 1578 !phba->mbox_mem_pool || in lpfc_get_hba_info() 1585 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_get_hba_info() 1602 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_get_hba_info() 1644 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_get_hba_info() 6006 !phba->mbox_mem_pool || in lpfc_get_stats() 6013 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_get_stats() 6031 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_get_stats() 6063 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_get_stats() [all …]
|
D | lpfc_mbox.c | 847 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli4_unreg_all_rpis() 864 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_sli4_unreg_all_rpis() 1739 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_sli4_mbox_cmd_free() 1747 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_sli4_mbox_cmd_free() 1760 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_sli4_mbox_cmd_free()
|
D | lpfc.h | 956 mempool_t *mbox_mem_pool; member
|
D | lpfc_nvme.c | 1969 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli4_post_nvme_sgl_block()
|