Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

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 source 0,4096-ptr_max
PARAM_VALUE 2 addr 4096-ptr_max
PARAM_VALUE 3 ndm 4096-ptr_max
PARAM_VALUE 3 ndm->ndm_ifindex s32min-(-1),1-s32max
PARAM_VALUE 3 ndm->ndm_state 2-u16max
PARAM_VALUE 4 flags 1-u16max
PARAM_VALUE 6 nfea_tb 0,1286394272880648192
BUF_SIZE 6 nfea_tb 24
BUF_SIZE 6 nfea_tb 24
CAPPED_DATA 1 source 1
CAPPED_DATA 3 ndm->ndm_ifindex 1
CAPPED_DATA 3 ndm->ndm_state 1
DATA_SOURCE 0 br $1
DATA_SOURCE 1 source $2
DATA_SOURCE 2 addr $3
DATA_SOURCE 3 ndm $0
DATA_SOURCE 4 flags $4
DATA_SOURCE 5 vid $5
DATA_SOURCE 6 nfea_tb $6
BIT_INFO 3 ndm->ndm_flags 0x0,0xee
BIT_INFO 4 flags 0x1,0xffff
NOSPEC 3 ndm->ndm_ifindex
NOSPEC 3 ndm->ndm_state
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 *addr 0-255
USER_DATA 3 ndm->ndm_family 0-255
USER_DATA 3 ndm->ndm_flags 0-255
USER_DATA 3 ndm->ndm_ifindex s32min-(-1),1-s32max[c]
USER_DATA 3 ndm->ndm_pad1 0-255
USER_DATA 3 ndm->ndm_pad2 0-u16max
USER_DATA 3 ndm->ndm_state 2-u16max[c]
USER_DATA 3 ndm->ndm_type 0-255
USER_DATA 4 flags 1-u16max[u]
USER_PTR 2 addr
USER_PTR 3 ndm
LOCK2 bh
LOCK2 0 &br->hash_lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
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