Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/bridge/br_multicast.c br_ip4_multicast_add_router() -> br_multicast_add_router()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | brmctx | 4096-ptr_max |
| PARAM_VALUE | 1 | pmctx | 4096-ptr_max |
| PARAM_VALUE | 1 | pmctx->multicast_router | 2 |
| PARAM_VALUE | 1 | pmctx->vlan | 0,4096-ptr_max |
| PARAM_VALUE | 2 | rlist | 4096-ptr_max |
| PARAM_VALUE | 3 | mc_router_list | 4096-ptr_max |
| BUF_SIZE | 0 | brmctx | 1200 |
| DATA_SOURCE | 0 | brmctx | $0 |
| DATA_SOURCE | 1 | pmctx | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &br->multicast_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &brmctx->br->multicast_lock | |
| TYPE_LOCK | (struct net_bridge)->multicast_lock |
net/bridge/br_multicast.c br_ip6_multicast_add_router() -> br_multicast_add_router()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | brmctx | 4096-ptr_max |
| PARAM_VALUE | 0 | brmctx->ip4_mc_router_list->first->pprev | 1-u64max |
| PARAM_VALUE | 0 | brmctx->ip4_mc_router_list.first | 4096-ptr_max |
| PARAM_VALUE | 0 | brmctx->ip4_mc_router_list.first->pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | pmctx | 4096-ptr_max |
| PARAM_VALUE | 1 | pmctx->ip4_rlist.next->pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | pmctx->ip4_rlist.pprev | 1-u64max |
| PARAM_VALUE | 1 | pmctx->multicast_router | 2 |
| PARAM_VALUE | 1 | pmctx->vlan | 0,4096-ptr_max |
| PARAM_VALUE | 2 | rlist | 4096-ptr_max |
| PARAM_VALUE | 3 | mc_router_list | 4096-ptr_max |
| BUF_SIZE | 0 | brmctx | 1200 |
| DATA_SOURCE | 0 | brmctx | $0 |
| DATA_SOURCE | 1 | pmctx | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &br->multicast_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &brmctx->br->multicast_lock | |
| TYPE_LOCK | (struct net_bridge)->multicast_lock |
net/bridge/br_multicast.c br_multicast_mark_router() -> br_multicast_add_router()
| 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->multicast_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | pmctx | 4096-ptr_max |
| PARAM_VALUE | 1 | pmctx->multicast_router | 1,3-255 |
| PARAM_VALUE | 1 | pmctx->port->state | 1-255 |
| PARAM_VALUE | 1 | pmctx->vlan | 0,4096-ptr_max |
| PARAM_VALUE | 1 | pmctx->vlan->state | 1-255 |
| PARAM_VALUE | 2 | rlist | 0,4096-ptr_max |
| PARAM_VALUE | 3 | mc_router_list | 4096-ptr_max |
| BUF_SIZE | 0 | brmctx | (-1),1024,1200 |
| BUF_SIZE | 0 | brmctx | (-1),1024,1200 |
| BUF_SIZE | 1 | pmctx | (-1)-0,432 |
| BUF_SIZE | 1 | pmctx | (-1)-0,432 |
| BUF_SIZE | 2 | rlist | 0,16 |
| BUF_SIZE | 2 | rlist | 0,16 |
| DATA_SOURCE | 0 | brmctx | $0 |
| DATA_SOURCE | 1 | pmctx | $1 |
| DATA_SOURCE | 2 | rlist | $3 |
| DATA_SOURCE | 3 | mc_router_list | $4 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &brmctx->br->multicast_lock | |
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct net_bridge)->multicast_lock |