Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/bridge/br_mdb.c __br_mdb_del() -> br_mdb_ip_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | br | 4096-ptr_max |
| PARAM_VALUE | 0 | br->multicast_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dst | 2206198358583308288 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &br->multicast_lock | |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| 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_mdb.c br_mdb_add_group_sg() -> br_mdb_ip_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | br | 4096-ptr_max |
| PARAM_VALUE | 0 | br->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | br->dev->nd_net.net | 4096-ptr_max |
| PARAM_VALUE | 0 | 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 |
| PARAM_VALUE | 1 | dst | 7651705163487420416 |
| CAPPED_DATA | 0 | br->dev->nd_net.net | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dst->dst.ip4 | 0-u32max |
| USER_DATA | 1 | dst->proto | 0-2047,2049-u16max |
| USER_DATA | 1 | dst->vid | 0-u16max |
| LOCK2 | bh | ||
| HALF_LOCKED2 | &cfg->br->multicast_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 | ||
| HALF_LOCKED2 | 0 | &br->multicast_lock | |
| TYPE_LOCK | (struct net_bridge)->multicast_lock |
net/bridge/br_mdb.c br_mdb_get() -> br_mdb_ip_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | br | 4096-ptr_max |
| PARAM_VALUE | 0 | br->multicast_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dst | 3851055286893387776 |
| MEM_ZERO | 1 | dst | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &br->multicast_lock | |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| 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_switchdev.c br_switchdev_mdb_complete() -> br_mdb_ip_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | br | 4096-ptr_max |
| PARAM_VALUE | 0 | br->multicast_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &br->multicast_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net_bridge)->multicast_lock |
net/bridge/br_multicast.c br_mdb_ip4_get() -> br_mdb_ip_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | br | 4096-ptr_max |
| PARAM_VALUE | 0 | br->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | br->dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | br->multicast_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dst | 3519081270020194304 |
| PARAM_VALUE | 1 | dst->proto | 2048 |
| DATA_SOURCE | 0 | br | $0 |
| MEM_ZERO | 1 | dst | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &br->multicast_lock | |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct net_bridge)->multicast_lock |
net/bridge/br_multicast.c br_mdb_ip6_get() -> br_mdb_ip_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | br | 4096-ptr_max |
| PARAM_VALUE | 0 | br->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | br->dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | br->multicast_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dst | 134825904969068544 |
| PARAM_VALUE | 1 | dst->proto | 34525 |
| DATA_SOURCE | 0 | br | $0 |
| MEM_ZERO | 1 | dst | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &br->multicast_lock | |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct net_bridge)->multicast_lock |
net/bridge/br_multicast.c br_multicast_find_del_pg() -> br_mdb_ip_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| DATA_SOURCE | 0 | br | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &br->multicast_lock | ||
| HALF_LOCKED2 | &brmctx->br->multicast_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &br->multicast_lock |
net/bridge/br_multicast.c br_multicast_fwd_src_add() -> br_mdb_ip_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| 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_fwd_src_handle() -> br_mdb_ip_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | br | 4096-ptr_max |
| PARAM_VALUE | 0 | br->dev->rtnl_link_ops->priv_size | 0,8,32,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,3720,9688-u64max |
| PARAM_VALUE | 0 | br->sg_port_tbl.p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 5489906140449243144 |
| PARAM_VALUE | 1 | dst->vid | 0 |
| MEM_ZERO | 1 | dst | |
| 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_fwd_src_remove() -> br_mdb_ip_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dst | 8085093437244833792 |
| MEM_ZERO | 1 | dst | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &br->multicast_lock | ||
| HALF_LOCKED2 | &brmctx->br->multicast_lock | ||
| HALF_LOCKED2 | &cfg->br->multicast_lock | ||
| HALF_LOCKED2 | bh |
net/bridge/br_multicast.c br_multicast_leave_group() -> br_mdb_ip_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | br | 4096-ptr_max |
| PARAM_VALUE | 0 | br->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | br->dev->ethtool_ops->begin | 0-s64max |
| PARAM_VALUE | 0 | br->dev->ethtool_ops->complete | 0-s64max |
| PARAM_VALUE | 0 | br->dev->ethtool_ops->get_ethtool_phy_stats | 0-s64max |
| PARAM_VALUE | 0 | br->dev->ethtool_ops->get_mm | 0-s64max |
| PARAM_VALUE | 0 | br->dev->ethtool_ops->get_module_power_mode | 0-s64max |
| PARAM_VALUE | 0 | br->dev->ethtool_ops->get_phy_tunable | 0-s64max |
| PARAM_VALUE | 0 | br->dev->ethtool_ops->rxfh_priv_size | 0-u16max |
| PARAM_VALUE | 0 | br->dev->ethtool_ops->set_mm | 0-s64max |
| PARAM_VALUE | 0 | br->dev->ethtool_ops->set_module_eeprom_by_page | 0-s64max |
| PARAM_VALUE | 0 | br->dev->ethtool_ops->set_module_power_mode | 0-s64max |
| PARAM_VALUE | 0 | br->dev->ethtool_ops->set_phy_tunable | 0-s64max |
| PARAM_VALUE | 0 | br->dev->ethtool_ops->supported_coalesce_params | 0-4294967295 |
| PARAM_VALUE | 0 | br->dev->ethtool_ops->supported_ring_params | 0-4294967295 |
| PARAM_VALUE | 0 | 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 | br->multicast_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dst | 1878147330777485312,8888726432313245696 |
| PARAM_VALUE | 1 | dst->proto | 2048,34525 |
| DATA_SOURCE | 1 | dst | $2 |
| HARD_MAX | 1 | dst->proto | 34525 |
| MEM_ZERO | 1 | dst | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &br->multicast_lock | |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct net_bridge)->multicast_lock |
net/bridge/br_multicast.c br_multicast_new_group() -> br_mdb_ip_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | br | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| DATA_SOURCE | 0 | br | $0 |
| DATA_SOURCE | 1 | dst | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dst->dst.ip4 | 0-u32max |
| USER_DATA | 1 | dst->proto | 0-2047,2049-u16max |
| USER_DATA | 1 | dst->vid | 0-u16max |
| HALF_LOCKED2 | &cfg->br->multicast_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &br->multicast_lock | |
| TYPE_LOCK | (struct net_bridge)->multicast_lock |
net/bridge/br_multicast.c br_multicast_port_group_expired() -> br_mdb_ip_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | br | 4096-ptr_max |
| PARAM_VALUE | 0 | br->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | br->multicast_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &br->multicast_lock | |
| TYPE_LOCK | (struct net_bridge)->multicast_lock |
net/bridge/br_multicast.c br_multicast_sg_host_state() -> br_mdb_ip_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dst->dst.ip4 | 0-u32max |
| USER_DATA | 1 | dst->proto | 0-2047,2049-u16max |
| USER_DATA | 1 | dst->vid | 0-u16max |
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct net_bridge)->multicast_lock |
net/bridge/br_multicast.c br_multicast_star_g_handle_mode() -> br_mdb_ip_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | dst->proto | 2048,34525 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dst->dst.ip4 | 0-u32max |
| USER_DATA | 1 | dst->proto | 34525 |
| USER_DATA | 1 | dst->vid | 0-u16max |
| HALF_LOCKED2 | &br->multicast_lock | ||
| HALF_LOCKED2 | &brmctx->br->multicast_lock | ||
| HALF_LOCKED2 | &cfg->br->multicast_lock | ||
| HALF_LOCKED2 | bh |
net/bridge/br_multicast.c br_multicast_star_g_host_state() -> br_mdb_ip_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dst | 4675091222682738688 |
| PARAM_VALUE | 1 | dst->proto | 0,2048,34525 |
| MEM_ZERO | 1 | dst | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dst->dst.ip4 | 0 |
| USER_DATA | 1 | dst->proto | 34525 |
| USER_DATA | 1 | dst->vid | 0 |
| HALF_LOCKED2 | &br->multicast_lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct net_bridge)->multicast_lock |