Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/batman-adv/bat_iv_ogm.c batadv_iv_ogm_update_seqnos() -> batadv_window_protected()

Type Parameter Key Value
PARAM_VALUE 0 bat_priv 4096-ptr_max
PARAM_VALUE 0 bat_priv->orig_hash 4096-ptr_max
PARAM_VALUE 2 seq_old_max_diff 64
PARAM_VALUE 3 last_reset 4096-ptr_max
PARAM_VALUE 4 protection_started 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &orig_node->bat_iv.ogm_cnt_lock
LOCK2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct batadv_orig_bat_iv)->ogm_cnt_lock

net/batman-adv/routing.c batadv_recv_bcast_packet() -> batadv_window_protected()

Type Parameter Key Value
PARAM_VALUE 0 bat_priv 4096-ptr_max
PARAM_VALUE 0 bat_priv->orig_hash 4096-ptr_max
PARAM_VALUE 2 seq_old_max_diff 64
PARAM_VALUE 3 last_reset 4096-ptr_max
PARAM_VALUE 4 protection_started 0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &orig_node->bcast_seqno_lock
LOCK2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct batadv_orig_node)->bcast_seqno_lock

net/batman-adv/bat_v_ogm.c batadv_v_ogm_metric_update() -> batadv_window_protected()

Type Parameter Key Value
PARAM_VALUE 0 bat_priv 4096-ptr_max
PARAM_VALUE 0 bat_priv->orig_hash 4096-ptr_max
PARAM_VALUE 2 seq_old_max_diff 64
PARAM_VALUE 3 last_reset 4096-ptr_max
PARAM_VALUE 4 protection_started 4468516466831446016
PARAM_VALUE 4 *protection_started 0
DATA_SOURCE 0 bat_priv $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read