Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/mac80211/mesh_hwmp.c hwmp_perr_frame_process() -> next_hop_deref_protected()

Type Parameter Key Value
PARAM_VALUE 0 mpath 4096-ptr_max
PARAM_VALUE 0 mpath->state_lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 mpath r mesh_path_lookup
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh
LOCK2 rcu_read
LOCK2 0 &mpath->state_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx
TYPE_LOCK (struct mesh_path)->state_lock

net/mac80211/mesh_hwmp.c hwmp_prep_frame_process() -> next_hop_deref_protected()

Type Parameter Key Value
PARAM_VALUE 0 mpath 4096-ptr_max
PARAM_VALUE 0 mpath->flags 1-u32max
PARAM_VALUE 0 mpath->state_lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 mpath r mesh_path_lookup
BIT_INFO 0 mpath->flags 0x1,0xffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh
LOCK2 rcu_read
LOCK2 0 &mpath->state_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx
TYPE_LOCK (struct mesh_path)->state_lock

net/mac80211/mesh_hwmp.c hwmp_prep_frame_process() -> next_hop_deref_protected()

Type Parameter Key Value
PARAM_VALUE 0 mpath 4096-ptr_max
PARAM_VALUE 0 mpath->flags 1-u32max
PARAM_VALUE 0 mpath->state_lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 mpath->next_hop 1
DATA_SOURCE 0 mpath r mesh_path_lookup
BIT_INFO 0 mpath->flags 0x1,0xffffffffffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh
LOCK2 rcu_read
LOCK2 0 &mpath->state_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx
TYPE_LOCK (struct mesh_path)->state_lock

net/mac80211/mesh_hwmp.c hwmp_prep_frame_process() -> next_hop_deref_protected()

Type Parameter Key Value
PARAM_VALUE 0 mpath 4096-ptr_max
PARAM_VALUE 0 mpath->flags 1-u32max
PARAM_VALUE 0 mpath->state_lock.rlock.dep_map->name 0-255
CAPPED_DATA 0 mpath->next_hop 1
DATA_SOURCE 0 mpath r mesh_path_lookup
BIT_INFO 0 mpath->flags 0x1,0xffffffffffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh
LOCK2 rcu_read
LOCK2 0 &mpath->state_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx
TYPE_LOCK (struct mesh_path)->state_lock