Documented in 1 files:

Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

net/mac80211/wbrf.c get_ranges_from_chandef() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
DATA_SOURCE 0 c $0
RX_PATH
TASK_NOT_RUNNING

net/wireless/chan.c cfg80211_chandef_add_dbe() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 2328636405836025856,8828068338220605440
PARAM_VALUE 0 c->width 1-3,5
DATA_SOURCE 0 c $0
RX_PATH
TASK_NOT_RUNNING

net/wireless/chan.c cfg80211_chandef_add_npca() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4936445372313284608,6727063868577787904
PARAM_VALUE 0 c->width 3,5,13
DATA_SOURCE 0 c $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

net/wireless/chan.c cfg80211_chandef_dfs_available() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->width 0-5,13
CAPPED_DATA 0 c->edmg.bw_config 1
DATA_SOURCE 0 c $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mt76.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &wiphy->mtx
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 rcu_read

net/wireless/chan.c cfg80211_chandef_dfs_cac_time() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->width 0-5,8-13
BUF_SIZE 0 c (-1),48
BUF_SIZE 0 c (-1),48
DATA_SOURCE 0 c $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ar->conf_mutex
HALF_LOCKED2 &wiphy->mtx

net/wireless/chan.c cfg80211_chandef_dfs_required() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->width 0-5,8-13
BUF_SIZE 0 c (-1),48
BUF_SIZE 0 c (-1),48
DATA_SOURCE 0 c $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &wiphy->mtx

net/wireless/chan.c cfg80211_chandef_dfs_usable() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->width 0-5,8-13
BUF_SIZE 0 c (-1),48
BUF_SIZE 0 c (-1),48
DATA_SOURCE 0 c $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ar->conf_mutex
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 &wiphy->mtx
HALF_LOCKED2 global &rtnl_mutex

net/wireless/chan.c cfg80211_chandef_primary() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->width 0-7,13-u32max
BUF_SIZE 0 c (-1),48
BUF_SIZE 0 c (-1),48
CAPPED_DATA 0 c->width 1
DATA_SOURCE 0 c $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

net/wireless/chan.c cfg80211_get_end_freq() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->width 0-5,8-13
BUF_SIZE 0 c (-1),48
BUF_SIZE 0 c (-1),48
DATA_SOURCE 0 c $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 c->center_freq1 0-u16max[u]
USER_DATA 0 c->center_freq2 0-u16max[u]

net/wireless/chan.c cfg80211_get_start_freq() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->width 0-5,8-13
BUF_SIZE 0 c (-1),48
BUF_SIZE 0 c (-1),48
DATA_SOURCE 0 c $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 c->center_freq1 0-u16max[u]
USER_DATA 0 c->center_freq2 0-u16max[u]

net/wireless/chan.c cfg80211_is_sub_chan() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
DATA_SOURCE 0 c $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &rdev->bss_lock
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 bh
HALF_LOCKED2 global &rtnl_mutex

net/wireless/chan.c cfg80211_s1g_get_end_freq_khz() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->width 0-5,8-13
BUF_SIZE 0 c (-1),48
BUF_SIZE 0 c (-1),48
DATA_SOURCE 0 c $0
FUZZY_MAX 0 c->width 8
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 c->center_freq1 0-u16max[u]
USER_DATA 0 c->center_freq2 0[u]
HALF_LOCKED2 rcu_read

net/wireless/chan.c cfg80211_s1g_get_primary_sibling() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->width 0-5,8-13
DATA_SOURCE 0 c $1
BIT_INFO 0 c->chan->flags 0x0,0xf7ffffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &wiphy->mtx
HALF_LOCKED2 rcu_read

net/wireless/chan.c cfg80211_s1g_get_start_freq_khz() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->width 0-5,8-13
BUF_SIZE 0 c (-1),48
BUF_SIZE 0 c (-1),48
DATA_SOURCE 0 c $0
FUZZY_MAX 0 c->width 8
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 c->center_freq1 0-u16max[u]
USER_DATA 0 c->center_freq2 0[u]
HALF_LOCKED2 rcu_read

net/wireless/chan.c cfg80211_s1g_usable() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->width 0-5,8-13
DATA_SOURCE 0 c $1
FUZZY_MAX 0 c->width 8
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &wiphy->mtx
HALF_LOCKED2 rcu_read

net/wireless/chan.c cfg80211_set_cac_state() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->width 0-5,8-13
DATA_SOURCE 0 c $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 c->center_freq1 0-u16max[u]
USER_DATA 0 c->center_freq2 0-u16max[u]
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 &wiphy->mtx
HALF_LOCKED2 &wiphy->mtx
HALF_LOCKED2 global &rtnl_mutex

net/wireless/chan.c cfg80211_set_dfs_state() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->width 0-5,8-13
DATA_SOURCE 0 c $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 c->center_freq1 0-u16max[u]
USER_DATA 0 c->center_freq2 0-u16max[u]
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 global &rtnl_mutex

net/mac80211/mlme.c cfg80211_s1g_get_primary_sibling() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
DATA_SOURCE 0 c $1
RX_PATH

net/mac80211/mlme.c cfg80211_s1g_get_start_freq_khz() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->width 0-5,9-13
DATA_SOURCE 0 c $0
RX_PATH

net/mac80211/mlme.c ieee80211_chandef_num_subchans() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->width 0-3,5-u32max
DATA_SOURCE 0 c $0
RX_PATH
TASK_NOT_RUNNING

net/mac80211/mlme.c ieee80211_determine_ap_chan() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
RX_PATH

drivers/net/wireless/intel/iwlwifi/mld/mlo.c iwl_mld_channel_load_allows_emlsr() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->width 1-u32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mld->wiphy->mtx

drivers/net/wireless/intel/iwlwifi/mld/mlo.c iwl_mld_channel_load_allows_emlsr() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->width 0-4294967294
CAPPED_DATA 0 c->width 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mld->wiphy->mtx

drivers/net/wireless/intel/iwlwifi/mld/mlo.c iwl_mld_emlsr_pair_state() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
CAPPED_DATA 0 c->chan->center_freq 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mld->wiphy->mtx

drivers/net/wireless/intel/iwlwifi/mld/mlo.c iwl_mld_emlsr_pair_state() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mld->wiphy->mtx

net/wireless/util.c cfg80211_radio_chandef_valid() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
DATA_SOURCE 0 c $1
RX_PATH
TASK_NOT_RUNNING

drivers/net/wireless/virtual/mac80211_hwsim_nan.c hwsim_nan_rx_chandef_compatible() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 6118081493584650240
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &dev->mt76.mutex
HALF_LOCKED2 &local->iflist_mtx
HALF_LOCKED2 &mvm->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 rcu_read

drivers/net/wireless/morsemicro/mm81x/rc.c mm81x_rc_sta_add() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max

drivers/net/wireless/morsemicro/mm81x/mac.c mm81x_mac_ops_change_channel() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
DATA_SOURCE 0 c $1
RX_PATH
TASK_NOT_RUNNING

drivers/net/wireless/morsemicro/mm81x/mac.c mm81x_mac_ops_tx() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
TASK_NOT_RUNNING
HALF_LOCKED2 &local->handle_wake_tx_queue_lock
HALF_LOCKED2 rcu_read

drivers/net/wireless/morsemicro/mm81x/mac.c mm81x_mac_pri_chan_to_index() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
DATA_SOURCE 0 c $0

drivers/net/wireless/morsemicro/mm81x/mac.c mm81x_tx_h_fill_info() -> cfg80211_chandef_get_width()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
TASK_NOT_RUNNING
HALF_LOCKED2 &local->handle_wake_tx_queue_lock
HALF_LOCKED2 rcu_read