Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- net/batman-adv/distributed-arp-table.c, line 759
- net/batman-adv/gateway_common.c, line 43
- net/batman-adv/multicast.c, line 882
- net/batman-adv/translation-table.c, line 1069
Smatch caller information:
net/batman-adv/distributed-arp-table.c batadv_dat_tvlv_container_update() -> batadv_tvlv_container_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 2 |
| PARAM_VALUE | 2 | version | 1 |
| PARAM_VALUE | 3 | tvlv_value | 0 |
| PARAM_VALUE | 4 | tvlv_value_len | 0 |
| BUF_SIZE | 0 | bat_priv->dat.hash | (-1),24 |
| DATA_SOURCE | 0 | bat_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bat_priv->bla.backbone_hash->size | |
| NO_OVERFLOW_SIMPLE | 0 | bat_priv->bla.claim_hash->size | |
| NO_OVERFLOW_SIMPLE | 0 | bat_priv->dat.hash->size | |
| NO_OVERFLOW_SIMPLE | 0 | bat_priv->orig_hash->size | |
| NO_OVERFLOW_SIMPLE | 0 | bat_priv->tt.global_hash->size | |
| NO_OVERFLOW_SIMPLE | 0 | bat_priv->tt.local_hash->size |
net/batman-adv/multicast.c batadv_mcast_mla_flags_update() -> batadv_tvlv_container_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->mcast.mla_list.first | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->mcast.mla_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->mesh_iface->priv->primary_if->refcount.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bat_priv->mesh_iface->priv->tt.changes_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->mesh_iface->priv->tt.global_hash->generation.counter | s32min-s32max |
| PARAM_VALUE | 0 | bat_priv->mesh_iface->priv->tt.local_hash->generation.counter | s32min-s32max |
| PARAM_VALUE | 0 | bat_priv->tt.changes_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->tt.changes_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->tt.changes_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->tt.changes_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->tt.local_hash | 0,4096-ptr_max |
| PARAM_VALUE | 1 | type | 6 |
| PARAM_VALUE | 2 | version | 2 |
| PARAM_VALUE | 3 | tvlv_value | 4643426404643074048 |
| PARAM_VALUE | 4 | tvlv_value_len | 4 |
| BUF_SIZE | 3 | tvlv_value | 4 |
| DATA_SOURCE | 0 | bat_priv | $0 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| UNITS | 4 | tvlv_value_len | unit_byte |
| LOCK2 | 0 | &bat_priv->mcast.mla_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct batadv_priv_mcast)->mla_lock |
net/batman-adv/translation-table.c batadv_tt_tvlv_container_update() -> batadv_tvlv_container_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->mesh_iface | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->meshif_vlan_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->tt.changes_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->tt.commit_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->tt.last_changeset | 0,16,4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->tt.last_changeset_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->tt.ogm_append_cnt.counter | 0-s32max |
| PARAM_VALUE | 1 | type | 4 |
| PARAM_VALUE | 2 | version | 1 |
| PARAM_VALUE | 3 | tvlv_value | 4096-ptr_max |
| BUF_SIZE | 0 | bat_priv->tt.last_changeset | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 0 | &bat_priv->tt.changes_list | 1 |
| DATA_SOURCE | 0 | bat_priv | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bat_priv->tt.last_changeset_len | |
| LOCK2 | 0 | &bat_priv->tt.commit_lock | |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | 0 | &bat_priv->bat_v.ogm_buff_mutex | |
| TYPE_LOCK | (struct batadv_priv_tt)->commit_lock |
net/batman-adv/gateway_common.c batadv_gw_tvlv_container_update() -> batadv_tvlv_container_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | type | 1 |
| PARAM_VALUE | 2 | version | 1 |
| PARAM_VALUE | 3 | tvlv_value | 6228713021358612480 |
| PARAM_VALUE | 4 | tvlv_value_len | 8 |
| BUF_SIZE | 0 | bat_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bat_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | tvlv_value | 8 |
| DATA_SOURCE | 0 | bat_priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 4 | tvlv_value_len | unit_byte |
| 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 &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |