Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/hsr/prp_dup_discard_test.c check_prp_frame_unseen() -> hsr_get_seq_block()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->block_buf 0,16,4096-ptr_max
PARAM_VALUE 0 node->seq_blocks.xa_flags 0
PARAM_VALUE 0 node->seq_port_cnt 1
PARAM_VALUE 1 block_idx 0
NO_OVERFLOW_SIMPLE 0 node->seq_port_cnt

net/hsr/prp_dup_discard_test.c prp_dup_discard_entry_timeout() -> hsr_get_seq_block()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->block_buf 0,16,4096-ptr_max
PARAM_VALUE 0 node->seq_blocks.xa_flags 0
PARAM_VALUE 0 node->seq_port_cnt 1
PARAM_VALUE 1 block_idx 0
NO_OVERFLOW_SIMPLE 0 node->seq_port_cnt

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

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->seq_out_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 node->seq_port_cnt 1-u32max
PARAM_VALUE 1 block_idx 0-511
CAPPED_DATA 0 node->seq_port_cnt 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh
LOCK2 0 &node->seq_out_lock
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct hsr_node)->seq_out_lock

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

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
BUF_SIZE 0 node (-1),272
BUF_SIZE 0 node (-1),272
CAPPED_DATA 0 node 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 node->seq_port_cnt
LOCK2 &node_curr->seq_out_lock
LOCK2 bh
LOCK2 rcu_read
LOCK2 0 &node->seq_out_lock
HALF_LOCKED2 &hsr->seqnr_lock
TYPE_LOCK (struct hsr_node)->seq_out_lock