Lines Matching refs:mflow
1693 struct mlx4_ib_flow *mflow; in mlx4_ib_create_flow() local
1711 mflow = kzalloc(sizeof(*mflow), GFP_KERNEL); in mlx4_ib_create_flow()
1712 if (!mflow) { in mlx4_ib_create_flow()
1754 type[i], &mflow->reg_id[i].id); in mlx4_ib_create_flow()
1764 &mflow->reg_id[j].mirror); in mlx4_ib_create_flow()
1776 &mflow->reg_id[i].id); in mlx4_ib_create_flow()
1783 &mflow->reg_id[j].mirror); in mlx4_ib_create_flow()
1793 return &mflow->ibflow; in mlx4_ib_create_flow()
1798 mflow->reg_id[i].id); in mlx4_ib_create_flow()
1804 mflow->reg_id[j].mirror); in mlx4_ib_create_flow()
1808 kfree(mflow); in mlx4_ib_create_flow()
1817 struct mlx4_ib_flow *mflow = to_mflow(flow_id); in mlx4_ib_destroy_flow() local
1819 while (i < ARRAY_SIZE(mflow->reg_id) && mflow->reg_id[i].id) { in mlx4_ib_destroy_flow()
1820 err = __mlx4_ib_destroy_flow(mdev->dev, mflow->reg_id[i].id); in mlx4_ib_destroy_flow()
1823 if (mflow->reg_id[i].mirror) { in mlx4_ib_destroy_flow()
1825 mflow->reg_id[i].mirror); in mlx4_ib_destroy_flow()
1832 kfree(mflow); in mlx4_ib_destroy_flow()