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() -> br_multicast_host_join()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | brmctx | 4096-ptr_max |
| PARAM_VALUE | 0 | brmctx->vlan | 0,4096-ptr_max |
| PARAM_VALUE | 1 | mp | 4096-ptr_max |
| PARAM_VALUE | 2 | notify | 0 |
| BUF_SIZE | 0 | brmctx | 1200 |
| BUF_SIZE | 1 | mp | (-1),208 |
| BUF_SIZE | 1 | mp | (-1),208 |
| CAPPED_DATA | 1 | mp | 1 |
| DATA_SOURCE | 0 | brmctx | r __br_mdb_choose_context |
| DATA_SOURCE | 1 | mp | r br_multicast_new_group |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &cfg->br->multicast_lock | ||
| LOCK2 | bh | ||
| 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 __br_multicast_add_group() -> br_multicast_host_join()
| 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 | 4096-ptr_max |
| 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,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3552,9688-u64max |
| PARAM_VALUE | 0 | brmctx->br->mdb_hash_tbl.p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 0 | brmctx->br->multicast_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | brmctx->vlan | 0,4096-ptr_max |
| PARAM_VALUE | 0 | brmctx->vlan->priv_flags | 4-u16max |
| PARAM_VALUE | 1 | mp | 1-ptr_max |
| PARAM_VALUE | 2 | notify | 1 |
| BUF_SIZE | 0 | brmctx | (-1),1024 |
| BUF_SIZE | 0 | brmctx | (-1),1024 |
| BUF_SIZE | 1 | mp | (-1),208 |
| BUF_SIZE | 1 | mp | (-1),208 |
| CAPPED_DATA | 1 | mp | 1 |
| DATA_SOURCE | 0 | brmctx | $0 |
| DATA_SOURCE | 1 | mp | r br_multicast_new_group |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | mp->addr.dst.ip4 | 0-u32max |
| USER_DATA | 1 | mp->addr.proto | 0-2047,2049-u16max |
| USER_DATA | 1 | mp->addr.vid | 0-u16max |
| LOCK2 | 0 | &brmctx->br->multicast_lock | |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct net_bridge)->multicast_lock |