Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/bridge/br_mdb.c br_mdb_add_group_src() -> br_multicast_new_group_src()

Type Parameter Key Value
PARAM_VALUE 0 pg 4096-ptr_max
PARAM_VALUE 0 pg->key.port 0,4096-ptr_max
PARAM_VALUE 0 pg->src_ents 0-32
PARAM_VALUE 0 pg->src_list->first->pprev 1-u64max
PARAM_VALUE 0 pg->src_list.first 4096-ptr_max
PARAM_VALUE 0 pg->src_list.first->pprev 4096-ptr_max
BUF_SIZE 0 pg (-1),344
BUF_SIZE 0 pg (-1),344
DATA_SOURCE 0 pg $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 pg->key.addr.dst.ip4 0-u32max
USER_DATA 0 pg->key.addr.proto 0-2047,2049-u16max
USER_DATA 0 pg->key.addr.vid 0-u16max
LOCK2 &cfg->br->multicast_lock
LOCK2 bh
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
TYPE_LOCK (struct net_bridge)->multicast_lock

net/bridge/br_multicast.c __grp_src_block_excl() -> br_multicast_new_group_src()

Type Parameter Key Value
PARAM_VALUE 0 pg 4096-ptr_max
PARAM_VALUE 0 pg->filter_mode 0
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->create_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_ethtool_phy_stats 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_link_ext_state 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_mm_stats 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_module_power_mode 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_phy_tunable 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->modify_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->remove_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->rxfh_priv_size 0-u16max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_module_eeprom_by_page 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_module_power_mode 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_phy_tunable 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->supported_ring_params 0-4294967295
PARAM_VALUE 1 src_ip 1159713762510548992
PARAM_VALUE 1 src_ip->proto 0,2048,34525
CAPPED_DATA 0 pg->key.port 1
DATA_SOURCE 0 pg $2
BIT_INFO 0 pg->flags 0x0,0xfe
MEM_ZERO 1 src_ip
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &brmctx->br->multicast_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct net_bridge)->multicast_lock

net/bridge/br_multicast.c __grp_src_isexc_excl() -> br_multicast_new_group_src()

Type Parameter Key Value
PARAM_VALUE 0 pg 4096-ptr_max
PARAM_VALUE 0 pg->filter_mode 0
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->create_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_ethtool_phy_stats 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_link_ext_state 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_mm_stats 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_module_power_mode 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_phy_tunable 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->modify_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->remove_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->rxfh_priv_size 0-u16max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_module_eeprom_by_page 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_module_power_mode 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_phy_tunable 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->supported_ring_params 0-4294967295
PARAM_VALUE 1 src_ip 3251310535076622336
PARAM_VALUE 1 src_ip->proto 0,2048,34525
CAPPED_DATA 0 pg->key.port 1
DATA_SOURCE 0 pg $1
BIT_INFO 0 pg->flags 0x0,0xfe
MEM_ZERO 1 src_ip
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &brmctx->br->multicast_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct net_bridge)->multicast_lock

net/bridge/br_multicast.c __grp_src_isexc_incl() -> br_multicast_new_group_src()

Type Parameter Key Value
PARAM_VALUE 0 pg 4096-ptr_max
PARAM_VALUE 0 pg->filter_mode 1
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->create_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_ethtool_phy_stats 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_link_ext_state 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_mm_stats 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_module_power_mode 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_phy_tunable 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->modify_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->remove_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->rxfh_priv_size 0-u16max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_module_eeprom_by_page 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_module_power_mode 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_phy_tunable 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->supported_ring_params 0-4294967295
PARAM_VALUE 1 src_ip 4416381712016965632
PARAM_VALUE 1 src_ip->proto 0,2048,34525
CAPPED_DATA 0 pg->key.port 1
DATA_SOURCE 0 pg $1
BIT_INFO 0 pg->flags 0x0,0xfe
MEM_ZERO 1 src_ip
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &brmctx->br->multicast_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct net_bridge)->multicast_lock

net/bridge/br_multicast.c __grp_src_toex_excl() -> br_multicast_new_group_src()

