Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/microchip/sparx5/sparx5_mactable.c sparx5_mact_find() -> sparx5_mact_select()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | vid | 1-u16max |
| 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 |
| CAPPED_DATA | 0 | &sparx5->lock | 1 |
| DATA_SOURCE | 0 | sparx5 | $0 |
| DATA_SOURCE | 1 | mac | $1 |
| DATA_SOURCE | 2 | vid | $2 |
| FUZZY_MAX | 2 | vid | 1 |
| NOCHECK_CALL | |||
| UNITS | 2 | vid | unit_array_size |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &sparx5->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct sparx5)->lock |
drivers/net/ethernet/microchip/sparx5/sparx5_mactable.c sparx5_mact_forget() -> sparx5_mact_select()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 |
| CAPPED_DATA | 0 | &sparx5->lock | 1 |
| DATA_SOURCE | 0 | sparx5 | $0 |
| DATA_SOURCE | 1 | mac | $1 |
| DATA_SOURCE | 2 | vid | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | vid | unit_array_size |
| LOCK2 | 0 | &sparx5->lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &sparx5->mact_lock | |
| TYPE_LOCK | (struct sparx5)->lock |
drivers/net/ethernet/microchip/sparx5/sparx5_mactable.c sparx5_mact_getnext() -> sparx5_mact_select()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | mac | 6 |
| CAPPED_DATA | 0 | &sparx5->lock | 1 |
| DATA_SOURCE | 0 | sparx5 | $0 |
| DATA_SOURCE | 1 | mac | $1 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &sparx5->lock | |
| TYPE_LOCK | (struct sparx5)->lock |
drivers/net/ethernet/microchip/sparx5/sparx5_mactable.c sparx5_mact_learn() -> sparx5_mact_select()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sparx5 | 4096-ptr_max |
| BUF_SIZE | 0 | sparx5 | (-1),84440 |
| BUF_SIZE | 0 | sparx5 | (-1),84440 |
| BUF_SIZE | 0 | sparx5->debugfs_root | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | sparx5->dev | (-1),1616 |
| BUF_SIZE | 0 | sparx5->fdma_irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | sparx5->ptp_irq | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | sparx5->xtr_irq | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | mac | (-1),6,14,24,32,40,48,56,64,72,80,88,136,144,152,184,480,1040,1128 |
| BUF_SIZE | 1 | mac | (-1),6,14,24,32,40,48,56,64,72,80,88,136,144,152,184,480,1040,1128 |
| CAPPED_DATA | 0 | &sparx5->lock | 1 |
| DATA_SOURCE | 0 | sparx5 | $0 |
| DATA_SOURCE | 1 | mac | $2 |
| DATA_SOURCE | 2 | vid | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | sparx5->chip_id | 0-u32max |
| HOST_DATA | 0 | sparx5->target_ct | 1350,1353,1362,1366,1368,30022,30025,30034,30038,30040[c] |
| NO_OVERFLOW_SIMPLE | 0 | sparx5->fdma_irq | |
| NO_OVERFLOW_SIMPLE | 0 | sparx5->port_count | |
| NO_OVERFLOW_SIMPLE | 0 | sparx5->ptp_irq | |
| NO_OVERFLOW_SIMPLE | 0 | sparx5->xtr_irq | |
| UNITS | 2 | vid | unit_array_size |
| LOCK2 | 0 | &sparx5->lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct sparx5)->lock |
drivers/net/ethernet/microchip/sparx5/sparx5_mactable.c sparx5_mact_pull_work() -> sparx5_mact_select()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sparx5 | 4096-ptr_max |
| PARAM_VALUE | 1 | mac | 8619886348601069568 |
| BUF_SIZE | 1 | mac | 6 |
| CAPPED_DATA | 0 | &sparx5->lock | 1 |
| CAPPED_DATA | 0 | &sparx5->mact_entries | 1 |
| CAPPED_DATA | 0 | &sparx5->mact_lock | 1 |
| MEM_ZERO | 1 | mac | |
| NOCHECK_CALL | |||
| HOST_DATA | 2 | vid | 0-u16max |
| UNITS | 2 | vid | unit_array_size |
| LOCK2 | 0 | &sparx5->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct sparx5)->lock |