Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/bridge/br_fdb.c br_fdb_cleanup() -> fdb_delete()

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 f 4096-ptr_max
PARAM_VALUE 1 f->fdb_node.pprev 1-u64max
PARAM_VALUE 2 swdev_notify 1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 bh
LOCK2 rcu_read
LOCK2 0 &br->hash_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct net_bridge)->hash_lock

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

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 f 4096-ptr_max
PARAM_VALUE 1 f->dst 0,4096-ptr_max
PARAM_VALUE 2 swdev_notify 1
DATA_SOURCE 0 br $0
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]
NO_OVERFLOW_SIMPLE 0 br->vlan_proto
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_external_learn_del() -> fdb_delete()

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 f 4096-ptr_max
PARAM_VALUE 2 swdev_notify 0
DATA_SOURCE 0 br $0
DATA_SOURCE 1 f r br_fdb_find
DATA_SOURCE 2 swdev_notify $4
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &br->hash_lock
TYPE_LOCK (struct net_bridge)->hash_lock

net/bridge/br_fdb.c br_fdb_flush() -> fdb_delete()

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 f 4096-ptr_max
PARAM_VALUE 1 f->dst 0,4096-ptr_max
PARAM_VALUE 1 f->fdb_node.pprev 1-u64max
PARAM_VALUE 2 swdev_notify 1
DATA_SOURCE 0 br $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 br->default_pvid
NO_OVERFLOW_SIMPLE 0 br->vlan_proto
LOCK2 bh
LOCK2 rcu_read
LOCK2 0 &br->hash_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct net_bridge)->hash_lock

net/bridge/br_fdb.c fdb_add_local() -> fdb_delete()

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 f 4096-ptr_max
PARAM_VALUE 2 swdev_notify 1
DATA_SOURCE 0 br $0
DATA_SOURCE 1 f r br_fdb_find
PREEMPT_ADD
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]
NO_OVERFLOW_SIMPLE 0 br->vlan_proto
LOCK2 bh
LOCK2 0 &br->hash_lock
HALF_LOCKED2 &br->lock
HALF_LOCKED2 0 &br->lock
TYPE_LOCK (struct net_bridge)->hash_lock

net/bridge/br_fdb.c fdb_delete_by_addr_and_port() -> fdb_delete()

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 f 1-u64max
PARAM_VALUE 1 f->dst 0,4096-ptr_max
PARAM_VALUE 2 swdev_notify 1
DATA_SOURCE 0 br $0
DATA_SOURCE 1 f r br_fdb_find
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &br->hash_lock
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
TYPE_LOCK (struct net_bridge)->hash_lock

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

Type Parameter Key Value
PARAM_VALUE 0 br 4096-ptr_max
PARAM_VALUE 0 br->dev->dev_addr 4096-ptr_max
PARAM_VALUE 0 br->hash_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 f 4096-ptr_max
PARAM_VALUE 1 f->dst 0,4096-ptr_max
PARAM_VALUE 2 swdev_notify 1
CAPPED_DATA 0 br->vlgrp 1
CAPPED_DATA 0 &br->port_list 1
CAPPED_DATA 1 f->dst 1
DATA_SOURCE 0 br $0
DATA_SOURCE 1 f $2
PREEMPT_ADD
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]
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 &br->lock
HALF_LOCKED2 0 &br->lock
TYPE_LOCK (struct net_bridge)->hash_lock