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/main.c
- net/batman-adv/mesh-interface.c
- net/batman-adv/netlink.c
- net/batman-adv/translation-table.c
Smatch caller information:
net/batman-adv/mesh-interface.c batadv_interface_add_vid() -> batadv_meshif_vlan_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | vid | $2 [m] |
| BIT_INFO | 1 | vid | 0x8000,0xffff |
| NOSPEC | 1 | vid | |
| NOSPEC | 1 | vid | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | vid | 32769-36862[c] |
net/batman-adv/mesh-interface.c batadv_interface_kill_vid() -> batadv_meshif_vlan_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 1 | vid | 0x8000,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/batman-adv/mesh-interface.c batadv_meshif_create_vlan() -> batadv_meshif_vlan_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->meshif_vlan_list_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | bat_priv | $0 |
| DATA_SOURCE | 1 | vid | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | vid | 32769-36862[c] |
| LOCK2 | bh | ||
| LOCK2 | 0 | &bat_priv->meshif_vlan_list_lock | |
| TYPE_LOCK | (struct batadv_priv)->meshif_vlan_list_lock |
net/batman-adv/main.c batadv_mesh_free() -> batadv_meshif_vlan_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->bat_v.ogm_buff.buf | 0 |
| PARAM_VALUE | 0 | bat_priv->bat_v.ogm_buff.capacity | 0 |
| PARAM_VALUE | 0 | bat_priv->bat_v.ogm_buff.header_length | 0 |
| PARAM_VALUE | 0 | bat_priv->bat_v.ogm_buff.len | 0 |
| PARAM_VALUE | 0 | bat_priv->bat_v.ogm_buff_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->bat_v.ogm_buff_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bat_priv->bat_v.ogm_buff_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | bat_priv->bat_v.ogm_buff_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->bat_v.ogm_buff_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | bat_priv->bat_v.ogm_buff_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bat_priv->bat_v.ogm_buff_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | bat_priv->bat_v.ogm_buff_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bat_priv->bat_v.ogm_buff_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bat_priv->bat_v.ogm_wq.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->bla.backbone_hash | 0 |
| PARAM_VALUE | 0 | bat_priv->bla.claim_hash | 0 |
| PARAM_VALUE | 0 | bat_priv->bla.work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->dat.hash | 0 |
| PARAM_VALUE | 0 | bat_priv->dat.work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->forw_bat_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->forw_bcast_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->gw.curr_gw | 0 |
| PARAM_VALUE | 0 | bat_priv->gw.list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->mcast.work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->mesh_state | 2 |
| PARAM_VALUE | 0 | bat_priv->primary_if | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->primary_if->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | bat_priv->tp_list_lock.rlock.dep_map->name | 0-255 |
| 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 | 0 | bat_priv->tt.local_hash->generation.counter | s32min-s32max |
| PARAM_VALUE | 0 | bat_priv->tvlv.container_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->tvlv.handler_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | vid | 0 |
| MEM_ZERO | 0 | &bat_priv->bat_v.ogm_buff | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
net/batman-adv/main.c batadv_vlan_ap_isola_get() -> batadv_meshif_vlan_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->algo_ops->name | 4096-ptr_max |
| PARAM_VALUE | 1 | vid | 0,32769-36863 |
| CAPPED_DATA | 1 | vid | 1 |
| DATA_SOURCE | 0 | bat_priv | $0 |
| DATA_SOURCE | 1 | vid | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | vid | 32769-36863[c] |
| HALF_LOCKED2 | rcu_read |
net/batman-adv/translation-table.c batadv_is_ap_isolated() -> batadv_meshif_vlan_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->bat_counters | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->bla.bcast_duplist_curr | 0-15 |
| PARAM_VALUE | 0 | bat_priv->bla.bcast_duplist_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->primary_if | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->primary_if->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | vid | 0,32769-36863 |
| CAPPED_DATA | 1 | vid | 1 |
| DATA_SOURCE | 0 | bat_priv | $0 |
| DATA_SOURCE | 1 | vid | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | vid | 32769-36863[c] |
| HALF_LOCKED2 | rcu_read |
net/batman-adv/translation-table.c batadv_tt_local_add() -> batadv_meshif_vlan_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->tt.local_hash | 0,4096-ptr_max |
| DATA_SOURCE | 1 | vid | $2 |
| NOSPEC | 1 | vid | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | vid | 32769-36862[c] |
| HALF_LOCKED2 | &bat_priv->mcast.mla_lock | ||
| HALF_LOCKED2 | rcu_read |
net/batman-adv/translation-table.c batadv_tt_local_dump_entry() -> batadv_meshif_vlan_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->primary_if | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->primary_if->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | bat_priv->tt.local_hash->size | 1-u32max |
| DATA_SOURCE | 0 | bat_priv | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |
net/batman-adv/translation-table.c batadv_tt_local_size_mod() -> batadv_meshif_vlan_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->tt.commit_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bat_priv->tt.local_hash | 1-u64max |
| PARAM_VALUE | 0 | bat_priv->tt.local_hash->size | 1-u32max |
| PARAM_VALUE | 0 | bat_priv->tt.local_hash->table | 4096-ptr_max |
| DATA_SOURCE | 0 | bat_priv | $0 |
| DATA_SOURCE | 1 | vid | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &bat_priv->tt.commit_lock | |
| HALF_LOCKED2 | list_lock | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | 0 | &bat_priv->bat_v.ogm_buff_mutex | |
| TYPE_LOCK | (struct batadv_priv_tt)->commit_lock |
net/batman-adv/netlink.c batadv_get_vlan_from_info() -> batadv_meshif_vlan_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | bat_priv | $0 |
| BIT_INFO | 1 | vid | 0x8000,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/batman-adv/netlink.c batadv_netlink_mesh_fill_ap_isolation() -> batadv_meshif_vlan_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->algo_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->algo_ops->gw.get_best_gw_node | 7717109917932670976,8833952318193025024 |
| PARAM_VALUE | 0 | bat_priv->algo_ops->gw.is_eligible | 333824725560479744,7656349274982670336 |
| PARAM_VALUE | 0 | bat_priv->algo_ops->gw.sel_class_max | 255,u32max |
| PARAM_VALUE | 0 | bat_priv->algo_ops->name | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->mesh_iface | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->mesh_iface->name | 4096-ptr_max |
| PARAM_VALUE | 0 | bat_priv->primary_if | 0,4096-ptr_max |
| PARAM_VALUE | 1 | vid | 0 |
| BUF_SIZE | 0 | bat_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bat_priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | bat_priv | $1 |
| 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 &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/batman-adv/netlink.c batadv_netlink_set_mesh_ap_isolation() -> batadv_meshif_vlan_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | vid | 0 |
| BUF_SIZE | 0 | bat_priv | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bat_priv | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | bat_priv | $1 |
| 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 |