Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/bridge/br_multicast.c __fwd_add_star_excl() -> __br_multicast_add_group()

Type Parameter Key Value
PARAM_VALUE 0 brmctx 4096-ptr_max
PARAM_VALUE 0 brmctx->br 4096-ptr_max
PARAM_VALUE 0 brmctx->br->sg_port_tbl.p.hashfn 4096-ptr_max
PARAM_VALUE 1 pmctx 4096-ptr_max
PARAM_VALUE 1 pmctx->port->br->dev->ethtool_ops->create_rxfh_context 0,4,1193890977307893760,3411743749688197120,4061224044846587904,4457498795121053696,4492625381564977152,6869898235061968896
PARAM_VALUE 1 pmctx->port->br->dev->ethtool_ops->get_ethtool_phy_stats 0,3317615168082395136
PARAM_VALUE 1 pmctx->port->br->dev->ethtool_ops->get_link_ext_state 0,8,1281650680815353856,1471363006793740288,2066653251895574528,8975973974715154432,9149564991109386240
PARAM_VALUE 1 pmctx->port->br->dev->ethtool_ops->get_module_power_mode 0,3932445583158894592,7258977804121202688
PARAM_VALUE 1 pmctx->port->br->dev->ethtool_ops->get_phy_tunable 0,5967302400445186048
PARAM_VALUE 1 pmctx->port->br->dev->ethtool_ops->modify_rxfh_context 0,5,2274879766485979136,2866542652935299072,4642694651803070464,5251344010917244928,5947095161631043584,7301979924060471296
PARAM_VALUE 1 pmctx->port->br->dev->ethtool_ops->remove_rxfh_context 0,170,106227240452722688,513622018430513152,1648226983112282112,1705969192382881792,5541829826254528512,7874787804778274816
PARAM_VALUE 1 pmctx->port->br->dev->ethtool_ops->rxfh_priv_size 0,8,176
PARAM_VALUE 1 pmctx->port->br->dev->ethtool_ops->set_module_eeprom_by_page 0,5377252203329306624,6498145721974177792,8386224525791211520
PARAM_VALUE 1 pmctx->port->br->dev->ethtool_ops->set_module_power_mode 0,2104618493283307520,5611796029142327296
PARAM_VALUE 1 pmctx->port->br->dev->ethtool_ops->set_phy_tunable 0,5462931485636759552
PARAM_VALUE 1 pmctx->port->br->dev->ethtool_ops->supported_ring_params 0,3,5,12,20,32-33,96
PARAM_VALUE 1 pmctx->vlan 0,4096-ptr_max
PARAM_VALUE 2 group 4524678282257620992
PARAM_VALUE 2 group->proto 2048,34525
PARAM_VALUE 4 filter_mode 1
PARAM_VALUE 5 igmpv2_mldv1 0
PARAM_VALUE 6 blocked 0
BUF_SIZE 0 brmctx 1200
BUF_SIZE 1 pmctx 608
BUF_SIZE 3 src 6
DATA_SOURCE 0 brmctx r br_multicast_port_ctx_get_global
DATA_SOURCE 1 pmctx $0
DATA_SOURCE 2 group $2
MEM_ZERO 2 group
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 group->dst.ip4 0
USER_DATA 2 group->proto 34525
USER_DATA 2 group->vid 0-u16max
HALF_LOCKED2 &brmctx->br->multicast_lock
HALF_LOCKED2 &cfg->br->multicast_lock
HALF_LOCKED2 bh
TYPE_LOCK (struct net_bridge)->multicast_lock

net/bridge/br_multicast.c br_multicast_add_group() -> __br_multicast_add_group()

