Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/batman-adv/gateway_client.c batadv_gw_check_client_stop() -> batadv_gw_select()

Type Parameter Key Value
PARAM_VALUE 0 bat_priv 4096-ptr_max
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
PARAM_VALUE 1 new_gw_node 0
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
NOCHECK_CALL

net/batman-adv/gateway_client.c batadv_gw_election() -> batadv_gw_select()

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.curr_gw 0,4096-ptr_max
PARAM_VALUE 0 bat_priv->gw.mode 1
PARAM_VALUE 0 bat_priv->orig_hash 1-u64max
PARAM_VALUE 1 new_gw_node 0,4096-ptr_max
PARAM_VALUE 1 new_gw_node->orig_node 4096-ptr_max
DATA_SOURCE 0 bat_priv $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL