Lines Matching refs:mbp

612 csio_ln_vnp_read_cbfn(struct csio_hw *hw, struct csio_mb *mbp)  in csio_ln_vnp_read_cbfn()  argument
614 struct csio_lnode *ln = ((struct csio_lnode *)mbp->priv); in csio_ln_vnp_read_cbfn()
615 struct fw_fcoe_vnp_cmd *rsp = (struct fw_fcoe_vnp_cmd *)(mbp->mb); in csio_ln_vnp_read_cbfn()
624 mempool_free(mbp, hw->mb_mempool); in csio_ln_vnp_read_cbfn()
663 mempool_free(mbp, hw->mb_mempool); in csio_ln_vnp_read_cbfn()
681 struct csio_mb *mbp; in csio_ln_vnp_read() local
684 mbp = mempool_alloc(hw->mb_mempool, GFP_ATOMIC); in csio_ln_vnp_read()
685 if (!mbp) { in csio_ln_vnp_read()
691 csio_fcoe_vnp_read_init_mb(ln, mbp, in csio_ln_vnp_read()
698 if (csio_mb_issue(hw, mbp)) { in csio_ln_vnp_read()
700 mempool_free(mbp, hw->mb_mempool); in csio_ln_vnp_read()
718 struct csio_mb *mbp; in csio_fcoe_enable_link() local
725 mbp = mempool_alloc(hw->mb_mempool, GFP_ATOMIC); in csio_fcoe_enable_link()
726 if (!mbp) { in csio_fcoe_enable_link()
737 csio_write_fcoe_link_cond_init_mb(ln, mbp, CSIO_MB_DEFAULT_TMO, in csio_fcoe_enable_link()
740 if (csio_mb_issue(hw, mbp)) { in csio_fcoe_enable_link()
743 mempool_free(mbp, hw->mb_mempool); in csio_fcoe_enable_link()
747 retval = csio_mb_fw_retval(mbp); in csio_fcoe_enable_link()
752 mempool_free(mbp, hw->mb_mempool); in csio_fcoe_enable_link()
759 lcmd = (struct fw_fcoe_link_cmd *)mbp->mb; in csio_fcoe_enable_link()
769 mempool_free(mbp, hw->mb_mempool); in csio_fcoe_enable_link()
780 csio_ln_read_fcf_cbfn(struct csio_hw *hw, struct csio_mb *mbp) in csio_ln_read_fcf_cbfn() argument
782 struct csio_lnode *ln = (struct csio_lnode *)mbp->priv; in csio_ln_read_fcf_cbfn()
785 (struct fw_fcoe_fcf_cmd *)(mbp->mb); in csio_ln_read_fcf_cbfn()
792 mempool_free(mbp, hw->mb_mempool); in csio_ln_read_fcf_cbfn()
817 mempool_free(mbp, hw->mb_mempool); in csio_ln_read_fcf_cbfn()
832 struct csio_mb *mbp; in csio_ln_read_fcf_entry() local
834 mbp = mempool_alloc(hw->mb_mempool, GFP_ATOMIC); in csio_ln_read_fcf_entry()
835 if (!mbp) { in csio_ln_read_fcf_entry()
841 csio_fcoe_read_fcf_init_mb(ln, mbp, CSIO_MB_DEFAULT_TMO, in csio_ln_read_fcf_entry()
844 if (csio_mb_issue(hw, mbp)) { in csio_ln_read_fcf_entry()
846 mempool_free(mbp, hw->mb_mempool); in csio_ln_read_fcf_entry()
1387 struct csio_mb *mbp; in csio_get_phy_port_stats() local
1392 mbp = mempool_alloc(hw->mb_mempool, GFP_ATOMIC); in csio_get_phy_port_stats()
1393 if (!mbp) { in csio_get_phy_port_stats()
1404 csio_fcoe_read_portparams_init_mb(hw, mbp, CSIO_MB_DEFAULT_TMO, in csio_get_phy_port_stats()
1406 if (csio_mb_issue(hw, mbp)) { in csio_get_phy_port_stats()
1408 mempool_free(mbp, hw->mb_mempool); in csio_get_phy_port_stats()
1411 csio_mb_process_portparams_rsp(hw, mbp, &retval, in csio_get_phy_port_stats()
1415 mempool_free(mbp, hw->mb_mempool); in csio_get_phy_port_stats()