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/bat_iv_ogm.c, line 181
- net/batman-adv/bat_v_elp.c, line 513
- net/batman-adv/bat_v_ogm.c, line 923
Smatch caller information:
net/batman-adv/bat_iv_ogm.c batadv_iv_ogm_neigh_new() -> batadv_neigh_node_get_or_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | orig_node | 4096-ptr_max |
| PARAM_VALUE | 1 | hard_iface | 4096-ptr_max |
| PARAM_VALUE | 1 | hard_iface->if_status | 2 |
| PARAM_VALUE | 1 | hard_iface->mesh_iface->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | hard_iface->mesh_iface->priv->algo_ops->iface.enable | 7150307811096809472 |
| PARAM_VALUE | 1 | hard_iface->mesh_iface->priv->mesh_state | 1 |
| BUF_SIZE | 0 | orig_node | (-1),1656 |
| BUF_SIZE | 0 | orig_node | (-1),1656 |
| BUF_SIZE | 2 | neigh_addr | 6 |
| BUF_SIZE | 2 | neigh_addr | 6 |
| CAPPED_DATA | 0 | orig_node | 1 |
| CAPPED_DATA | 1 | hard_iface | 1 |
| DATA_SOURCE | 0 | orig_node | $2 |
| DATA_SOURCE | 1 | hard_iface | $0 |
| DATA_SOURCE | 2 | neigh_addr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | orig_node->last_ttvn | 0-255[u] |
| USER_DATA | 0 | orig_node->mcast_flags | 1-255 |
| HALF_LOCKED2 | rcu_read |
net/batman-adv/bat_v_elp.c batadv_v_elp_neigh_update() -> batadv_neigh_node_get_or_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | orig_node | 4096-ptr_max |
| PARAM_VALUE | 1 | hard_iface | 4096-ptr_max |
| PARAM_VALUE | 1 | hard_iface->if_status | 2 |
| PARAM_VALUE | 1 | hard_iface->mesh_iface->priv->mesh_state | 1 |
| PARAM_VALUE | 1 | hard_iface->mesh_iface->priv->primary_if->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | hard_iface->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 2 | neigh_addr | 0 |
| BUF_SIZE | 0 | orig_node | (-1),1656 |
| BUF_SIZE | 0 | orig_node | (-1),1656 |
| BUF_SIZE | 2 | neigh_addr | 6 |
| BUF_SIZE | 2 | neigh_addr | 6 |
| DATA_SOURCE | 0 | orig_node | r batadv_v_ogm_orig_get |
| DATA_SOURCE | 1 | hard_iface | $2 |
| DATA_SOURCE | 2 | neigh_addr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *orig_node->orig | 0-255 |
| HALF_LOCKED2 | rcu_read |
net/batman-adv/bat_v_ogm.c batadv_v_ogm_process() -> batadv_neigh_node_get_or_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | orig_node | 4096-ptr_max |
| PARAM_VALUE | 1 | hard_iface | 4096-ptr_max |
| PARAM_VALUE | 1 | hard_iface->if_status | 2 |
| PARAM_VALUE | 1 | hard_iface->mesh_iface->priv->mesh_state | 1 |
| PARAM_VALUE | 1 | hard_iface->mesh_iface->priv->orig_hash | 4096-ptr_max |
| PARAM_VALUE | 2 | neigh_addr | 0 |
| BUF_SIZE | 0 | orig_node | (-1),1656 |
| BUF_SIZE | 0 | orig_node | (-1),1656 |
| BUF_SIZE | 2 | neigh_addr | 6 |
| CAPPED_DATA | 1 | hard_iface | 1 |
| DATA_SOURCE | 0 | orig_node | r batadv_v_ogm_orig_get |
| DATA_SOURCE | 1 | hard_iface | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | *orig_node->orig | 0-255 |
| HALF_LOCKED2 | rcu_read |