Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/hsr/hsr_forward.c fill_frame_info() -> hsr_is_node_in_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node_db | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-u32max |
| BUF_SIZE | 1 | addr | 6 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &hsr->seqnr_lock | ||
| HALF_LOCKED2 | bh |
net/hsr/hsr_forward.c fill_frame_info() -> hsr_is_node_in_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node_db | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-u32max |
| BUF_SIZE | 1 | addr | 6 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &hsr->seqnr_lock | ||
| HALF_LOCKED2 | bh |
net/hsr/hsr_forward.c hsr_drop_frame() -> hsr_is_node_in_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node_db | 4096-ptr_max |
| BUF_SIZE | 1 | addr | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &hsr->seqnr_lock | ||
| HALF_LOCKED2 | bh |
net/hsr/hsr_forward.c hsr_drop_frame() -> hsr_is_node_in_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node_db | 4096-ptr_max |
| BUF_SIZE | 1 | addr | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &hsr->seqnr_lock | ||
| HALF_LOCKED2 | bh |
net/hsr/hsr_forward.c hsr_drop_frame() -> hsr_is_node_in_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node_db | 4096-ptr_max |
| BUF_SIZE | 1 | addr | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &hsr->seqnr_lock | ||
| HALF_LOCKED2 | bh |
net/hsr/hsr_forward.c is_proxy_supervision_frame() -> hsr_is_node_in_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node_db | 4096-ptr_max |
| BUF_SIZE | 1 | addr | 6 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &hsr->seqnr_lock | ||
| HALF_LOCKED2 | bh |
net/hsr/hsr_device.c send_hsr_supervision_frame() -> hsr_is_node_in_db()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node_db | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| DATA_SOURCE | 1 | addr | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &hsr->seqnr_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct hsr_priv)->seqnr_lock |