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 __br_multicast_enable_port_ctx() -> br_ip4_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->ip4_own_query.startup_sent 0
PARAM_VALUE 1 pmctx->ip4_own_query.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 1 pmctx->ip4_own_query.timer.entry.pprev 0,4096-ptr_max
PARAM_VALUE 1 pmctx->ip6_own_query.startup_sent 0
PARAM_VALUE 1 pmctx->ip6_own_query.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 1 pmctx->ip6_own_query.timer.entry.pprev 0,4096-ptr_max
PARAM_VALUE 1 pmctx->multicast_router 2
PARAM_VALUE 1 pmctx->port 4096-ptr_max
PARAM_VALUE 1 pmctx->port->br 4096-ptr_max
PARAM_VALUE 1 pmctx->port->br->dev 4096-ptr_max
PARAM_VALUE 1 pmctx->vlan 0,4096-ptr_max
BUF_SIZE 0 brmctx 1200
BUF_SIZE 1 pmctx (-1),608
BUF_SIZE 1 pmctx (-1),608
DATA_SOURCE 0 brmctx r br_multicast_port_ctx_get_global
DATA_SOURCE 1 pmctx $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &br->multicast_lock
LOCK2 bh
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct net_bridge)->multicast_lock

net/bridge/br_multicast.c br_multicast_set_port_router() -> br_ip4_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->multicast_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 pmctx 4096-ptr_max
PARAM_VALUE 1 pmctx->ip4_mc_router_timer.entry.pprev 0
PARAM_VALUE 1 pmctx->ip4_mc_router_timer.flags 0-4194302
PARAM_VALUE 1 pmctx->ip4_mc_router_timer.function 0
PARAM_VALUE 1 pmctx->multicast_router 2
PARAM_VALUE 1 pmctx->vlan 0,4096-ptr_max
BUF_SIZE 0 brmctx 1200
DATA_SOURCE 0 brmctx r br_multicast_port_ctx_get_global
DATA_SOURCE 1 pmctx $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &brmctx->br->multicast_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct net_bridge)->multicast_lock