Home
last modified time | relevance | path

Searched refs:mbox_mem_pool (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/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_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_KERNE in lpfcdiag_loop_self_reg()
[all...]
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_KERNE in lpfc_config_port_post()
[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_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_KERNE in lpfc_cmpl_els_logo()
[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_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_KERNE 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.h1032 mempool_t *mbox_mem_pool; member
/kernel/linux/linux-6.6/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.c1303 mb = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_linkdown()
1310 mempool_free(mb, phba->mbox_mem_pool); in lpfc_linkdown()
1317 mb = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_linkdown()
1324 mempool_free(mb, phba->mbox_mem_pool); in lpfc_linkdown()
1472 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_mbx_cmpl_clear_la()
1479 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_mbx_cmpl_clear_la()
1508 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_mbx_cmpl_local_config_link()
1539 sparam_mb = mempool_alloc(phba->mbox_mem_pool, in lpfc_mbx_cmpl_local_config_link()
1546 mempool_free(sparam_mb, phba->mbox_mem_pool); in lpfc_mbx_cmpl_local_config_link()
1649 mempool_free(mboxq, phba->mbox_mem_pool); in lpfc_mbx_cmpl_reg_fcfi()
[all...]
H A Dlpfc_bsg.c1772 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli3_bsg_diag_loopback_mode()
1837 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli3_bsg_diag_loopback_mode()
1865 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli4_bsg_set_link_diag_state()
1906 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli4_bsg_set_link_diag_state()
1929 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli4_bsg_set_loopback_mode()
1938 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli4_bsg_set_loopback_mode()
1966 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli4_bsg_set_loopback_mode()
2394 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli4_bsg_link_diag_test()
2459 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_sli4_bsg_link_diag_test()
2489 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNE in lpfcdiag_loop_self_reg()
[all...]
H A Dlpfc_sli.c1681 pmb = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli_ring_map()
1701 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_ring_map()
3034 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli4_unreg_rpi_cmpl_clr()
4992 pmb = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli_brdkill()
5000 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_brdkill()
5015 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_brdkill()
5029 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_brdkill()
5480 pmb = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli_hbq_setup()
5514 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_hbq_setup()
5520 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_sli_hbq_setup()
[all...]
H A Dlpfc_init.c133 pmb = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_config_port_prep()
165 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_config_port_prep()
188 mempool_free( pmb, phba->mbox_mem_pool); in lpfc_config_port_prep()
202 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_config_port_prep()
207 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_config_port_prep()
273 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_config_port_prep()
294 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_config_async_cmpl()
318 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_dump_wakeup_param_cmpl()
337 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_dump_wakeup_param_cmpl()
437 pmb = mempool_alloc(phba->mbox_mem_pool, GFP_KERNE in lpfc_config_port_post()
[all...]
H A Dlpfc_attr.c1297 pmboxq = mempool_alloc(phba->mbox_mem_pool,GFP_KERNEL); in lpfc_issue_lip()
1328 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_issue_lip()
1865 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_set_trunking()
1881 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_set_trunking()
2142 !phba->mbox_mem_pool || in lpfc_get_hba_info()
2149 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_get_hba_info()
2166 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_get_hba_info()
2254 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_get_hba_info()
6631 !phba->mbox_mem_pool || in lpfc_get_stats()
6638 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNE in lpfc_get_stats()
[all...]
H A Dlpfc_nportdisc.c509 link_mbox = mempool_alloc(phba->mbox_mem_pool, in lpfc_rcv_plogi()
524 mempool_free(link_mbox, phba->mbox_mem_pool); in lpfc_rcv_plogi()
541 login_mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_rcv_plogi()
661 mempool_free(login_mbox, phba->mbox_mem_pool); in lpfc_rcv_plogi()
701 mempool_free(mboxq, phba->mbox_mem_pool); in lpfc_mbx_cmpl_resume_rpi()
1098 pmb = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, in lpfc_release_rpi()
1109 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_release_rpi()
1125 mempool_free(pmb, phba->mbox_mem_pool); in lpfc_release_rpi()
1446 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_cmpl_plogi_plogi_issue()
1464 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_cmpl_plogi_plogi_issue()
[all...]
H A Dlpfc_els.c360 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_issue_fabric_reglogin()
377 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_issue_fabric_reglogin()
454 mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_issue_reg_vfi()
518 mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_issue_unreg_vfi()
536 mempool_free(mboxq, phba->mbox_mem_pool); in lpfc_issue_unreg_vfi()
889 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_cmpl_els_flogi_nport()
899 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_cmpl_els_flogi_nport()
3300 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_reg_fab_ctrl_node()
4548 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_link_reset()
4575 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_link_reset()
[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()
H A Dlpfc_mbox.c117 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_mbox_rsrc_cleanup()
907 mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli4_unreg_all_rpis()
924 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_sli4_unreg_all_rpis()
1799 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_sli4_mbox_cmd_free()
1807 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_sli4_mbox_cmd_free()
1820 mempool_free(mbox, phba->mbox_mem_pool); in lpfc_sli4_mbox_cmd_free()
H A Dlpfc.h1293 mempool_t *mbox_mem_pool; member

Completed in 94 milliseconds