Type Parameter Key Value
PARAM_VALUE 0 pg 4096-ptr_max
PARAM_VALUE 0 pg->filter_mode 0
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->create_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_ethtool_phy_stats 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_link_ext_state 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_mm_stats 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_module_power_mode 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_phy_tunable 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->modify_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->remove_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->rxfh_priv_size 0-u16max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_module_eeprom_by_page 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_module_power_mode 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_phy_tunable 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->supported_ring_params 0-4294967295
PARAM_VALUE 1 src_ip 3591297949376749568
PARAM_VALUE 1 src_ip->proto 0,2048,34525
CAPPED_DATA 0 pg->key.port 1
DATA_SOURCE 0 pg $2
BIT_INFO 0 pg->flags 0x0,0xfe
MEM_ZERO 1 src_ip
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &brmctx->br->multicast_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct net_bridge)->multicast_lock

net/bridge/br_multicast.c __grp_src_toex_incl() -> br_multicast_new_group_src()

Type Parameter Key Value
PARAM_VALUE 0 pg 4096-ptr_max
PARAM_VALUE 0 pg->filter_mode 1
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->create_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_ethtool_phy_stats 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_link_ext_state 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_mm_stats 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_module_power_mode 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_phy_tunable 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->modify_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->remove_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->rxfh_priv_size 0-u16max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_module_eeprom_by_page 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_module_power_mode 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_phy_tunable 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->supported_ring_params 0-4294967295
PARAM_VALUE 1 src_ip 3159117439760564224
PARAM_VALUE 1 src_ip->proto 0,2048,34525
CAPPED_DATA 0 pg->key.port 1
DATA_SOURCE 0 pg $2
BIT_INFO 0 pg->flags 0x0,0xfe
MEM_ZERO 1 src_ip
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &brmctx->br->multicast_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct net_bridge)->multicast_lock

net/bridge/br_multicast.c __grp_src_toin_excl() -> br_multicast_new_group_src()

Type Parameter Key Value
PARAM_VALUE 0 pg 4096-ptr_max
PARAM_VALUE 0 pg->filter_mode 0
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->create_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_ethtool_phy_stats 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_link_ext_state 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_mm_stats 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_module_power_mode 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_phy_tunable 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->modify_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->remove_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->rxfh_priv_size 0-u16max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_module_eeprom_by_page 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_module_power_mode 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_phy_tunable 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->supported_ring_params 0-4294967295
PARAM_VALUE 1 src_ip 5519548790385958912
PARAM_VALUE 1 src_ip->proto 0,2048,34525
CAPPED_DATA 0 pg->key.port 1
DATA_SOURCE 0 pg $2
BIT_INFO 0 pg->flags 0x0,0xfe
MEM_ZERO 1 src_ip
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &brmctx->br->multicast_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct net_bridge)->multicast_lock

net/bridge/br_multicast.c __grp_src_toin_incl() -> br_multicast_new_group_src()

Type Parameter Key Value
PARAM_VALUE 0 pg 4096-ptr_max
PARAM_VALUE 0 pg->filter_mode 1
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->create_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_ethtool_phy_stats 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_link_ext_state 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_mm_stats 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_module_power_mode 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->get_phy_tunable 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->modify_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->remove_rxfh_context 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->rxfh_priv_size 0-u16max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_module_eeprom_by_page 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_module_power_mode 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->set_phy_tunable 0-s64max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->supported_ring_params 0-4294967295
PARAM_VALUE 1 src_ip 1447643458718060544
PARAM_VALUE 1 src_ip->proto 0,2048,34525
CAPPED_DATA 0 pg->key.port 1
DATA_SOURCE 0 pg $2
BIT_INFO 0 pg->flags 0x0,0xfe
MEM_ZERO 1 src_ip
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &brmctx->br->multicast_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct net_bridge)->multicast_lock

net/bridge/br_multicast.c br_multicast_isinc_allow() -> br_multicast_new_group_src()

Type Parameter Key Value
PARAM_VALUE 0 pg 4096-ptr_max
PARAM_VALUE 0 pg->key.port->br->dev->ethtool_ops->supported_coalesce_params 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563,595,597,1553,1587,1681,132625,135697,657041,677393,2029107,2097665,2300433,2300595,3653155,12583935,12584499,13239859,117440512,536872499,s32max
PARAM_VALUE 1 src_ip 3619188747048521728
PARAM_VALUE 1 src_ip->proto 0,2048,34525
CAPPED_DATA 0 pg->key.port 1
DATA_SOURCE 0 pg $1
BIT_INFO 0 pg->flags 0x0,0xfe
MEM_ZERO 1 src_ip
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &brmctx->br->multicast_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct net_bridge)->multicast_lock