Defined in 1 files as a function:
Referenced in 4 files:
- net/wireless/core.c, line 1819
- net/wireless/nl80211.c, line 14974
- net/wireless/trace.h, line 1542
- net/wireless/wext-compat.c, line 1160
Smatch caller information:
net/wireless/core.c cfg80211_netdev_notifier_call() -> rdev_set_power_mgmt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops->set_power_mgmt | 1-u64max |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->wiphy | 1-u64max |
| DATA_SOURCE | 0 | rdev | r wiphy_to_rdev |
| DATA_SOURCE | 1 | dev | r netdev_notifier_info_to_dev |
| LOCK2 | 0 | &rdev->wiphy.mtx | |
| TYPE_LOCK | (struct wiphy)->mtx |
net/wireless/nl80211.c nl80211_set_power_save() -> rdev_set_power_mgmt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops->set_power_mgmt | 1-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr | 4096-ptr_max |
| BUF_SIZE | 0 | rdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rdev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | dev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/wireless/wext-compat.c cfg80211_wext_siwpower() -> rdev_set_power_mgmt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops->set_power_mgmt | 1-u64max |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | rdev->wiphy.mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->iftype | 2 |
| PARAM_VALUE | 1 | dev->ieee80211_ptr->wiphy | 1-u64max |
| PARAM_VALUE | 1 | dev->wireless_handlers->num_private_args | 0,8-9 |
| PARAM_VALUE | 1 | dev->wireless_handlers->standard | 0,4096-ptr_max |
| PARAM_VALUE | 1 | *dev->name | 0-255 |
| DATA_SOURCE | 0 | rdev | r wiphy_to_rdev |
| DATA_SOURCE | 1 | dev | $0 |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &rdev->wiphy.mtx | |
| TYPE_LOCK | (struct wiphy)->mtx |