Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/bridge/br_if.c nbp_backup_clear() -> nbp_backup_change()

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->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 p->br->dev->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 p->br->fdb_hash_tbl.tbl->dep_map->name 0-255
PARAM_VALUE 0 p->br->hash_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p->br->hello_timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 p->br->hello_timer.entry.pprev 0,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->br->tcn_timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 p->br->tcn_timer.entry.pprev 0
PARAM_VALUE 0 p->br->tcn_timer.flags 0-4194302
PARAM_VALUE 0 p->br->tcn_timer.function 0
PARAM_VALUE 0 p->br->topology_change 1
PARAM_VALUE 0 p->br->topology_change_detected 1
PARAM_VALUE 0 p->br->topology_change_timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 p->config_pending 0
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->ethtool_ops->nway_reset 0,60027,78052835941326848,170150578885685248,516213107272413184
PARAM_VALUE 0 p->dev->ethtool_ops->rxfh_max_num_contexts 0,2,8,16,33
PARAM_VALUE 0 p->dev->ethtool_ops->rxfh_priv_size 0,8,176
PARAM_VALUE 0 p->dev->ethtool_ops->supported_coalesce_params 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563
PARAM_VALUE 0 p->dev->ethtool_ops->supported_input_xfrm 0-2
PARAM_VALUE 0 p->dev->ethtool_ops->supported_ring_params 0,3,5,12,20,32-33,96
PARAM_VALUE 0 p->dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 p->dev->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 p->dev->mctp_ptr->net 0-4294967295
PARAM_VALUE 0 p->dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 p->dev->priv->align 64-s32max
PARAM_VALUE 0 p->dev->priv->current_netdev_promisc_flags_lock.rlock.dep_map->name 0-255
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.broadcast.rule->num_rules s32min-(-1),1-s32max
PARAM_VALUE 0 p->dev->priv->fs->promisc.ft.t->autogroup.active 1
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->priv->hwrm_cmd_kong_seq 0-u16max
PARAM_VALUE 0 p->dev->priv->hwrm_cmd_seq 0-u16max
PARAM_VALUE 0 p->dev->priv->mac_vlan_list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p->dev->priv->ntp_fltr_count s32min-s32max
PARAM_VALUE 0 p->dev->priv->requested_headroom 0-s32max
PARAM_VALUE 0 p->dev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 p->dev->refcnt_tracker.list.next->prev 4096-ptr_max
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,48,56,88,112,120,144,160,224,240,256,296,616,624,728,744
PARAM_VALUE 0 p->dev->rx_mode_addr_cache.list.next 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->forward_delay_timer.entry.pprev 0
PARAM_VALUE 0 p->forward_delay_timer.flags 0-4194302
PARAM_VALUE 0 p->forward_delay_timer.function 0
PARAM_VALUE 0 p->hold_timer.entry.pprev 0
PARAM_VALUE 0 p->hold_timer.flags 0-4194302
PARAM_VALUE 0 p->hold_timer.function 0
PARAM_VALUE 0 p->list.next->prev 4096-ptr_max
PARAM_VALUE 0 p->message_age_timer.entry.pprev 0
PARAM_VALUE 0 p->message_age_timer.flags 0-4194302
PARAM_VALUE 0 p->message_age_timer.function 0
PARAM_VALUE 0 p->multicast_ctx.ip4_rlist->next->pprev 1-u64max
PARAM_VALUE 0 p->multicast_ctx.ip4_rlist.next->pprev 1-u64max
PARAM_VALUE 0 p->multicast_ctx.ip4_rlist.pprev 0
PARAM_VALUE 0 p->multicast_ctx.ip6_rlist->next->pprev 1-u64max
PARAM_VALUE 0 p->multicast_ctx.ip6_rlist.next->pprev 1-u64max
PARAM_VALUE 0 p->multicast_ctx.ip6_rlist.pprev 0
PARAM_VALUE 0 p->multicast_ctx.multicast_router 0-2,4-255
PARAM_VALUE 0 p->multicast_ctx.port->br->multicast_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 p->multicast_ctx.port->dev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 p->multicast_ctx.port->dev->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 p->state 0
PARAM_VALUE 0 p->topology_change_ack 0
PARAM_VALUE 0 p->vlgrp 0
PARAM_VALUE 0 *p->dev->name 0-255
PARAM_VALUE 1 backup_dev 0
CAPPED_DATA 0 p 1
DATA_SOURCE 0 p $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

net/bridge/br_if.c nbp_backup_clear() -> nbp_backup_change()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->backup_port 4096-ptr_max
PARAM_VALUE 1 backup_dev 0
CAPPED_DATA 0 &p->list 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

net/bridge/br_sysfs_if.c store_backup_port() -> nbp_backup_change()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->dev 4096-ptr_max
CAPPED_DATA 0 p->dev->nd_net.net 1
DATA_SOURCE 0 p $0
NS_CAPABLE 0 12
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/bridge/br_netlink.c br_setport() -> nbp_backup_change()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 1 backup_dev 0,4096-ptr_max
DATA_SOURCE 0 p $0
RX_PATH
TASK_NOT_RUNNING
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