Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/batman-adv/hard-interface.c batadv_hardif_activate_interface() -> batadv_primary_if_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->bat_v.ogm_buff_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 bat_priv->primary_if 0,4096-ptr_max
PARAM_VALUE 0 bat_priv->primary_if->refcount.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 new_hard_iface 4096-ptr_max
PARAM_VALUE 1 new_hard_iface->if_status 3
PARAM_VALUE 1 new_hard_iface->mesh_iface->priv->algo_ops 4096-ptr_max
PARAM_VALUE 1 new_hard_iface->mesh_iface->priv->primary_if->refcount.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 new_hard_iface->refcount.refcount.refs.counter (-1073741824),0-s32max
BUF_SIZE 1 new_hard_iface (-1),1104
BUF_SIZE 1 new_hard_iface (-1),1104
CAPPED_DATA 1 new_hard_iface 1
DATA_SOURCE 1 new_hard_iface $0
PARAM_COMPARE 0 bat_priv == $1->mesh_iface->priv
PARAM_COMPARE 0 bat_priv == $1->mesh_iface->priv
NOSPEC 1 new_hard_iface->batman_adv_ptype.dev->ifindex
NOSPEC 1 new_hard_iface->net_dev->ifindex
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 new_hard_iface->batman_adv_ptype.dev->flags 0-526849[c]
USER_DATA 1 new_hard_iface->batman_adv_ptype.dev->ifindex 0-s32max[c]
USER_DATA 1 new_hard_iface->batman_adv_ptype.dev->num_tc 2-16[c]
USER_DATA 1 new_hard_iface->net_dev->flags 1-526849[c]
USER_DATA 1 new_hard_iface->net_dev->ifindex 0-s32max[c]
USER_DATA 1 new_hard_iface->net_dev->num_tc 2-16[c]
NO_OVERFLOW_SIMPLE 1 new_hard_iface->batman_adv_ptype.dev->group
NO_OVERFLOW_SIMPLE 1 new_hard_iface->net_dev->group
HALF_LOCKED2 global &rtnl_mutex

net/batman-adv/hard-interface.c batadv_hardif_disable_interface() -> batadv_primary_if_select()

Type Parameter Key Value
PARAM_VALUE 0 bat_priv 4096-ptr_max
PARAM_VALUE 0 bat_priv->primary_if 4096-ptr_max
PARAM_VALUE 0 bat_priv->primary_if->refcount.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 bat_priv->tt.ogm_append_cnt.counter s32min-s32max
PARAM_VALUE 1 new_hard_iface 0,4096-ptr_max
PARAM_VALUE 1 new_hard_iface->if_status 2
PARAM_VALUE 1 new_hard_iface->refcount.refcount.refs.counter (-1073741824),0-s32max
BUF_SIZE 1 new_hard_iface (-1),1104
BUF_SIZE 1 new_hard_iface (-1),1104
DATA_SOURCE 1 new_hard_iface r batadv_hardif_get_active
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex