Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/mac80211/util.c ieee80211_add_pending_skb() -> __ieee80211_stop_queue()

Type Parameter Key Value
PARAM_VALUE 1 queue 0-15
PARAM_VALUE 2 reason 5
PARAM_VALUE 3 refcounted 0
BUF_SIZE 0 hw 208
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 queue unit_byte
LOCK2 &local->queue_stop_reason_lock
LOCK2 flags
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct ieee80211_local)->queue_stop_reason_lock

net/mac80211/util.c ieee80211_add_pending_skbs() -> __ieee80211_stop_queue()

Type Parameter Key Value
PARAM_VALUE 1 queue 0-15
PARAM_VALUE 2 reason 5
PARAM_VALUE 3 refcounted 0
BUF_SIZE 0 hw 208
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 queue unit_byte
LOCK2 &local->queue_stop_reason_lock
LOCK2 flags
HALF_LOCKED2 &sta->ps_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct ieee80211_local)->queue_stop_reason_lock

net/mac80211/util.c ieee80211_stop_queue_by_reason() -> __ieee80211_stop_queue()

Type Parameter Key Value
PARAM_VALUE 2 reason 0,3
PARAM_VALUE 3 refcounted 0
DATA_SOURCE 0 hw $0
DATA_SOURCE 1 queue $1
DATA_SOURCE 2 reason $2
DATA_SOURCE 3 refcounted $3
HARD_MAX 2 reason 3
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &local->queue_stop_reason_lock
LOCK2 flags
HALF_LOCKED2 &sta->lock
HALF_LOCKED2 bh
TYPE_LOCK (struct ieee80211_local)->queue_stop_reason_lock

net/mac80211/util.c ieee80211_stop_queues_by_reason() -> __ieee80211_stop_queue()

Type Parameter Key Value
PARAM_VALUE 0 hw 4096-ptr_max
PARAM_VALUE 0 hw->queues 1-u16max
PARAM_VALUE 1 queue 0-64
PARAM_VALUE 2 reason 0-2,4,6-10
BUF_SIZE 0 hw s32min-(-1),1-s32max
BUF_SIZE 0 hw s32min-(-1),1-s32max
BUF_SIZE 0 hw->wiphy->dev.groups (-1),16
CAPPED_DATA 1 queue 1
DATA_SOURCE 0 hw $0
DATA_SOURCE 1 queue r find_next_bit
DATA_SOURCE 2 reason $2
DATA_SOURCE 3 refcounted $3
STR_LEN 0 hw (-1),6
STR_LEN 0 hw (-1),6
PARAM_COMPARE 0 hw->queues > $1
PARAM_COMPARE 1 queue < $0->queues
HARD_MAX 2 reason 10
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 hw unit_byte
UNITS 1 queue unit_byte
LOCK2 &local->queue_stop_reason_lock
LOCK2 flags
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 0 &hw->wiphy->mtx
TYPE_LOCK (struct ieee80211_local)->queue_stop_reason_lock