Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/batman-adv/mesh-interface.c batadv_interface_add_vid() -> batadv_tt_local_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mesh_iface | 4096-ptr_max |
| PARAM_VALUE | 3 | ifindex | 0 |
| PARAM_VALUE | 4 | mark | 0 |
| BUF_SIZE | 1 | addr | 32 |
| CAPPED_DATA | 2 | vid | 1 |
| DATA_SOURCE | 2 | vid | $2 [m] |
| BIT_INFO | 2 | vid | 0x8000,0xffff |
| NOSPEC | 2 | vid | |
| NOSPEC | 2 | vid | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | vid | 32769-36862[c] |
net/batman-adv/mesh-interface.c batadv_interface_set_mac_addr() -> batadv_tt_local_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mesh_iface | 4096-ptr_max |
| PARAM_VALUE | 0 | mesh_iface->dev_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | mesh_iface->ethtool_ops->rxfh_max_num_contexts | 0,2,8,16,33 |
| PARAM_VALUE | 0 | mesh_iface->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mesh_iface->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | mesh_iface->netdev_ops->ndo_set_config | 0,1586268954384080896,2133952100825280512,4430316855586635776 |
| PARAM_VALUE | 0 | mesh_iface->netdev_ops->ndo_set_mac_address | 1-u64max |
| PARAM_VALUE | 0 | mesh_iface->priv->mesh_state | 1 |
| PARAM_VALUE | 0 | mesh_iface->rtnl_link_ops->alloc | 0,1182153660833808384,3130032447137456128 |
| PARAM_VALUE | 0 | mesh_iface->rtnl_link_ops->get_num_rx_queues | 0,1694260139628544000,4559208055891021824,7097615251001798656,8443738062496038912 |
| PARAM_VALUE | 0 | mesh_iface->rtnl_link_ops->get_num_tx_queues | 0,1694260139628544000,4559208055891021824,7071371917186535424,8443738062496038912 |
| PARAM_VALUE | 0 | mesh_iface->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | mesh_iface->rtnl_link_ops->peer_type | 0-1 |
| PARAM_VALUE | 0 | *mesh_iface->name | 0 |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 3 | ifindex | 0 |
| PARAM_VALUE | 4 | mark | 0 |
| BUF_SIZE | 0 | mesh_iface->nd_net.net | (-1),10304 |
| BUF_SIZE | 1 | addr | 14 |
| CAPPED_DATA | 0 | mesh_iface->addr_len | 1 |
| CAPPED_DATA | 0 | mesh_iface->type | 1 |
| DATA_SOURCE | 0 | mesh_iface | $0 |
| NOSPEC | 0 | mesh_iface->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | mesh_iface->flags | 0-527362[c] |
| USER_DATA | 0 | mesh_iface->ifindex | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | mesh_iface->group | |
| NO_OVERFLOW_SIMPLE | 0 | mesh_iface->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | mesh_iface->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | mesh_iface->num_tc | |
| NO_OVERFLOW_SIMPLE | 0 | mesh_iface->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | mesh_iface->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | mesh_iface->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | mesh_iface->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | mesh_iface->tx_queue_len | |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &dev_addr_sem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/batman-adv/mesh-interface.c batadv_interface_tx() -> batadv_tt_local_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mesh_iface | 4096-ptr_max |
| PARAM_VALUE | 0 | mesh_iface->priv->bla.backbone_hash->generation.counter | s32min-s32max |
| PARAM_VALUE | 0 | mesh_iface->priv->bla.claim_hash->generation.counter | s32min-s32max |
| PARAM_VALUE | 0 | mesh_iface->priv->bla.num_requests_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mesh_iface->priv->mesh_state | 1 |
| PARAM_VALUE | 0 | mesh_iface->priv->primary_if | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mesh_iface->priv->primary_if->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | mesh_iface->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 2 | vid | 0,32769-36863 |
| BUF_SIZE | 1 | addr | 6 |
| CAPPED_DATA | 0 | mesh_iface->num_tx_queues | 1 |
| CAPPED_DATA | 2 | vid | 1 |
| DATA_SOURCE | 0 | mesh_iface | $1 |
| DATA_SOURCE | 2 | vid | r batadv_get_vid |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mesh_iface->group | |
| NO_OVERFLOW_SIMPLE | 0 | mesh_iface->num_tc | |
| NO_OVERFLOW_SIMPLE | 0 | mesh_iface->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | mesh_iface->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | mesh_iface->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | mesh_iface->stats.rx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | mesh_iface->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | mesh_iface->tx_queue_len | |
| UNITS | 3 | ifindex | unit_array_size |
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | 0 | &mesh_iface->tx_global_lock |
net/batman-adv/mesh-interface.c batadv_meshif_create_vlan() -> batadv_tt_local_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mesh_iface | 4096-ptr_max |
| PARAM_VALUE | 3 | ifindex | 0 |
| PARAM_VALUE | 4 | mark | 0 |
| BUF_SIZE | 1 | addr | 32 |
| DATA_SOURCE | 2 | vid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | vid | 32769-36862[c] |
net/batman-adv/multicast.c batadv_mcast_mla_tt_add() -> batadv_tt_local_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | vid | 0 |
| PARAM_VALUE | 3 | ifindex | 0 |
| PARAM_VALUE | 4 | mark | 0 |
| BUF_SIZE | 1 | addr | 6 |
| PREEMPT_ADD | |||
| LOCK2 | &bat_priv->mcast.mla_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct batadv_priv_mcast)->mla_lock |