Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/mac80211/tx.c rate_usable_index_exists() -> rate_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sta | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0-2147483646 |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | sta | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | index | unit_array_size |
| HALF_LOCKED2 | rcu_read |
drivers/net/wireless/intel/iwlwifi/dvm/rs.c rate_lowest_index() -> rate_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sta | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0-s32max |
| BUF_SIZE | 0 | sta | (-1),600 |
| BUF_SIZE | 0 | sta | (-1),600 |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | sta | $1 |
| CONSTRAINT | 2 | index | <42 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sta->mfp | 0-1 |
| USER_DATA | 0 | sta->spp_amsdu | 0-1[c] |
| USER_DATA | 0 | sta->wme | 0-1[c] |
| NO_OVERFLOW_SIMPLE | 0 | sta->valid_links | |
| UNITS | 2 | index | unit_array_size |
| USER_PTR | 0 | sta->addr | |
| HALF_LOCKED2 | &priv->mutex | ||
| HALF_LOCKED2 | &sta->rate_ctrl_lock | ||
| HALF_LOCKED2 | bh |
drivers/net/wireless/intel/iwlwifi/dvm/tx.c rate_lowest_index() -> rate_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sta | 0,4096-ptr_max |
| PARAM_VALUE | 2 | index | 0-s32max |
| BUF_SIZE | 0 | sta | (-1)-0,600 |
| BUF_SIZE | 0 | sta | (-1)-0,600 |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | sta | $1 |
| CONSTRAINT | 2 | index | <42 |
| TASK_NOT_RUNNING | |||
| UNITS | 2 | index | unit_array_size |
| HALF_LOCKED2 | &local->handle_wake_tx_queue_lock | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/wireless/intel/iwlegacy/4965-mac.c rate_lowest_index() -> rate_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sta | 0,4096-ptr_max |
| PARAM_VALUE | 2 | index | 0-s32max |
| BUF_SIZE | 0 | sta | (-1)-0,600 |
| BUF_SIZE | 0 | sta | (-1)-0,600 |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | sta | $1 |
| CONSTRAINT | 2 | index | <42 |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | index | unit_array_size |
| LOCK2 | &il->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &local->handle_wake_tx_queue_lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct il_priv)->lock |
net/mac80211/rc80211_minstrel_ht.c minstrel_ht_update_cck() -> rate_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sta | 4096-ptr_max |
| PARAM_VALUE | 1 | band | 0 |
| PARAM_VALUE | 2 | index | 0-254 |
| DATA_SOURCE | 0 | sta | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sta->rate_ctrl_lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &sta->mesh->plink_lock | ||
| TYPE_LOCK | (struct sta_info)->rate_ctrl_lock |
net/mac80211/rc80211_minstrel_ht.c minstrel_ht_update_ofdm() -> rate_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sta | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0-254 |
| DATA_SOURCE | 0 | sta | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sta->rate_ctrl_lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &sta->mesh->plink_lock | ||
| TYPE_LOCK | (struct sta_info)->rate_ctrl_lock |
net/mac80211/rc80211_minstrel_ht.c rate_lowest_index() -> rate_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sta | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0-s32max |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | sta | $1 |
| CONSTRAINT | 2 | index | <42 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | index | unit_array_size |
| LOCK2 | &sta->rate_ctrl_lock | ||
| LOCK2 | bh | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &sta->mesh->plink_lock | ||
| TYPE_LOCK | (struct sta_info)->rate_ctrl_lock |
drivers/net/wireless/intel/iwlegacy/4965-rs.c rate_lowest_index() -> rate_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sta | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0-s32max |
| BUF_SIZE | 0 | sta | (-1),600 |
| BUF_SIZE | 0 | sta | (-1),600 |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | sta | $1 |
| CONSTRAINT | 2 | index | <42 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sta->mfp | 0-1 |
| USER_DATA | 0 | sta->spp_amsdu | 0-1[c] |
| USER_DATA | 0 | sta->wme | 0-1[c] |
| UNITS | 2 | index | unit_array_size |
| USER_PTR | 0 | sta->addr | |
| HALF_LOCKED2 | &il->mutex | ||
| HALF_LOCKED2 | &sta->rate_ctrl_lock | ||
| HALF_LOCKED2 | bh |
net/mac80211/rate.c __rate_control_send_low() -> rate_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | band | 0-3,5-u32max |
| PARAM_VALUE | 2 | index | 0-s32max |
| BUF_SIZE | 0 | sta | (-1)-0,600 |
| BUF_SIZE | 0 | sta | (-1)-0,600 |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | sta | $2 |
| CONSTRAINT | 2 | index | <42 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | index | unit_array_size |
| HALF_LOCKED2 | rcu_read |