Defined in 2 files as a function:
- drivers/net/wireless/marvell/mwifiex/cfg80211.c, line 1057 (as a function)
- drivers/net/wireless/nxp/nxpwifi/cfg80211.c, line 794 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_add_virtual_intf() -> update_vif_type_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->priv_num | 1-255 |
| PARAM_VALUE | 1 | iftype | 0-3,8 |
| CAPPED_DATA | 0 | adapter->priv_num | 1 |
| DATA_SOURCE | 0 | adapter | r mwifiex_cfg80211_get_adapter |
| DATA_SOURCE | 1 | iftype | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | &wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct wiphy)->mtx |
drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_change_vif_to_ap() -> update_vif_type_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 1 | iftype | 1-2,8-9 |
| PARAM_VALUE | 2 | change | (-1) |
| DATA_SOURCE | 1 | iftype | $1 |
| HARD_MAX | 1 | iftype | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &wdev->wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_change_vif_to_ap() -> update_vif_type_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 1 | iftype | 3 |
| DATA_SOURCE | 1 | iftype | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &wdev->wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_change_vif_to_p2p() -> update_vif_type_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 1 | iftype | 1-3,8-9 |
| PARAM_VALUE | 2 | change | (-1) |
| DATA_SOURCE | 1 | iftype | $1 |
| HARD_MAX | 1 | iftype | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &wdev->wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_change_vif_to_p2p() -> update_vif_type_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 1 | iftype | 8-9 |
| CAPPED_DATA | 1 | iftype | 1 |
| DATA_SOURCE | 1 | iftype | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &wdev->wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_change_vif_to_sta_adhoc() -> update_vif_type_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 1 | iftype | 3,8-9 |
| PARAM_VALUE | 2 | change | (-1) |
| DATA_SOURCE | 1 | iftype | $1 |
| HARD_MAX | 1 | iftype | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &wdev->wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_change_vif_to_sta_adhoc() -> update_vif_type_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 1 | iftype | 1-2 |
| CAPPED_DATA | 1 | iftype | 1 |
| DATA_SOURCE | 1 | iftype | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &wdev->wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/marvell/mwifiex/cfg80211.c mwifiex_del_virtual_intf() -> update_vif_type_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | change | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | &wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct wiphy)->mtx |
drivers/net/wireless/nxp/nxpwifi/cfg80211.c nxpwifi_add_virtual_intf() -> update_vif_type_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->priv_num | 1-255 |
| PARAM_VALUE | 1 | iftype | 0,2-3,6 |
| PARAM_VALUE | 2 | change | 1 |
| CAPPED_DATA | 0 | adapter->priv_num | 1 |
| DATA_SOURCE | 0 | adapter | r nxpwifi_cfg80211_get_adapter |
| DATA_SOURCE | 1 | iftype | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/nxp/nxpwifi/cfg80211.c nxpwifi_change_vif_to_ap() -> update_vif_type_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 1 | iftype | 2 |
| PARAM_VALUE | 2 | change | (-1) |
| DATA_SOURCE | 1 | iftype | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &wdev->wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/nxp/nxpwifi/cfg80211.c nxpwifi_change_vif_to_ap() -> update_vif_type_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 1 | iftype | 3 |
| PARAM_VALUE | 2 | change | 1 |
| DATA_SOURCE | 1 | iftype | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &wdev->wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/nxp/nxpwifi/cfg80211.c nxpwifi_change_vif_to_sta() -> update_vif_type_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 1 | iftype | 3 |
| PARAM_VALUE | 2 | change | (-1) |
| DATA_SOURCE | 1 | iftype | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &wdev->wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/nxp/nxpwifi/cfg80211.c nxpwifi_change_vif_to_sta() -> update_vif_type_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 1 | iftype | 2 |
| PARAM_VALUE | 2 | change | 1 |
| DATA_SOURCE | 1 | iftype | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &wdev->wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/nxp/nxpwifi/cfg80211.c nxpwifi_del_virtual_intf() -> update_vif_type_counter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | change | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | &wiphy->mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct wiphy)->mtx |