Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/tipc/monitor.c mon_update_neighbors() -> peer_prev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| BUF_SIZE | 0 | peer | (-1),56 |
| BUF_SIZE | 0 | peer | (-1),56 |
| DATA_SOURCE | 0 | peer | $1 [m] |
| NOSPEC | 0 | peer->addr | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | peer->addr | 1-u32max[c] |
| LOCK2 | &mon->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct tipc_monitor)->lock |
net/tipc/monitor.c peer_head() -> peer_prev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| DATA_SOURCE | 0 | peer | $0 [m] |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mon->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct tipc_monitor)->lock |
net/tipc/monitor.c tipc_mon_remove_peer() -> peer_prev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| CAPPED_DATA | 0 | peer->addr | 1 |
| DATA_SOURCE | 0 | peer | r get_peer |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mon->lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct tipc_monitor)->lock |