Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/vxlan/vxlan_core.c __vxlan_fdb_delete() -> vxlan_find_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vxlan | 4096-ptr_max |
| PARAM_VALUE | 0 | vxlan->hash_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 1 | mac | (-1),6,8 |
| BUF_SIZE | 1 | mac | (-1),6,8 |
| DATA_SOURCE | 0 | vxlan | $0 |
| DATA_SOURCE | 1 | mac | $1 |
| DATA_SOURCE | 2 | vni | $4 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *mac | 0-255 |
| USER_PTR | 1 | mac | |
| LOCK2 | bh | ||
| LOCK2 | 0 | &vxlan->hash_lock | |
| HALF_LOCKED2 | &vxlan->hash_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct vxlan_dev)->hash_lock |
drivers/net/vxlan/vxlan_core.c vxlan_fdb_external_learn_del() -> vxlan_find_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vxlan | 4096-ptr_max |
| PARAM_VALUE | 0 | vxlan->hash_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 1 | mac | 6 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &vxlan->hash_lock | |
| TYPE_LOCK | (struct vxlan_dev)->hash_lock |
drivers/net/vxlan/vxlan_core.c vxlan_fdb_offloaded_set() -> vxlan_find_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vxlan | 4096-ptr_max |
| PARAM_VALUE | 0 | vxlan->hash_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 1 | mac | 6 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | bh | ||
| LOCK2 | 0 | &vxlan->hash_lock | |
| TYPE_LOCK | (struct vxlan_dev)->hash_lock |
drivers/net/vxlan/vxlan_core.c vxlan_fdb_update() -> vxlan_find_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vxlan | 4096-ptr_max |
| PARAM_VALUE | 0 | vxlan->hash_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 1 | mac | (-1),6,8 |
| BUF_SIZE | 1 | mac | (-1),6,8 |
| DATA_SOURCE | 0 | vxlan | $0 |
| DATA_SOURCE | 1 | mac | $1 |
| DATA_SOURCE | 2 | vni | $6 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vxlan->cfg.port_max | 0-u16max |
| USER_DATA | 0 | vxlan->cfg.port_min | 0-u16max |
| USER_DATA | 1 | *mac | 0-255 |
| USER_PTR | 1 | mac | |
| LOCK2 | 0 | &vxlan->hash_lock | |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct vxlan_dev)->hash_lock |