Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

net/bridge/br_if.c br_port_carrier_check() -> br_stp_disable_port()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->br 4096-ptr_max
PARAM_VALUE 0 p->br->dev 4096-ptr_max
PARAM_VALUE 0 p->br->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p->dev 4096-ptr_max
PARAM_VALUE 0 p->state 1-255
DATA_SOURCE 0 p $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &br->lock
LOCK2 bh
TYPE_LOCK (struct net_bridge)->lock

net/bridge/br_if.c del_nbp() -> br_stp_disable_port()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->br 4096-ptr_max
PARAM_VALUE 0 p->br->ifobj 0,4096-ptr_max
PARAM_VALUE 0 p->br->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p->dev 4096-ptr_max
PARAM_VALUE 0 p->dev->addr_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p->dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 p->dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 p->dev->priv->fbd->fw_cap.need_bmc_macda_sync 1
PARAM_VALUE 0 p->dev->priv->fbd->tce_tcam_last 0-255
PARAM_VALUE 0 p->dev->priv->fs->l2.allmulti.rule->num_rules s32min-(-1),1-s32max
PARAM_VALUE 0 p->dev->priv->fs->l2.allmulti_enabled 0-1
PARAM_VALUE 0 p->dev->priv->fs->l2.broadcast.rule->num_rules s32min-(-1),1-s32max
PARAM_VALUE 0 p->dev->priv->fs->l2.broadcast_enabled 0-1
PARAM_VALUE 0 p->dev->priv->fs->l2.ft.t->node.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 p->dev->priv->fs->l2.ft.t->node.lock.first_waiter->list.next 2212933610777083904,2624917664208203776
PARAM_VALUE 0 p->dev->priv->fs->l2.ft.t->node.lock.first_waiter->type 0-1
PARAM_VALUE 0 p->dev->priv->fs->l2.promisc_enabled 0-1
PARAM_VALUE 0 p->dev->priv->fs->promisc.ft.t->autogroup.active 1
PARAM_VALUE 0 p->dev->priv->fs->promisc.ft.t->autogroup.num_groups 0-4294967295
PARAM_VALUE 0 p->dev->priv->fs->promisc.ft.t->fgs_hash.ht.nelems.counter s32min-s32max
PARAM_VALUE 0 p->dev->priv->fs->promisc.ft.t->fgs_hash.ht.run_irq_work.node.a_flags.counter s32min-s32max
PARAM_VALUE 0 p->dev->priv->fs->promisc.ft.t->fgs_hash.ht.tbl->hash_rnd 0-4294967295
PARAM_VALUE 0 p->dev->priv->fs->promisc.ft.t->fgs_hash.ht.tbl->nest 0-4294967295
PARAM_VALUE 0 p->dev->priv->fs->promisc.ft.t->fgs_hash.ht.tbl->size 0-4294967295
PARAM_VALUE 0 p->dev->priv->fs->promisc.ft.t->node.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 p->dev->priv->fs->promisc.ft.t->node.lock.first_waiter->list.next 2212933610777083904,2624917664208203776
PARAM_VALUE 0 p->dev->priv->fs->promisc.ft.t->node.lock.first_waiter->type 0-1
PARAM_VALUE 0 p->dev->priv->fs->promisc.ft.t->node.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 p->dev->priv->fs->promisc.ft.t->node.version.counter s32min-s32max
PARAM_VALUE 0 p->dev->refcnt_tracker.quarantine.prev 4096-ptr_max
PARAM_VALUE 0 p->dev->refcnt_tracker.quarantine.prev->next 4096-ptr_max
PARAM_VALUE 0 p->dev->refcnt_tracker.quarantine.prev->next->next 4096-ptr_max
PARAM_VALUE 0 p->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 0 p->dev->rx_mode_addr_cache.list.next 4096-ptr_max
PARAM_VALUE 0 p->dev->rx_mode_addr_cache.list.next->prev 4096-ptr_max
PARAM_VALUE 0 p->dev->rx_mode_retry_timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 p->dev->uc.tree.rb_node 4096-ptr_max
PARAM_VALUE 0 p->dev->work_node.next->next 4096-ptr_max
PARAM_VALUE 0 p->dev->work_node.next->prev 4096-ptr_max
PARAM_VALUE 0 p->dev->work_node.prev->next 4096-ptr_max
PARAM_VALUE 0 p->dev->work_node.prev->prev 4096-ptr_max
PARAM_VALUE 0 p->dev->work_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 p->dev->work_tracker->dead 0-1
PARAM_VALUE 0 p->dev->work_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 *p->dev->name 0-255
PARAM_VALUE 0 *p->dev->priv->fs->promisc.ft->t->lock.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *p->dev->priv->fs->promisc.ft.t->lock.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *p->dev->priv->fs->promisc.rule->num_rules s32min-(-1),1-s32max
DATA_SOURCE 0 p $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &br->lock
LOCK2 bh
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct net_bridge)->lock

net/bridge/br_stp_bpdu.c br_stp_rcv() -> br_stp_disable_port()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->br 4096-ptr_max
PARAM_VALUE 0 p->br->dev 4096-ptr_max
PARAM_VALUE 0 p->br->dev->flags 1-u32max
PARAM_VALUE 0 p->br->group_addr 4096-ptr_max
PARAM_VALUE 0 p->br->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p->br->stp_enabled 1
PARAM_VALUE 0 p->dev 4096-ptr_max
PARAM_VALUE 0 p->port_no 0-u16max
PARAM_VALUE 0 p->state 1-255
DATA_SOURCE 0 p r br_port_get_check_rcu
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &br->lock
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct net_bridge)->lock

net/bridge/br_stp_if.c br_stp_disable_bridge() -> br_stp_disable_port()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->state 1-255
CAPPED_DATA 0 &p->list 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &br->lock
LOCK2 bh
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct net_bridge)->lock

net/bridge/br.c br_device_event() -> br_stp_disable_port()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->br 4096-ptr_max
PARAM_VALUE 0 p->br->dev 4096-ptr_max
PARAM_VALUE 0 p->br->dev->flags 1-u32max
PARAM_VALUE 0 p->br->lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 p r br_port_get_rtnl
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &br->lock
LOCK2 bh
TYPE_LOCK (struct net_bridge)->lock