Type Parameter Key Value
PARAM_VALUE 0 brmctx 4096-ptr_max
PARAM_VALUE 0 brmctx->br 4096-ptr_max
PARAM_VALUE 0 brmctx->br->dev->ethtool_ops->begin 0-s64max
PARAM_VALUE 0 brmctx->br->dev->ethtool_ops->complete 0-s64max
PARAM_VALUE 0 brmctx->br->dev->ethtool_ops->get_ethtool_phy_stats 0-s64max
PARAM_VALUE 0 brmctx->br->dev->ethtool_ops->get_mm 0-s64max
PARAM_VALUE 0 brmctx->br->dev->ethtool_ops->get_module_power_mode 0-s64max
PARAM_VALUE 0 brmctx->br->dev->ethtool_ops->get_phy_tunable 0-s64max
PARAM_VALUE 0 brmctx->br->dev->ethtool_ops->rxfh_priv_size 0-u16max
PARAM_VALUE 0 brmctx->br->dev->ethtool_ops->set_mm 0-s64max
PARAM_VALUE 0 brmctx->br->dev->ethtool_ops->set_module_eeprom_by_page 0-s64max
PARAM_VALUE 0 brmctx->br->dev->ethtool_ops->set_module_power_mode 0-s64max
PARAM_VALUE 0 brmctx->br->dev->ethtool_ops->set_phy_tunable 0-s64max
PARAM_VALUE 0 brmctx->br->dev->ethtool_ops->supported_coalesce_params 0-4294967295
PARAM_VALUE 0 brmctx->br->dev->ethtool_ops->supported_ring_params 0-4294967295
PARAM_VALUE 0 brmctx->br->dev->rtnl_link_ops->priv_size 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3720,9688-u64max
PARAM_VALUE 0 brmctx->br->multicast_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 pmctx 0,4096-ptr_max
PARAM_VALUE 1 pmctx->port->dev->rtnl_link_ops->priv_size 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3720,9688-u64max
PARAM_VALUE 2 group 1716240630459056128,6451269506640297984
PARAM_VALUE 2 group->proto 2048,34525
PARAM_VALUE 4 filter_mode 0-1
PARAM_VALUE 6 blocked 0
BUF_SIZE 0 brmctx (-1),1024
BUF_SIZE 0 brmctx (-1),1024
BUF_SIZE 1 pmctx (-1)-0,432
BUF_SIZE 1 pmctx (-1)-0,432
BUF_SIZE 3 src 6
BUF_SIZE 3 src 6
DATA_SOURCE 0 brmctx $0
DATA_SOURCE 1 pmctx $1
DATA_SOURCE 2 group $2
DATA_SOURCE 3 src $3
DATA_SOURCE 4 filter_mode $4
DATA_SOURCE 5 igmpv2_mldv1 $5
FUZZY_MAX 4 filter_mode 1
HARD_MAX 2 group->proto 34525
HARD_MAX 4 filter_mode 1
MEM_ZERO 2 group
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &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_fwd_src_add() -> __br_multicast_add_group()

Type Parameter Key Value
PARAM_VALUE 0 brmctx 4096-ptr_max
PARAM_VALUE 1 pmctx 4096-ptr_max
PARAM_VALUE 1 pmctx->vlan 0,4096-ptr_max
PARAM_VALUE 2 group 3705338660293689344
PARAM_VALUE 4 filter_mode 1
PARAM_VALUE 5 igmpv2_mldv1 0
BUF_SIZE 0 brmctx 1200
BUF_SIZE 1 pmctx 608
BUF_SIZE 3 src 6
DATA_SOURCE 0 brmctx r br_multicast_port_ctx_get_global
DATA_SOURCE 1 pmctx r br_multicast_pg_to_port_ctx
MEM_ZERO 2 group
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &br->multicast_lock
HALF_LOCKED2 &brmctx->br->multicast_lock
TYPE_LOCK (struct net_bridge)->multicast_lock

net/bridge/br_multicast.c br_multicast_sg_add_exclude_ports() -> __br_multicast_add_group()

Type Parameter Key Value
PARAM_VALUE 0 brmctx 4096-ptr_max
PARAM_VALUE 1 pmctx 4096-ptr_max
PARAM_VALUE 1 pmctx->vlan 0,4096-ptr_max
PARAM_VALUE 2 group 4096-ptr_max
PARAM_VALUE 4 filter_mode 1
PARAM_VALUE 5 igmpv2_mldv1 0
PARAM_VALUE 6 blocked 0
BUF_SIZE 0 brmctx 1200
BUF_SIZE 1 pmctx 608
BUF_SIZE 3 src 6
DATA_SOURCE 0 brmctx r br_multicast_port_ctx_get_global
DATA_SOURCE 1 pmctx r br_multicast_pg_to_port_ctx
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 group->dst.ip4 0-u32max
USER_DATA 2 group->proto 0-2047,2049-u16max
USER_DATA 2 group->vid 0-u16max
HALF_LOCKED2 bh
TYPE_LOCK (struct net_bridge)->multicast_lock