Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/hsr/prp_dup_discard_test.c build_prp_test_data() -> hsr_seq_block_size()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->seq_port_cnt 1
MEM_ZERO 0 node

net/hsr/hsr_framereg.c fill_last_seq_nrs() -> hsr_seq_block_size()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->macaddress_A 4096-ptr_max
PARAM_VALUE 0 node->macaddress_B 4096-ptr_max
PARAM_VALUE 0 node->seq_out_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 node->time_in 4096-ptr_max
PARAM_VALUE 0 node->time_in_stale 4096-ptr_max
DATA_SOURCE 0 node $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh
LOCK2 rcu_read
LOCK2 0 &node->seq_out_lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->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 &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
TYPE_LOCK (struct hsr_node)->seq_out_lock

net/hsr/hsr_framereg.c hsr_add_node() -> hsr_seq_block_size()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->macaddress_A 4096-ptr_max
PARAM_VALUE 0 node->seq_port_cnt 1-2,4
BUF_SIZE 0 node 272
DATA_SOURCE 0 node r _kzalloc_noprof
FUZZY_MAX 0 node->seq_port_cnt 4
HARD_MAX 0 node->seq_port_cnt 4
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &hsr->seqnr_lock
HALF_LOCKED2 bh

net/hsr/hsr_framereg.c hsr_get_seq_block() -> hsr_seq_block_size()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
BUF_SIZE 0 node (-1),272
BUF_SIZE 0 node (-1),272
CAPPED_DATA 0 node 1
DATA_SOURCE 0 node $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 node->seq_port_cnt
HALF_LOCKED2 &node_curr->seq_out_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
HALF_LOCKED2 0 &node->seq_out_lock