Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/bridge/br_stp_timer.c br_hello_timer_expired() -> br_config_bpdu_generation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | br | 4096-ptr_max |
| PARAM_VALUE | 0 | br->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | br->dev->flags | 1-u32max |
| PARAM_VALUE | 0 | br->lock.rlock.dep_map->name | 0-255 |
| BIT_INFO | 0 | br->dev->flags | 0x1,0xffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &br->lock | |
| TYPE_LOCK | (struct net_bridge)->lock |
net/bridge/br_stp_if.c br_stp_enable_bridge() -> br_config_bpdu_generation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | br | 4096-ptr_max |
| PARAM_VALUE | 0 | br->gc_work.cpu | 0-s32max |
| PARAM_VALUE | 0 | br->gc_work.timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | br->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | br | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &br->lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net_bridge)->lock |
net/bridge/br_stp.c br_become_root_bridge() -> br_config_bpdu_generation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | br | 4096-ptr_max |
| PARAM_VALUE | 0 | br->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | br->dev->flags | 1-u32max |
| PARAM_VALUE | 0 | br->tcn_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | br->tcn_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | br->tcn_timer.function | 0 |
| PARAM_VALUE | 0 | *br->dev->name | 0-255 |
| DATA_SOURCE | 0 | br | $0 |
| BIT_INFO | 0 | br->dev->flags | 0x1,0xffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | br->dev->flags | 1-526337[c] |
| USER_DATA | 0 | br->dev->ifindex | 0-s32max[c] |
| USER_PTR | 0 | br->bridge_id.addr | |
| HALF_LOCKED2 | &br->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &br->lock | |
| TYPE_LOCK | (struct net_bridge)->lock |
net/bridge/br_stp.c br_received_config_bpdu() -> br_config_bpdu_generation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | br | 4096-ptr_max |
| PARAM_VALUE | 0 | br->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | br->dev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | br->dev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | br->forward_delay | 0-64000 |
| PARAM_VALUE | 0 | br->hello_time | 0-64000 |
| PARAM_VALUE | 0 | br->max_age | 0-64000 |
| PARAM_VALUE | 0 | br->stp_enabled | 1 |
| PARAM_VALUE | 0 | br->topology_change | 0-1 |
| CAPPED_DATA | 0 | br->root_port | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &br->lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct net_bridge)->lock |