Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/wireless/virtual/mac80211_hwsim_main.c mac80211_hwsim_send_pmsr_request_peer() -> nl80211_send_chandef()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 0 msg->data_len 0
PARAM_VALUE 1 chandef 4096-ptr_max
BUF_SIZE 0 msg 0,4-s32max
BUF_SIZE 0 msg 0,4-s32max
DATA_SOURCE 0 msg $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->mutex
TYPE_LOCK (struct mac80211_hwsim_data)->mutex

net/wireless/nl80211.c cfg80211_incumbent_signal_notify() -> nl80211_send_chandef()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 0 msg->data_len 0
PARAM_VALUE 1 chandef 1-u64max
BUF_SIZE 0 msg 0-s32max
BUF_SIZE 0 msg 0-s32max
DATA_SOURCE 0 msg r nlmsg_new
DATA_SOURCE 1 chandef $1
RX_PATH
HALF_LOCKED2 rcu_read

net/wireless/nl80211.c cfg80211_nan_channel_evac() -> nl80211_send_chandef()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 0 msg->data_len 0
PARAM_VALUE 1 chandef 4096-ptr_max
PARAM_VALUE 1 chandef->chan 1-u64max
BUF_SIZE 0 msg 0-s32max
BUF_SIZE 0 msg 0-s32max
DATA_SOURCE 0 msg r nlmsg_new
DATA_SOURCE 1 chandef $1
RX_PATH
TASK_NOT_RUNNING

net/wireless/nl80211.c nl80211_ch_switch_notify() -> nl80211_send_chandef()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 0 msg->data_len 0
PARAM_VALUE 1 chandef 4096-ptr_max
BUF_SIZE 0 msg 0-s32max
BUF_SIZE 0 msg 0-s32max
DATA_SOURCE 0 msg r nlmsg_new
DATA_SOURCE 1 chandef $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 chandef->center_freq1 0-u16max[u]
USER_DATA 1 chandef->center_freq2 0-u16max[u]

net/wireless/nl80211.c nl80211_radar_notify() -> nl80211_send_chandef()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 0 msg->data_len 0
PARAM_VALUE 1 chandef 4096-ptr_max
BUF_SIZE 0 msg 0-s32max
BUF_SIZE 0 msg 0-s32max
DATA_SOURCE 0 msg r nlmsg_new
DATA_SOURCE 1 chandef $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 chandef->center_freq1 0-u16max
USER_DATA 1 chandef->center_freq2 0-u16max
HALF_LOCKED2 global &rtnl_mutex

net/wireless/nl80211.c nl80211_send_iface() -> nl80211_send_chandef()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 0 msg->data_len 0
PARAM_VALUE 1 chandef 5337544947479535616
PARAM_VALUE 1 chandef->center_freq2 0-u16max
BUF_SIZE 0 msg (-1)-s32max
BUF_SIZE 0 msg (-1)-s32max
DATA_SOURCE 0 msg $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 global &rtnl_mutex

net/wireless/nl80211.c nl80211_send_iface() -> nl80211_send_chandef()

Type Parameter Key Value
PARAM_VALUE 0 msg 4096-ptr_max
PARAM_VALUE 0 msg->data_len 0
PARAM_VALUE 1 chandef 5337544947479535616
PARAM_VALUE 1 chandef->center_freq2 0-u16max
BUF_SIZE 0 msg (-1)-s32max
BUF_SIZE 0 msg (-1)-s32max
DATA_SOURCE 0 msg $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 global &rtnl_mutex