Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/vxlan/vxlan_core.c __vxlan_fdb_delete() -> vxlan_fdb_destroy()

Type Parameter Key Value
PARAM_VALUE 0 vxlan 4096-ptr_max
PARAM_VALUE 0 vxlan->cfg.flags 8192-u32max
PARAM_VALUE 0 vxlan->fdb_hash_tbl.p.hashfn 4096-ptr_max
PARAM_VALUE 0 vxlan->hash_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 f 1-u64max
PARAM_VALUE 2 do_notify 1
CAPPED_DATA 1 &f->remotes 1
DATA_SOURCE 0 vxlan $0
DATA_SOURCE 1 f r vxlan_find_mac
DATA_SOURCE 3 swdev_notify $7
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &vxlan->hash_lock
HALF_LOCKED2 &vxlan->hash_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct vxlan_dev)->hash_lock

drivers/net/vxlan/vxlan_core.c vxlan_cleanup() -> vxlan_fdb_destroy()

Type Parameter Key Value
PARAM_VALUE 0 vxlan 4096-ptr_max
PARAM_VALUE 0 vxlan->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 1 f->state 4
PARAM_VALUE 2 do_notify 1
PARAM_VALUE 3 swdev_notify 1
BIT_INFO 1 f->flags 0x0,0xffef
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 rcu_read
LOCK2 0 &vxlan->hash_lock
TYPE_LOCK (struct vxlan_dev)->hash_lock

drivers/net/vxlan/vxlan_core.c vxlan_fdb_nh_flush() -> vxlan_fdb_destroy()

Type Parameter Key Value
PARAM_VALUE 0 vxlan 4096-ptr_max
PARAM_VALUE 0 vxlan->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 1 f->vdev 4096-ptr_max
PARAM_VALUE 1 f->vdev->hash_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 do_notify 0
PARAM_VALUE 3 swdev_notify 0
PARAM_COMPARE 0 vxlan == $1->vdev
PARAM_COMPARE 1 f->vdev == $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 bh
LOCK2 rcu_read
LOCK2 0 &vxlan->hash_lock
TYPE_LOCK (struct vxlan_dev)->hash_lock

drivers/net/vxlan/vxlan_core.c vxlan_fdb_update_create() -> vxlan_fdb_destroy()

Type Parameter Key Value
PARAM_VALUE 0 vxlan 4096-ptr_max
PARAM_VALUE 0 vxlan->cfg.flags 8192-u32max
PARAM_VALUE 0 vxlan->fdb_hash_tbl.p.hashfn 4096-ptr_max
PARAM_VALUE 0 vxlan->fdb_hash_tbl.p.obj_hashfn 0
PARAM_VALUE 0 vxlan->fdb_list->first->pprev 1-u64max
PARAM_VALUE 0 vxlan->fdb_list.first 4096-ptr_max
PARAM_VALUE 0 vxlan->fdb_list.first->pprev 4096-ptr_max
PARAM_VALUE 0 vxlan->hash_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *vxlan->dev->name 0-255
PARAM_VALUE 1 f 4096-ptr_max
PARAM_VALUE 1 f->flags 0,2-510
PARAM_VALUE 1 f->state 2-u16max
PARAM_VALUE 1 f->vdev s64min-(-4096),4096-s64max
PARAM_VALUE 2 do_notify 0
PARAM_VALUE 3 swdev_notify 0
CAPPED_DATA 0 vxlan->fdb_hash_tbl.tbl 1
DATA_SOURCE 0 vxlan $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 f->flags 0,256-510[c]
USER_DATA 1 f->state 2-u16max
LOCK2 0 &vxlan->hash_lock
HALF_LOCKED2 bh
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct vxlan_dev)->hash_lock

drivers/net/vxlan/vxlan_core.c vxlan_flush() -> vxlan_fdb_destroy()

Type Parameter Key Value
PARAM_VALUE 0 vxlan 4096-ptr_max
PARAM_VALUE 0 vxlan->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 do_notify 1
PARAM_VALUE 3 swdev_notify 1
DATA_SOURCE 0 vxlan $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 rcu_read
LOCK2 0 &vxlan->hash_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct vxlan_dev)->hash_lock