Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/bridge/br_fdb.c br_fdb_change_mac_address() -> fdb_delete_local()

Type Parameter Key Value
PARAM_VALUE 0 br 4096-ptr_max
PARAM_VALUE 0 br->dev 4096-ptr_max
PARAM_VALUE 0 br->fdb_hash_tbl.p.hashfn 4096-ptr_max
PARAM_VALUE 0 br->hash_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 p 0
PARAM_VALUE 2 f 4096-ptr_max
PARAM_VALUE 2 f->dst 0
DATA_SOURCE 0 br $0
DATA_SOURCE 2 f r br_fdb_find
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 br->dev->flags 0-526337[c]
USER_DATA 0 br->dev->ifindex 0-s32max[c]
LOCK2 bh
LOCK2 0 &br->hash_lock
HALF_LOCKED2 0 &br->lock
TYPE_LOCK (struct net_bridge)->hash_lock

net/bridge/br_fdb.c br_fdb_change_mac_address() -> fdb_delete_local()

Type Parameter Key Value
PARAM_VALUE 0 br 4096-ptr_max
PARAM_VALUE 0 br->dev 4096-ptr_max
PARAM_VALUE 0 br->fdb_hash_tbl.p.hashfn 4096-ptr_max
PARAM_VALUE 0 br->hash_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 br->vlgrp 4096-ptr_max
PARAM_VALUE 0 br->vlgrp->num_vlans 1-u16max
PARAM_VALUE 1 p 0
PARAM_VALUE 2 f 4096-ptr_max
PARAM_VALUE 2 f->dst 0
CAPPED_DATA 0 br->vlgrp 1
DATA_SOURCE 0 br $0
DATA_SOURCE 2 f r br_fdb_find
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 br->dev->flags 0-526337[c]
USER_DATA 0 br->dev->ifindex 0-s32max[c]
LOCK2 bh
LOCK2 0 &br->hash_lock
HALF_LOCKED2 0 &br->lock
TYPE_LOCK (struct net_bridge)->hash_lock

net/bridge/br_fdb.c br_fdb_changeaddr() -> fdb_delete_local()

Type Parameter Key Value
PARAM_VALUE 0 br 4096-ptr_max
PARAM_VALUE 0 br->hash_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 p 4096-ptr_max
PARAM_VALUE 1 p->br 4096-ptr_max
PARAM_VALUE 1 p->br->hash_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 p->br->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 f 4096-ptr_max
PARAM_VALUE 2 f->dst 4096-ptr_max
CAPPED_DATA 1 p 1
CAPPED_DATA 1 p->vlgrp 1
DATA_SOURCE 1 p $0
PARAM_COMPARE 1 p == $2->dst
PARAM_COMPARE 2 f->dst == $1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &br->lock
LOCK2 bh
LOCK2 0 &br->hash_lock
TYPE_LOCK (struct net_bridge)->hash_lock
TYPE_LOCK (struct net_bridge)->lock

net/bridge/br_fdb.c br_fdb_delete_by_port() -> fdb_delete_local()

Type Parameter Key Value
PARAM_VALUE 0 br 4096-ptr_max
PARAM_VALUE 0 br->hash_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 p 0,4096-ptr_max
PARAM_VALUE 1 p->dev->rtnl_link_ops->priv_size 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max
PARAM_VALUE 1 *p->dev->name 0-255
PARAM_VALUE 2 f 4096-ptr_max
PARAM_VALUE 2 f->dst 0,4096-ptr_max
BUF_SIZE 1 p (-1),1392
BUF_SIZE 1 p (-1),1392
CAPPED_DATA 1 p 1
DATA_SOURCE 0 br $0
DATA_SOURCE 1 p $1
PARAM_COMPARE 1 p == $2->dst
PARAM_COMPARE 2 f->dst == $1
NOSPEC 1 p->dev->ifindex
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 br->dev->flags 0-526337[c]
USER_DATA 0 br->dev->ifindex 0-s32max[c]
USER_DATA 1 p->dev->flags 0-525313[c]
USER_DATA 1 p->dev->ifindex 0-s32max[c]
NO_OVERFLOW_SIMPLE 0 br->vlan_proto
NO_OVERFLOW_SIMPLE 1 p->dev->group
NO_OVERFLOW_SIMPLE 1 p->dev->num_tc
LOCK2 bh
LOCK2 0 &br->hash_lock
HALF_LOCKED2 &br->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct net_bridge)->hash_lock

net/bridge/br_fdb.c br_fdb_find_delete_local() -> fdb_delete_local()

Type Parameter Key Value
PARAM_VALUE 0 br 4096-ptr_max
PARAM_VALUE 0 br->fdb_hash_tbl.p.hashfn 4096-ptr_max
PARAM_VALUE 0 br->hash_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 p 0,4096-ptr_max
PARAM_VALUE 2 f 4096-ptr_max
PARAM_VALUE 2 f->dst 0,4096-ptr_max
CAPPED_DATA 1 p 1
CAPPED_DATA 2 f->dst 1
DATA_SOURCE 0 br $0
DATA_SOURCE 1 p $1
DATA_SOURCE 2 f r br_fdb_find
PARAM_COMPARE 1 p == $2->dst
PARAM_COMPARE 2 f->dst == $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 br->default_pvid
NO_OVERFLOW_SIMPLE 0 br->multicast_ctx.multicast_igmp_version
NO_OVERFLOW_SIMPLE 0 br->multicast_ctx.multicast_mld_version
NO_OVERFLOW_SIMPLE 0 br->multicast_ctx.multicast_querier
NO_OVERFLOW_SIMPLE 0 br->multicast_ctx.multicast_router
NO_OVERFLOW_SIMPLE 0 br->vlan_proto
LOCK2 bh
LOCK2 0 &br->hash_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct net_bridge)->hash_lock