Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/mac80211/ethtool.c ieee80211_get_stats() -> sta_set_sinfo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sta | 4096-ptr_max |
| PARAM_VALUE | 0 | sta->sdata | 4096-ptr_max |
| PARAM_VALUE | 0 | sta->sdata->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo | 8771012245418319872 |
| PARAM_VALUE | 2 | tidstats | 0 |
| CAPPED_DATA | 0 | sta->sdata | 1 |
| CAPPED_DATA | 0 | sta->sdata->dev | 1 |
| DATA_SOURCE | 0 | sta | r sta_info_get_bss |
| MEM_ZERO | 1 | sinfo | |
| NOCHECK_CALL | |||
| LOCK2 | &local->hw.wiphy->mtx | ||
| TYPE_LOCK | (struct wiphy)->mtx |
net/mac80211/ethtool.c ieee80211_get_stats() -> sta_set_sinfo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sta | 4096-ptr_max |
| PARAM_VALUE | 0 | sta->sdata | 4096-ptr_max |
| PARAM_VALUE | 0 | sta->sdata->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo | 8771012245418319872 |
| PARAM_VALUE | 1 | sinfo->airtime_link_metric | 0 |
| PARAM_VALUE | 1 | sinfo->bss_param.flags | 0 |
| PARAM_VALUE | 1 | sinfo->expected_throughput | 0 |
| PARAM_VALUE | 1 | sinfo->mlo_params_valid | 0 |
| PARAM_VALUE | 1 | sinfo->pertid | 0 |
| PARAM_VALUE | 1 | sinfo->rxrate.n_bonded_ch | 0 |
| PARAM_VALUE | 1 | sinfo->sta_flags.mask | 0 |
| PARAM_VALUE | 1 | sinfo->sta_flags.set | 0 |
| PARAM_VALUE | 1 | sinfo->txrate.eht_ru_alloc | 0 |
| PARAM_VALUE | 2 | tidstats | 0 |
| CAPPED_DATA | 0 | sta->sdata->dev | 1 |
| MEM_ZERO | 1 | sinfo | |
| NOCHECK_CALL | |||
| LOCK2 | &local->hw.wiphy->mtx | ||
| TYPE_LOCK | (struct wiphy)->mtx |
net/mac80211/sta_info.c __sta_info_destroy_part2() -> sta_set_sinfo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sta | 4096-ptr_max |
| PARAM_VALUE | 0 | sta->ampdu_mlme.agg_session_valid | 4096-ptr_max |
| PARAM_VALUE | 0 | sta->ampdu_mlme.work.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sta->ampdu_mlme.work.entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sta->dead | 1 |
| PARAM_VALUE | 0 | sta->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sta->local | 4096-ptr_max |
| PARAM_VALUE | 0 | sta->local->sta_hash.ht.tbl->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sta->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sta->sdata | 4096-ptr_max |
| PARAM_VALUE | 0 | sta->sdata->local->queue_stop_reason_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sta->sta_state | 0-1,3,5 |
| PARAM_VALUE | 0 | *sta->ampdu_mlme.tid_tx | 0 |
| PARAM_VALUE | 1 | sinfo | 4096-ptr_max |
| PARAM_VALUE | 2 | tidstats | 1 |
| BUF_SIZE | 1 | sinfo | 376 |
| CAPPED_DATA | 0 | sta | 1 |
| DATA_SOURCE | 0 | sta | $0 |
| DATA_SOURCE | 1 | sinfo | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | sta->local->hw.priv->ah->btcoex_hw.aic.aic_cal_start_time | 0-4294967295 |
| HOST_DATA | 0 | sta->local->hw.priv->ah->btcoex_hw.mci.last_recovery | 0-4294967295 |
| NO_OVERFLOW_SIMPLE | 0 | sta->sdata->vif.active_links |
net/mac80211/cfg.c ieee80211_dump_station() -> sta_set_sinfo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sta | 4096-ptr_max |
| PARAM_VALUE | 0 | sta->sdata | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo->airtime_link_metric | 0 |
| PARAM_VALUE | 1 | sinfo->bss_param.flags | 0 |
| PARAM_VALUE | 1 | sinfo->chains | 0 |
| PARAM_VALUE | 1 | sinfo->connected_to_as | 0 |
| PARAM_VALUE | 1 | sinfo->connected_to_gate | 0 |
| PARAM_VALUE | 1 | sinfo->filled | 0 |
| PARAM_VALUE | 1 | sinfo->generation | 0 |
| PARAM_VALUE | 1 | sinfo->pertid | 0 |
| PARAM_VALUE | 1 | sinfo->rx_dropped_misc | 0 |
| PARAM_VALUE | 1 | sinfo->rxrate.bw | 0 |
| PARAM_VALUE | 1 | sinfo->rxrate.flags | 0 |
| PARAM_VALUE | 1 | sinfo->rxrate.n_bonded_ch | 0 |
| PARAM_VALUE | 1 | sinfo->rxrate.nss | 0 |
| PARAM_VALUE | 1 | sinfo->signal | 0 |
| PARAM_VALUE | 1 | sinfo->signal_avg | 0 |
| PARAM_VALUE | 1 | sinfo->sta_flags.mask | 0 |
| PARAM_VALUE | 1 | sinfo->sta_flags.set | 0 |
| PARAM_VALUE | 1 | sinfo->txrate.bw | 0 |
| PARAM_VALUE | 1 | sinfo->txrate.eht_ru_alloc | 0 |
| PARAM_VALUE | 1 | sinfo->txrate.flags | 0 |
| PARAM_VALUE | 1 | sinfo->txrate.legacy | 0 |
| PARAM_VALUE | 1 | sinfo->txrate.mcs | 0 |
| PARAM_VALUE | 1 | sinfo->txrate.nss | 0 |
| PARAM_VALUE | 1 | sinfo->valid_links | 0 |
| PARAM_VALUE | 2 | tidstats | 1 |
| CAPPED_DATA | 0 | sta->sdata | 1 |
| DATA_SOURCE | 0 | sta | r sta_info_get_by_idx |
| DATA_SOURCE | 1 | sinfo | $4 |
| MEM_ZERO | 1 | sinfo | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex | ||
| TYPE_LOCK | (struct wiphy)->mtx |
net/mac80211/cfg.c ieee80211_get_station() -> sta_set_sinfo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sta | 4096-ptr_max |
| PARAM_VALUE | 0 | sta->sdata | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo | 4096-ptr_max |
| PARAM_VALUE | 1 | sinfo->bss_param.flags | 0-7 |
| PARAM_VALUE | 1 | sinfo->sta_flags.mask | 0,254 |
| PARAM_VALUE | 1 | sinfo->sta_flags.set | 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64-254 |
| PARAM_VALUE | 2 | tidstats | 1 |
| CAPPED_DATA | 0 | sta->sdata | 1 |
| DATA_SOURCE | 0 | sta | r sta_info_get_bss |
| DATA_SOURCE | 1 | sinfo | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx |