Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/microchip/sparx5/sparx5_mactable.c sparx5_add_mact_entry() -> alloc_mact_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sparx5 | 4096-ptr_max |
| PARAM_VALUE | 0 | sparx5->data->consts | 4096-ptr_max |
| PARAM_VALUE | 0 | sparx5->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sparx5->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sparx5->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sparx5->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sparx5->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | sparx5->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | sparx5->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | sparx5->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | sparx5->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sparx5->mact_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sparx5->mact_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sparx5->mact_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sparx5->mact_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sparx5->mact_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | sparx5->mact_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | sparx5->mact_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | sparx5->mact_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | sparx5->mact_lock.osq.tail.counter | 0-s32max |
| 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 | 2 | vid | 1 |
| DATA_SOURCE | 0 | sparx5 | $0 |
| DATA_SOURCE | 1 | mac | $3 |
| DATA_SOURCE | 2 | vid | $4 |
| DATA_SOURCE | 3 | port_index | $2 |
| FUZZY_MAX | 2 | vid | 1 |
| UNITS | 2 | vid | unit_array_size |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/microchip/sparx5/sparx5_mactable.c sparx5_mact_handle_entry() -> alloc_mact_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sparx5 | 4096-ptr_max |
| PARAM_VALUE | 0 | sparx5->bridge_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | sparx5->data | 4096-ptr_max |
| PARAM_VALUE | 0 | sparx5->data->consts | 4096-ptr_max |
| PARAM_VALUE | 0 | sparx5->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sparx5->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sparx5->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sparx5->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sparx5->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sparx5->mact_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sparx5->mact_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sparx5->mact_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sparx5->mact_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sparx5->mact_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | sparx5->mact_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | sparx5->mact_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | sparx5->mact_lock.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | sparx5->mact_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | sparx5->mact_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sparx5->mact_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | mac | 8619886348601069568 |
| PARAM_VALUE | 3 | port_index | 0-64 |
| BUF_SIZE | 1 | mac | 6 |
| CAPPED_DATA | 0 | &sparx5->mact_entries | 1 |
| CAPPED_DATA | 0 | &sparx5->mact_lock | 1 |
| CAPPED_DATA | 3 | port_index | 1 |
| DATA_SOURCE | 0 | sparx5 | $0 |
| DATA_SOURCE | 1 | mac | $1 |
| DATA_SOURCE | 2 | vid | $2 |
| PARAM_COMPARE | 3 | port_index | < $0->data->consts->n_ports |
| HOST_DATA | 2 | vid | 0-u16max |
| UNITS | 2 | vid | unit_array_size |
| UNITS | 3 | port_index | unit_array_size |
| HALF_LOCKED2 | &pool->lock |