Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/batman-adv/gateway_client.c batadv_gw_node_update() -> batadv_gw_node_get()
| 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->gw.list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | orig_node | 4096-ptr_max |
| BUF_SIZE | 1 | orig_node | (-1),1656 |
| BUF_SIZE | 1 | orig_node | (-1),1656 |
| CAPPED_DATA | 1 | orig_node | 1 |
| DATA_SOURCE | 0 | bat_priv | $0 |
| DATA_SOURCE | 1 | orig_node | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | orig_node->last_ttvn | 0-255[u] |
| USER_DATA | 1 | orig_node->tt_buff_len | 13-u16max[c] |
| USER_DATA | 1 | *orig_node->tt_buff | 0-255 |
| LOCK2 | bh | ||
| LOCK2 | 0 | &bat_priv->gw.list_lock | |
| HALF_LOCKED2 | list_lock | ||
| TYPE_LOCK | (struct batadv_priv_gw)->list_lock |
net/batman-adv/gateway_client.c batadv_gw_out_of_range() -> batadv_gw_node_get()
| 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.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 |
| 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/bat_v.c batadv_v_gw_is_eligible() -> batadv_gw_node_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->algo_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->algo_ops->gw.is_eligible | 333824725560479744,7656349274982670336 |
| 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.gateway_list->first->pprev | 1-u64max |
| PARAM_VALUE | 0 | bat_priv->gw.gateway_list.first | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->gw.gateway_list.first->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->gw.list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->gw.mode | 1 |
| PARAM_VALUE | 0 | bat_priv->gw.reselect.counter | 1 |
| PARAM_VALUE | 1 | orig_node | 4096-ptr_max |
| PARAM_VALUE | 1 | orig_node->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| DATA_SOURCE | 0 | bat_priv | $0 |
| DATA_SOURCE | 1 | orig_node | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/batman-adv/bat_v.c batadv_v_gw_is_eligible() -> batadv_gw_node_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->algo_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->algo_ops->gw.is_eligible | 333824725560479744,7656349274982670336 |
| 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.gateway_list->first->pprev | 1-u64max |
| PARAM_VALUE | 0 | bat_priv->gw.gateway_list.first | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->gw.gateway_list.first->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->gw.list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->gw.mode | 1 |
| PARAM_VALUE | 0 | bat_priv->gw.reselect.counter | 1 |
| PARAM_VALUE | 1 | orig_node | 4096-ptr_max |
| BUF_SIZE | 1 | orig_node | (-1),1656 |
| BUF_SIZE | 1 | orig_node | (-1),1656 |
| CAPPED_DATA | 1 | orig_node | 1 |
| DATA_SOURCE | 0 | bat_priv | $0 |
| DATA_SOURCE | 1 | orig_node | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | orig_node->last_ttvn | 0-255[u] |
| USER_DATA | 1 | orig_node->mcast_flags | 1-255 |