Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/wireless/scan.c cfg80211_scan() -> rdev_scan()

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.first_part 1
PARAM_VALUE 0 rdev->scan_req->req.n_channels 0-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 1 request 4096-ptr_max
PARAM_VALUE 1 request->req.first_part 1
PARAM_VALUE 1 request->req.n_channels 0-s32max
PARAM_VALUE 1 request->req.n_ssids 0-255
PARAM_VALUE 1 request->req.wdev 4096-ptr_max
PARAM_VALUE 1 request->req.wiphy 4096-ptr_max
BUF_SIZE 0 rdev s32min-(-1),1-s32max
BUF_SIZE 0 rdev s32min-(-1),1-s32max
CAPPED_DATA 0 rdev->scan_req->req.n_channels 1
CAPPED_DATA 0 rdev->scan_req->req.n_ssids 1
CAPPED_DATA 1 request->req.n_channels 1
CAPPED_DATA 1 request->req.n_ssids 1
DATA_SOURCE 0 rdev $0
BIT_INFO 0 rdev->wiphy.flags 0x0,0xfffffffb
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 rdev->scan_req->req.n_ssids
NO_OVERFLOW_SIMPLE 1 request->req.n_ssids

net/wireless/scan.c cfg80211_scan() -> rdev_scan()

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.channels 4096-ptr_max
PARAM_VALUE 0 rdev->scan_req->req.first_part 1
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.scan_6ghz 0
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.flags 4-u32max
PARAM_VALUE 1 request 4096-ptr_max
PARAM_VALUE 1 request->req.n_channels 1-u32max
PARAM_VALUE 1 request->req.n_ssids 0-255
PARAM_VALUE 1 request->req.wdev 4096-ptr_max
PARAM_VALUE 1 request->req.wiphy 4096-ptr_max
BUF_SIZE 0 rdev s32min-(-1),1-s32max
BUF_SIZE 0 rdev s32min-(-1),1-s32max
BUF_SIZE 1 request 168-34359738520
BUF_SIZE 1 request 168-34359738520
CAPPED_DATA 0 rdev->scan_req->req.n_channels 1
CAPPED_DATA 0 rdev->scan_req->req.n_ssids 1
CAPPED_DATA 1 request->req.n_channels 1
CAPPED_DATA 1 request->req.n_ssids 1
DATA_SOURCE 0 rdev $0
DATA_SOURCE 1 request r _kzalloc_noprof
BIT_INFO 0 rdev->wiphy.flags 0x4,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 rdev->scan_req->req.n_ssids
NO_OVERFLOW_SIMPLE 1 request->req.n_ssids

net/wireless/scan.c cfg80211_scan_6ghz() -> rdev_scan()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->int_scan_req 4096-ptr_max
PARAM_VALUE 0 rdev->int_scan_req->req.n_channels 1-2
PARAM_VALUE 0 rdev->int_scan_req->req.scan_6ghz 1
PARAM_VALUE 0 rdev->int_scan_req->req.wdev 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.channels 4096-ptr_max
PARAM_VALUE 0 rdev->scan_req->req.n_channels 0-255
PARAM_VALUE 0 rdev->scan_req->req.scan_6ghz 1
PARAM_VALUE 0 rdev->scan_req->req.wdev 4096-ptr_max
PARAM_VALUE 0 rdev->wiphy.bands 4096-ptr_max
PARAM_VALUE 0 rdev->wiphy.flags 4-u32max
PARAM_VALUE 1 request 4096-ptr_max
PARAM_VALUE 1 request->req.n_channels 1-2
PARAM_VALUE 1 request->req.scan_6ghz 1
PARAM_VALUE 1 request->req.wdev 4096-ptr_max
BUF_SIZE 0 rdev s32min-(-1),1-s32max
BUF_SIZE 0 rdev s32min-(-1),1-s32max
BUF_SIZE 0 rdev->int_scan_req 0-u64max
BUF_SIZE 1 request 0-u64max
DATA_SOURCE 0 rdev $0
DATA_SOURCE 1 request r _kzalloc_noprof
BIT_INFO 0 rdev->wiphy.flags 0x4,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 rdev->int_scan_req->req.n_ssids
NO_OVERFLOW_SIMPLE 0 rdev->scan_req->req.n_ssids
NO_OVERFLOW_SIMPLE 1 request->req.n_ssids
HALF_LOCKED2 0 &rdev->wiphy.mtx

net/wireless/scan.c cfg80211_wext_siwscan() -> rdev_scan()

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 request 4096-ptr_max
PARAM_VALUE 1 request->req.channels 4096-ptr_max
PARAM_VALUE 1 request->req.n_channels 1-s32max
PARAM_VALUE 1 request->req.n_ssids 0-1
PARAM_VALUE 1 request->req.wdev 4096-ptr_max
PARAM_VALUE 1 request->req.wdev->wiphy 4096-ptr_max
PARAM_VALUE 1 request->req.wiphy 4096-ptr_max
BUF_SIZE 0 rdev->scan_req 0-u64max
BUF_SIZE 1 request 0-u64max
BUF_SIZE 1 request->req.wiphy 2464
DATA_SOURCE 0 rdev r cfg80211_get_dev_from_ifindex
DATA_SOURCE 1 request r _kzalloc_noprof
FUZZY_MAX 1 request->req.n_ssids 1
HARD_MAX 1 request->req.n_ssids 1
MEM_ZERO 1 request->req.bssid
LOCK2 global &rtnl_mutex
LOCK2 0 &rdev->wiphy.mtx
TYPE_LOCK (struct wiphy)->mtx