Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/microchip/lan966x/lan966x_mac.c lan966x_mac_add_entry() -> lan966x_mac_find_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lan966x | 4096-ptr_max |
| BUF_SIZE | 1 | mac | 6,24,32,40,48,56,64,72,80,88,136,144,152,184,480,1040,1128 |
| BUF_SIZE | 1 | mac | 6,24,32,40,48,56,64,72,80,88,136,144,152,184,480,1040,1128 |
| DATA_SOURCE | 0 | lan966x | $0 |
| DATA_SOURCE | 1 | mac | $2 |
| DATA_SOURCE | 2 | vid | $3 |
| PREEMPT_ADD | <- disables preempt | ||
| UNITS | 2 | vid | unit_array_size |
| UNITS | 3 | port_index | unit_array_size |
| LOCK2 | 0 | &lan966x->mac_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct lan966x)->mac_lock |
drivers/net/ethernet/microchip/lan966x/lan966x_mac.c lan966x_mac_irq_process() -> lan966x_mac_find_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lan966x | 4096-ptr_max |
| PARAM_VALUE | 1 | mac | 1139502923484643328 |
| PARAM_VALUE | 2 | vid | 0-4095 |
| PARAM_VALUE | 3 | port_index | 0-254 |
| BUF_SIZE | 1 | mac | 6 |
| CAPPED_DATA | 0 | &lan966x->mac_entries | 1 |
| CAPPED_DATA | 3 | port_index | 1 |
| DATA_SOURCE | 0 | lan966x | $0 |
| PARAM_COMPARE | 3 | port_index | < $0->num_phys_ports |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | vid | unit_array_size |
| UNITS | 3 | port_index | unit_array_size |
| LOCK2 | 0 | &lan966x->mac_lock | |
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct lan966x)->mac_lock |