Lines Matching refs:block_cb
1507 struct tcf_block_cb *block_cb; in mlxsw_sp_setup_tc_block_flower_bind() local
1510 block_cb = tcf_block_cb_lookup(block, mlxsw_sp_setup_tc_block_cb_flower, in mlxsw_sp_setup_tc_block_flower_bind()
1512 if (!block_cb) { in mlxsw_sp_setup_tc_block_flower_bind()
1516 block_cb = __tcf_block_cb_register(block, in mlxsw_sp_setup_tc_block_flower_bind()
1519 if (IS_ERR(block_cb)) { in mlxsw_sp_setup_tc_block_flower_bind()
1520 err = PTR_ERR(block_cb); in mlxsw_sp_setup_tc_block_flower_bind()
1524 acl_block = tcf_block_cb_priv(block_cb); in mlxsw_sp_setup_tc_block_flower_bind()
1526 tcf_block_cb_incref(block_cb); in mlxsw_sp_setup_tc_block_flower_bind()
1540 if (!tcf_block_cb_decref(block_cb)) { in mlxsw_sp_setup_tc_block_flower_bind()
1541 __tcf_block_cb_unregister(block, block_cb); in mlxsw_sp_setup_tc_block_flower_bind()
1554 struct tcf_block_cb *block_cb; in mlxsw_sp_setup_tc_block_flower_unbind() local
1557 block_cb = tcf_block_cb_lookup(block, mlxsw_sp_setup_tc_block_cb_flower, in mlxsw_sp_setup_tc_block_flower_unbind()
1559 if (!block_cb) in mlxsw_sp_setup_tc_block_flower_unbind()
1567 acl_block = tcf_block_cb_priv(block_cb); in mlxsw_sp_setup_tc_block_flower_unbind()
1570 if (!err && !tcf_block_cb_decref(block_cb)) { in mlxsw_sp_setup_tc_block_flower_unbind()
1571 __tcf_block_cb_unregister(block, block_cb); in mlxsw_sp_setup_tc_block_flower_unbind()