Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 25 files:

Smatch caller information:

drivers/net/ethernet/marvell/prestera/prestera_flower.c prestera_flower_parse() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 4715305681255710720
BUF_SIZE 0 rule (-1),32-s32max
BUF_SIZE 0 rule (-1),32-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c tc_add_ports_flow() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 2557863646924165120
BUF_SIZE 0 rule (-1),32-s32max
BUF_SIZE 0 rule (-1),32-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/sfc/tc.c efx_tc_flower_parse_match() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 6517914244384018432
DATA_SOURCE 0 rule $1
NOCHECK_CALL

drivers/net/ethernet/sfc/tc.c efx_tc_flower_parse_match() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 6517914244384018432
DATA_SOURCE 0 rule $1
NOCHECK_CALL

drivers/net/ethernet/microchip/vcap/vcap_tc.c vcap_tc_flower_handler_portnum_usage() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 1 out 6994707655928164352
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c bnxt_tc_parse_flow() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 8299149037602516992
BUF_SIZE 0 rule (-1),32-s32max
BUF_SIZE 0 rule (-1),32-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/ethernet/airoha/airoha_ppe.c airoha_ppe_flow_offload_replace() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 2023265813996847104
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &flow_offload_mutex
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c dpaa2_switch_flower_parse_key() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 6247427015524253696
BUF_SIZE 0 rule (-1),32-s32max
BUF_SIZE 0 rule (-1),32-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c mlx5_tc_ct_rule_to_tuple() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 4294317233158840320
CAPPED_DATA 0 rule->action.num_entries 1
DATA_SOURCE 0 rule $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c mlx5_tc_ct_set_tuple_match() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 6022318490759479296
CAPPED_DATA 0 rule->action.num_entries 1
DATA_SOURCE 0 rule $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c mlx5e_tc_ct_is_valid_flow_rule() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 5999582424560574464
CAPPED_DATA 0 rule->action.num_entries 1
DATA_SOURCE 0 rule $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/ethernet/intel/ice/ice_tc_lib.c ice_parse_cls_flower() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 624374894924312576
BUF_SIZE 0 rule (-1),32-s32max
BUF_SIZE 0 rule (-1),32-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c mvpp2_cls_c2_build_match() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 2351803556718018560
NOCHECK_CALL

drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c otx2_tc_prepare_flow() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 2291797510968905728
BUF_SIZE 0 rule (-1),32-s32max
BUF_SIZE 0 rule (-1),32-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/ethernet/mscc/ocelot_flower.c ocelot_flower_parse_key() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 5896494340471287808
BUF_SIZE 0 rule (-1),32-s32max
BUF_SIZE 0 rule (-1),32-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/ethernet/mellanox/mlx5/core/en_tc.c __parse_cls_flower() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 530186898076495872
BUF_SIZE 0 rule (-1),32-s32max
BUF_SIZE 0 rule (-1),32-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c cxgb4_process_flow_match() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 1047969729009418240
BUF_SIZE 0 rule (-1),32-s32max
BUF_SIZE 0 rule (-1),32-s32max
CAPPED_DATA 0 rule->action.num_entries 1
DATA_SOURCE 0 rule $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/qlogic/qede/qede_filter.c qede_flow_parse_ports() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 5671664915239567360
DATA_SOURCE 0 rule $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &edev->qede_lock
TYPE_LOCK (struct qede_dev)->qede_lock

drivers/net/ethernet/intel/iavf/iavf_main.c iavf_parse_cls_flower() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 5009401908987994112
BUF_SIZE 0 rule (-1),32-s32max
BUF_SIZE 0 rule (-1),32-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &adapter->netdev->lock
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock
TYPE_LOCK (struct net_device)->lock

drivers/net/dsa/yt921x.c yt921x_acl_rule_ext_parse_flow_entries() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 8576385360606224384
BUF_SIZE 0 rule (-1),32-s32max
BUF_SIZE 0 rule (-1),32-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/ethernet/netronome/nfp/flower/match.c nfp_flower_compile_tport() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 6255970686237065216
BUF_SIZE 0 rule (-1),32-s32max
BUF_SIZE 0 rule (-1),32-s32max
DATA_SOURCE 0 rule $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &priv->nfp_fl_lock

drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c mlxsw_sp_flower_parse_ports() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 1655839440584749056
BUF_SIZE 0 rule (-1),32-s32max
BUF_SIZE 0 rule (-1),32-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_ipv4_rule_set() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 4389652225875664896
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &priv->cfp.lock

drivers/net/dsa/bcm_sf2_cfp.c bcm_sf2_cfp_ipv6_rule_set() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 975688799355469824
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &priv->cfp.lock

drivers/net/ethernet/sfc/tc_conntrack.c efx_tc_ct_parse_match() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 2213536380906446848
DATA_SOURCE 0 rule $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/netronome/nfp/flower/conntrack.c nfp_ct_merge_check() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 3896247515344297984
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/netronome/nfp/flower/conntrack.c nfp_ct_merge_check() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 1961201572698566656
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/intel/i40e/i40e_main.c i40e_parse_cls_flower() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 8732724605926944768
BUF_SIZE 0 rule (-1),32-s32max
BUF_SIZE 0 rule (-1),32-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/ethernet/mediatek/mtk_ppe_offload.c mtk_flow_offload_replace() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 1816673071808413696
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &mtk_flow_offload_mutex
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_fd.c hclge_get_cls_key_port() -> flow_rule_match_ports()

Type Parameter Key Value
PARAM_VALUE 0 rule 4096-ptr_max
PARAM_VALUE 0 rule->match.dissector 4096-ptr_max
PARAM_VALUE 1 out 3288048892602490880
BUF_SIZE 0 rule (-1),32-s32max
BUF_SIZE 0 rule (-1),32-s32max
DATA_SOURCE 0 rule $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock