Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/bridge/br_fdb.c br_fdb_external_learn_add() -> fdb_create()

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 source 0,4096-ptr_max
PARAM_VALUE 4 flags 16,24-25,272
BUF_SIZE 2 addr (-1),6,24,32,40,48,56,64,72,80,88,136,144,152,184,480,1040,1128
BUF_SIZE 2 addr (-1),6,24,32,40,48,56,64,72,80,88,136,144,152,184,480,1040,1128
CAPPED_DATA 1 source 1
DATA_SOURCE 0 br $0
DATA_SOURCE 1 source $1
DATA_SOURCE 2 addr $2
DATA_SOURCE 3 vid $3
FUZZY_MAX 4 flags 16
BIT_INFO 4 flags 0x10,0x119
BIT_INFO 4 flags 0x10,0x119
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *addr 0-255
UNITS 3 vid unit_array_size
USER_PTR 2 addr
LOCK2 bh
LOCK2 0 &br->hash_lock
TYPE_LOCK (struct net_bridge)->hash_lock

net/bridge/br_fdb.c br_fdb_update() -> fdb_create()

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 source 4096-ptr_max
PARAM_VALUE 1 source->state 1-255
PARAM_VALUE 4 flags 0,8,256
BUF_SIZE 1 source s32min-(-1),1-s32max
BUF_SIZE 1 source s32min-(-1),1-s32max
BUF_SIZE 2 addr (-1),6
BUF_SIZE 2 addr (-1),6
CAPPED_DATA 1 source 1
DATA_SOURCE 0 br $0
DATA_SOURCE 1 source $1
DATA_SOURCE 2 addr $2
DATA_SOURCE 3 vid $3
DATA_SOURCE 4 flags $4
HARD_MAX 4 flags 256
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *addr 0-255
USER_PTR 2 addr
LOCK2 0 &br->hash_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct net_bridge)->hash_lock

net/bridge/br_fdb.c fdb_add_entry() -> fdb_create()

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 source 0,4096-ptr_max
PARAM_VALUE 1 source->state 2-3
PARAM_VALUE 2 addr 4096-ptr_max
PARAM_VALUE 4 flags 8
CAPPED_DATA 1 source 1
DATA_SOURCE 0 br $0
DATA_SOURCE 1 source $1
DATA_SOURCE 2 addr $2
DATA_SOURCE 3 vid $5
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *addr 0-255
USER_PTR 2 addr
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_add_local() -> fdb_create()

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 source 0,4096-ptr_max
PARAM_VALUE 2 addr 4096-ptr_max
PARAM_VALUE 4 flags 3
BUF_SIZE 1 source (-1),1216
BUF_SIZE 1 source (-1),1216
BUF_SIZE 2 addr (-1),6,14,32
BUF_SIZE 2 addr (-1),6,14,32
CAPPED_DATA 1 source 1
DATA_SOURCE 0 br $0
DATA_SOURCE 1 source $1
DATA_SOURCE 2 addr $2
DATA_SOURCE 3 vid $3
NOSPEC 1 source->dev->ifindex
NOSPEC 3 vid
NOSPEC 3 vid
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 br->dev->flags 0-526337[c]
USER_DATA 0 br->dev->ifindex 0-s32max[c]
USER_DATA 1 source->designated_port 0-65534[c]
USER_DATA 1 source->dev->flags 0-527362[c]
USER_DATA 1 source->dev->ifindex 0-s32max[c]
USER_DATA 2 *addr 0-255
USER_DATA 3 vid 1-4094
NO_OVERFLOW_SIMPLE 0 br->vlan_proto
NO_OVERFLOW_SIMPLE 1 source->dev->group
NO_OVERFLOW_SIMPLE 1 source->dev->num_napi_configs
NO_OVERFLOW_SIMPLE 1 source->dev->num_rx_queues
NO_OVERFLOW_SIMPLE 1 source->dev->num_tx_queues
NO_OVERFLOW_SIMPLE 1 source->dev->real_num_rx_queues
NO_OVERFLOW_SIMPLE 1 source->dev->real_num_tx_queues
USER_PTR 2 addr
LOCK2 bh
LOCK2 0 &br->hash_lock
HALF_LOCKED2 &br->lock
HALF_LOCKED2 0 &br->lock
TYPE_LOCK (struct net_bridge)->hash_lock