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 2502
- net/batman-adv/bat_v.c, line 672
- net/batman-adv/gateway_client.c
Smatch caller information:
net/batman-adv/bat_iv_ogm.c batadv_iv_gw_dump_entry() -> batadv_gw_get_selected_gw_node()
| 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.dump | 3543927549762592768,5175563056463769600 |
| PARAM_VALUE | 0 | bat_priv->gw.list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->primary_if | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->primary_if->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| DATA_SOURCE | 0 | bat_priv | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &bat_priv->gw.list_lock | |
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct batadv_priv_gw)->list_lock | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |
net/batman-adv/gateway_client.c batadv_gw_check_client_stop() -> batadv_gw_get_selected_gw_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat_priv->gw.mode | 1 |
| BUF_SIZE | 0 | bat_priv | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bat_priv | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | bat_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/batman-adv/gateway_client.c batadv_gw_election() -> batadv_gw_get_selected_gw_node()
| 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.get_best_gw_node | 7717109917932670976,8833952318193025024 |
| PARAM_VALUE | 0 | bat_priv->gw.mode | 1 |
| PARAM_VALUE | 0 | bat_priv->orig_hash | 1-u64max |
| DATA_SOURCE | 0 | bat_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/batman-adv/gateway_client.c batadv_gw_get_selected_orig() -> batadv_gw_get_selected_gw_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->algo_ops->gw.is_eligible | 333824725560479744,7656349274982670336 |
| PARAM_VALUE | 0 | bat_priv->algo_ops->name | 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 |
| DATA_SOURCE | 0 | bat_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/batman-adv/gateway_client.c batadv_gw_node_update() -> batadv_gw_get_selected_gw_node()
| 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 |
| DATA_SOURCE | 0 | bat_priv | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | list_lock |
net/batman-adv/gateway_client.c batadv_gw_out_of_range() -> batadv_gw_get_selected_gw_node()
| 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 |
| 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/bat_v.c batadv_v_gw_dump_entry() -> batadv_gw_get_selected_gw_node()
| 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.dump | 3543927549762592768,5175563056463769600 |
| PARAM_VALUE | 0 | bat_priv->gw.list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->primary_if | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->primary_if->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| DATA_SOURCE | 0 | bat_priv | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &bat_priv->gw.list_lock | |
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct batadv_priv_gw)->list_lock | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |