Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/wireless/nl80211.c _nl80211_new_interface() -> nl80211_send_iface()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 4 | rdev | 4096-ptr_max |
| PARAM_VALUE | 4 | rdev->ops | 4096-ptr_max |
| PARAM_VALUE | 4 | rdev->ops->add_virtual_intf | 4096-ptr_max |
| PARAM_VALUE | 5 | wdev | 1-ptr_max |
| PARAM_VALUE | 6 | cmd | 7 |
| BUF_SIZE | 0 | msg | 0-s32max |
| BUF_SIZE | 0 | msg | 0-s32max |
| BUF_SIZE | 4 | rdev | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | rdev | s32min-(-2),1-s32max |
| BUF_SIZE | 5 | wdev | (-1),2512 |
| BUF_SIZE | 5 | wdev | (-1),2512 |
| DATA_SOURCE | 0 | msg | r nlmsg_new |
| DATA_SOURCE | 5 | wdev | r rdev_add_virtual_intf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | seq | 0-u32max[u] |
| NO_OVERFLOW_SIMPLE | 5 | wdev->priv.wdev.wiphy->n_radio | |
| NO_OVERFLOW_SIMPLE | 5 | wdev->wdev.wiphy->n_radio | |
| LOCK2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| 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 | ||
| TYPE_LOCK | (struct wiphy)->mtx |
net/wireless/nl80211.c nl80211_dump_interface() -> nl80211_send_iface()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->data | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->data_len | 0-1 |
| PARAM_VALUE | 0 | msg->destructor | 172217845709488128 |
| PARAM_VALUE | 0 | msg->sk | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 2 |
| PARAM_VALUE | 4 | rdev | 4096-ptr_max |
| PARAM_VALUE | 4 | rdev->wiphy.mtx.dep_map->name | 0-255 |
| PARAM_VALUE | 4 | rdev->wiphy.mtx.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 4 | rdev->wiphy.mtx.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 4 | rdev->wiphy.mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 5 | wdev | 4096-ptr_max |
| PARAM_VALUE | 6 | cmd | 7 |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| CAPPED_DATA | 0 | msg->sk->__sk_common.skc_net.net | 1 |
| CAPPED_DATA | 4 | rdev->wiphy._net.net | 1 |
| CAPPED_DATA | 4 | &rdev->list | 1 |
| CAPPED_DATA | 4 | &rdev->wiphy.wdev_list | 1 |
| CAPPED_DATA | 5 | &wdev->list | 1 |
| DATA_SOURCE | 0 | msg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | msg->sk->sk_backlog.len | |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 4 | &rdev->wiphy.mtx | |
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex | ||
| TYPE_LOCK | (struct wiphy)->mtx |
net/wireless/nl80211.c nl80211_get_interface() -> nl80211_send_iface()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 6 | cmd | 7 |
| BUF_SIZE | 0 | msg | 0-s32max |
| BUF_SIZE | 0 | msg | 0-s32max |
| BUF_SIZE | 4 | rdev | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | rdev | s32min-(-2),1-s32max |
| BUF_SIZE | 5 | wdev | s32min-(-2),1-s32max |
| BUF_SIZE | 5 | wdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | msg | r nlmsg_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | seq | 0-u32max[u] |
| 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/nl80211.c nl80211_notify_iface() -> nl80211_send_iface()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | portid | 0 |
| PARAM_VALUE | 2 | seq | 0 |
| PARAM_VALUE | 3 | flags | 0 |
| PARAM_VALUE | 5 | wdev | 4096-ptr_max |
| PARAM_VALUE | 5 | wdev->links->ap.beacon_interval | 0-4294967295 |
| PARAM_VALUE | 5 | wdev->links->ap.chandef.center_freq1 | 0-4294967295 |
| PARAM_VALUE | 5 | wdev->links->ap.chandef.center_freq2 | 0-4294967295 |
| PARAM_VALUE | 5 | wdev->links->ap.chandef.edmg.bw_config | 0-4294967295 |
| PARAM_VALUE | 5 | wdev->links->ap.chandef.width | 0-4294967295 |
| PARAM_VALUE | 5 | wdev->links->cac_time_ms | 0-4294967295 |
| PARAM_VALUE | 6 | cmd | 6-8 |
| BUF_SIZE | 0 | msg | 0-s32max |
| BUF_SIZE | 0 | msg | 0-s32max |
| BUF_SIZE | 4 | rdev | s32min-(-1),1-s32max |
| BUF_SIZE | 4 | rdev | s32min-(-1),1-s32max |
| BUF_SIZE | 5 | wdev | s32min-(-1),1-s32max |
| BUF_SIZE | 5 | wdev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | msg | r nlmsg_new |
| DATA_SOURCE | 4 | rdev | $0 |
| DATA_SOURCE | 5 | wdev | $1 |
| DATA_SOURCE | 6 | cmd | $2 |
| STR_LEN | 5 | wdev->wiphy | (-1),5-6 |
| HARD_MAX | 6 | cmd | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 5 | wdev->ar->fw_len | |
| NO_OVERFLOW_SIMPLE | 5 | wdev->ar->fw_otp_len | |
| NO_OVERFLOW_SIMPLE | 5 | wdev->ar->fw_patch_len | |
| NO_OVERFLOW_SIMPLE | 5 | wdev->netdev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 5 | wdev->netdev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 5 | wdev->netdev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 5 | wdev->netdev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 5 | wdev->netdev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 5 | wdev->priv.wdev.wiphy->n_radio | |
| NO_OVERFLOW_SIMPLE | 5 | wdev->wdev.wiphy->n_radio | |
| HALF_LOCKED2 | 4 | &rdev->wiphy.mtx |