Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/microchip/lan966x/lan966x_fdb.c
- drivers/net/ethernet/microchip/lan966x/lan966x_main.c
Smatch caller information:
drivers/net/ethernet/microchip/lan966x/lan966x_fdb.c lan966x_fdb_bridge_event_work() -> lan966x_mac_cpu_learn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lan966x | 4096-ptr_max |
| PARAM_VALUE | 0 | lan966x->cpu_vlan_mask | 4096-ptr_max |
| BUF_SIZE | 1 | addr | 6,24,32,40,48,56,64,72,80,88,136,144,152,184,480,1040,1128 |
| NOCHECK_CALL | |||
| UNITS | 2 | vid | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/microchip/lan966x/lan966x_fdb.c lan966x_fdb_write_entries() -> lan966x_mac_cpu_learn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lan966x | 4096-ptr_max |
| PARAM_VALUE | 0 | lan966x->cpu_vlan_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | *lan966x->vlan_mask | 0-u16max |
| BUF_SIZE | 1 | addr | 6 |
| CAPPED_DATA | 0 | &lan966x->fdb_entries | 1 |
| CAPPED_DATA | 2 | vid | 1 |
| DATA_SOURCE | 0 | lan966x | $0 |
| NOCHECK_CALL | |||
| UNITS | 2 | vid | unit_array_size |
drivers/net/ethernet/microchip/lan966x/lan966x_main.c lan966x_mc_sync() -> lan966x_mac_cpu_learn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | vid | 4095 |
| BUF_SIZE | 1 | addr | 32 |
| BUF_SIZE | 1 | addr | 32 |
| DATA_SOURCE | 1 | addr | $1 |
drivers/net/ethernet/microchip/lan966x/lan966x_main.c lan966x_port_set_mac_address() -> lan966x_mac_cpu_learn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | vid | 4095 |
| BUF_SIZE | 1 | addr | 14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dev_addr_sem | ||
| HALF_LOCKED2 | global &rtnl_mutex |