Documented in 1 files:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/net/wireless/mediatek/mt76/mt7615/testmode.c
- drivers/net/wireless/mediatek/mt76/mt7915/testmode.c
- net/ieee802154/nl-mac.c
- net/ieee802154/nl802154.c
- net/wireless/nl80211.c
Smatch caller information:
net/ieee802154/nl802154.c nl802154_put_capabilities() -> nla_put_s8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 13 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ieee802154/nl802154.c nl802154_put_capabilities() -> nla_put_s8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 14 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ieee802154/nl802154.c nl802154_send_iface() -> nla_put_s8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 15 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireless/mediatek/mt76/mt7615/testmode.c mt7615_tm_dump_stats() -> nla_put_s8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 0 | skb->destructor | 172217845709488128 |
| PARAM_VALUE | 0 | skb->sk | 4096-ptr_max |
| PARAM_VALUE | 1 | attrtype | 0-3 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| CAPPED_DATA | 0 | skb->sk->__sk_common.skc_net.net | 1 |
| DATA_SOURCE | 0 | skb | $1 |
| FUZZY_MAX | 1 | attrtype | 3 |
| HARD_MAX | 1 | attrtype | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | attrtype | unit_byte |
| LOCK2 | &dev->mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct mt76_dev)->mutex | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |
drivers/net/wireless/mediatek/mt76/mt7615/testmode.c mt7615_tm_dump_stats() -> nla_put_s8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 0 | skb->destructor | 172217845709488128 |
| PARAM_VALUE | 0 | skb->sk | 4096-ptr_max |
| PARAM_VALUE | 1 | attrtype | 0-3 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| CAPPED_DATA | 0 | skb->sk->__sk_common.skc_net.net | 1 |
| DATA_SOURCE | 0 | skb | $1 |
| FUZZY_MAX | 1 | attrtype | 3 |
| HARD_MAX | 1 | attrtype | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | attrtype | unit_byte |
| LOCK2 | &dev->mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct mt76_dev)->mutex | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |
drivers/net/wireless/mediatek/mt76/mt7915/testmode.c mt7915_tm_dump_stats() -> nla_put_s8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 0 | skb->destructor | 172217845709488128 |
| PARAM_VALUE | 0 | skb->sk | 4096-ptr_max |
| PARAM_VALUE | 1 | attrtype | 0-3 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| CAPPED_DATA | 0 | skb->sk->__sk_common.skc_net.net | 1 |
| DATA_SOURCE | 0 | skb | $1 |
| FUZZY_MAX | 1 | attrtype | 3 |
| HARD_MAX | 1 | attrtype | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | attrtype | unit_byte |
| LOCK2 | &dev->mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct mt76_dev)->mutex | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |
drivers/net/wireless/mediatek/mt76/mt7915/testmode.c mt7915_tm_dump_stats() -> nla_put_s8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 0 | skb->destructor | 172217845709488128 |
| PARAM_VALUE | 0 | skb->sk | 4096-ptr_max |
| PARAM_VALUE | 1 | attrtype | 0-3 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| CAPPED_DATA | 0 | skb->sk->__sk_common.skc_net.net | 1 |
| DATA_SOURCE | 0 | skb | $1 |
| FUZZY_MAX | 1 | attrtype | 3 |
| HARD_MAX | 1 | attrtype | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | attrtype | unit_byte |
| LOCK2 | &dev->mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct mt76_dev)->mutex | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |
net/wireless/nl80211.c nl80211_fill_link_station() -> nla_put_s8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 0 | skb->destructor | 172217845709488128 |
| PARAM_VALUE | 0 | skb->sk | 4096-ptr_max |
| PARAM_VALUE | 1 | attrtype | 35 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &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_msg_put_channel() -> nla_put_s8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 28 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
net/wireless/nl80211.c nl80211_put_regdom() -> nla_put_s8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 8 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/wireless/nl80211.c nl80211_put_sta_info_common() -> nla_put_s8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 35 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx |
net/wireless/nl80211.c nl80211_send_wowlan_nd() -> nla_put_s8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 246 |
| BUF_SIZE | 0 | skb | 0-s32max |
| BUF_SIZE | 0 | skb | 0-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
net/ieee802154/nl-mac.c ieee802154_nl_fill_iface() -> nla_put_s8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 33 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/ieee802154/nl-mac.c ieee802154_nl_fill_iface() -> nla_put_s8()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 40 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |