Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/dsa/switch.c dsa_port_do_vlan_add() -> dsa_vlan_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vlan_list | 4096-ptr_max |
| PARAM_VALUE | 1 | vlan | 4096-ptr_max |
| DATA_SOURCE | 1 | vlan | $1 |
| LOCK2 | &dp->vlans_lock | ||
| TYPE_LOCK | (struct dsa_port)->vlans_lock |
net/dsa/switch.c dsa_port_do_vlan_del() -> dsa_vlan_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vlan_list | 4096-ptr_max |
| DATA_SOURCE | 1 | vlan | $1 |
| LOCK2 | &dp->vlans_lock | ||
| TYPE_LOCK | (struct dsa_port)->vlans_lock |
net/dsa/user.c dsa_user_vlan_rx_kill_vid() -> dsa_vlan_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vlan_list | 4096-ptr_max |
| PARAM_VALUE | 1 | vlan | 4451940358898237440 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->addr_list_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct net_device)->addr_list_lock |