Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- net/batman-adv/gateway_client.c
- net/batman-adv/originator.c, line 357
- net/batman-adv/send.c, line 179
Smatch caller information:
net/batman-adv/send.c batadv_send_skb_to_orig() -> batadv_find_router()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | orig_node | 4096-ptr_max |
| PARAM_VALUE | 2 | recv_if | 0,4096-ptr_max |
| PARAM_VALUE | 2 | recv_if->if_status | 2 |
| PARAM_VALUE | 2 | recv_if->mesh_iface->priv->mesh_state | 1 |
| PARAM_VALUE | 2 | recv_if->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| DATA_SOURCE | 1 | orig_node | $1 |
| DATA_SOURCE | 2 | recv_if | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/batman-adv/gateway_client.c batadv_gw_out_of_range() -> batadv_find_router()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->bla.backbone_hash->generation.counter | s32min-s32max |
| PARAM_VALUE | 0 | bat_priv->bla.claim_hash->generation.counter | s32min-s32max |
| PARAM_VALUE | 0 | bat_priv->bla.num_requests_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->gw.curr_gw | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->gw.curr_gw->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | bat_priv->gw.mode | 1-u32max |
| PARAM_VALUE | 0 | bat_priv->mesh_state | 1 |
| PARAM_VALUE | 0 | bat_priv->primary_if | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->tt.global_hash | 4096-ptr_max |
| PARAM_VALUE | 2 | recv_if | 0 |
| DATA_SOURCE | 0 | bat_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mesh_iface->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
net/batman-adv/gateway_client.c batadv_gw_out_of_range() -> batadv_find_router()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->algo_ops->gw.sel_class_max | 255,u32max |
| PARAM_VALUE | 0 | bat_priv->algo_ops->name | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->bla.backbone_hash->generation.counter | s32min-s32max |
| PARAM_VALUE | 0 | bat_priv->bla.claim_hash->generation.counter | s32min-s32max |
| PARAM_VALUE | 0 | bat_priv->bla.num_requests_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->gw.curr_gw | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->gw.curr_gw->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | bat_priv->gw.mode | 1-u32max |
| PARAM_VALUE | 0 | bat_priv->mesh_state | 1 |
| PARAM_VALUE | 0 | bat_priv->primary_if | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->tt.global_hash | 4096-ptr_max |
| PARAM_VALUE | 1 | orig_node | 4096-ptr_max |
| PARAM_VALUE | 1 | orig_node->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 2 | recv_if | 0 |
| CAPPED_DATA | 1 | orig_node | 1 |
| DATA_SOURCE | 0 | bat_priv | $0 |
| DATA_SOURCE | 1 | orig_node | r batadv_transtable_search |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mesh_iface->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
net/batman-adv/originator.c batadv_orig_to_router() -> batadv_find_router()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->orig_hash | 4096-ptr_max |
| PARAM_VALUE | 1 | orig_node | 4096-ptr_max |
| PARAM_VALUE | 1 | orig_node->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 2 | recv_if | 0,4096-ptr_max |
| PARAM_VALUE | 2 | recv_if->if_status | 2 |
| PARAM_VALUE | 2 | recv_if->mesh_iface->priv->mesh_state | 1 |
| PARAM_VALUE | 2 | recv_if->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| DATA_SOURCE | 0 | bat_priv | $0 |
| DATA_SOURCE | 1 | orig_node | r batadv_orig_hash_find |
| DATA_SOURCE | 2 | recv_if | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |