Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/wireless/scan.c cfg80211_wext_siwscan() -> nl80211_send_scan_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->scan_msg | 0 |
| PARAM_VALUE | 0 | rdev->scan_req | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->scan_req->req.n_channels | 1-s32max |
| PARAM_VALUE | 0 | rdev->scan_req->req.n_ssids | 0-1 |
| PARAM_VALUE | 0 | rdev->scan_req->req.wdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->scan_req->req.wiphy | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->wiphy.bands | 4096-ptr_max |
| 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 | wdev->wiphy | 4096-ptr_max |
| BUF_SIZE | 0 | rdev->scan_req | 0-u64max |
| DATA_SOURCE | 0 | rdev | r cfg80211_get_dev_from_ifindex |
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &rdev->wiphy.mtx | |
| TYPE_LOCK | (struct wiphy)->mtx |
net/wireless/nl80211.c nl80211_trigger_scan() -> nl80211_send_scan_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->ops->scan | 1-u64max |
| PARAM_VALUE | 0 | rdev->scan_msg | 0 |
| PARAM_VALUE | 0 | rdev->scan_req | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->scan_req->req.n_channels | 1-s32max |
| PARAM_VALUE | 0 | rdev->scan_req->req.n_ssids | 0-255 |
| PARAM_VALUE | 0 | rdev->scan_req->req.wdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->scan_req->req.wiphy | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->wiphy.bands | 4096-ptr_max |
| PARAM_VALUE | 1 | wdev | 4096-ptr_max |
| PARAM_VALUE | 1 | wdev->iftype | 0-11,13,15-u32max |
| PARAM_VALUE | 1 | wdev->wiphy | 4096-ptr_max |
| BUF_SIZE | 0 | rdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | rdev->scan_req | 0-u64max |
| BUF_SIZE | 1 | wdev | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | wdev | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | rdev->scan_req->req.n_channels | 1 |
| CAPPED_DATA | 0 | rdev->scan_req->req.n_ssids | 1 |
| CAPPED_DATA | 0 | rdev->scan_req->req.wdev | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | rdev->int_scan_req->req.n_channels | |
| NO_OVERFLOW_SIMPLE | 0 | rdev->int_scan_req->req.n_ssids | |
| NO_OVERFLOW_SIMPLE | 0 | rdev->scan_req->req.n_ssids | |
| 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/sme.c cfg80211_conn_scan() -> nl80211_send_scan_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->scan_msg | 0 |
| PARAM_VALUE | 0 | rdev->scan_req | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->scan_req->req.n_channels | 0-s32max |
| PARAM_VALUE | 0 | rdev->scan_req->req.n_ssids | 1 |
| PARAM_VALUE | 0 | rdev->scan_req->req.ssids | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->scan_req->req.wdev | 4096-ptr_max |
| PARAM_VALUE | 0 | rdev->scan_req->req.wiphy | 4096-ptr_max |
| PARAM_VALUE | 1 | wdev | 4096-ptr_max |
| PARAM_VALUE | 1 | wdev->conn | 4096-ptr_max |
| PARAM_VALUE | 1 | wdev->conn->params.channel | 0,4096-ptr_max |
| PARAM_VALUE | 1 | wdev->conn->state | 0 |
| PARAM_VALUE | 1 | wdev->wiphy | 4096-ptr_max |
| PARAM_VALUE | 1 | wdev->wiphy->bands | 4096-ptr_max |
| BUF_SIZE | 0 | rdev->scan_req | 0-u64max |
| BUF_SIZE | 1 | wdev->conn | (-1),424 |
| BUF_SIZE | 1 | wdev->conn->params.bssid | (-1),6 |
| BUF_SIZE | 1 | wdev->conn->params.ssid | (-1),32 |
| BUF_SIZE | 1 | wdev->connect_keys | (-1)-0,280 |
| CAPPED_DATA | 0 | rdev->scan_req->req.n_channels | 1 |
| CAPPED_DATA | 0 | rdev->scan_req->req.wdev | 1 |
| DATA_SOURCE | 0 | rdev | r wiphy_to_rdev |
| DATA_SOURCE | 1 | wdev | $0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | rdev->int_scan_req->req.n_channels | |
| NO_OVERFLOW_SIMPLE | 0 | rdev->int_scan_req->req.n_ssids | |
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| TYPE_LOCK | (struct wiphy)->mtx |