Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/batman-adv/originator.c batadv_find_best_neighbor() -> (struct batadv_algo_neigh_ops)->cmp()

Type Parameter Key Value
PARAM_VALUE 0 neigh1 1-u64max
PARAM_VALUE 1 if_outgoing1 0,4096-ptr_max
PARAM_VALUE 1 if_outgoing1->if_status 2
PARAM_VALUE 1 if_outgoing1->refcount.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 2 neigh2 4096-ptr_max
PARAM_VALUE 2 neigh2->refcount.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 3 if_outgoing2 0,4096-ptr_max
PARAM_VALUE 3 if_outgoing2->if_status 2
PARAM_VALUE 3 if_outgoing2->refcount.refcount.refs.counter (-1073741824),0-s32max
DATA_SOURCE 1 if_outgoing1 $2
DATA_SOURCE 3 if_outgoing2 $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh
LOCK2 list_lock
LOCK2 rcu_read

net/batman-adv/translation-table.c batadv_transtable_best_orig() -> (struct batadv_algo_neigh_ops)->cmp()

Type Parameter Key Value
PARAM_VALUE 0 neigh1 4096-ptr_max
PARAM_VALUE 0 neigh1->refcount.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 if_outgoing1 0
PARAM_VALUE 2 neigh2 4096-ptr_max
PARAM_VALUE 2 neigh2->refcount.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 3 if_outgoing2 0
DATA_SOURCE 0 neigh1 r batadv_orig_router_get
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read