Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c sparx5_handle_port_mdb_add() -> sparx5_cpu_copy_ena()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spx5 | 4096-ptr_max |
| PARAM_VALUE | 0 | spx5->data->consts | 4096-ptr_max |
| PARAM_VALUE | 0 | spx5->data->consts->n_pgids | 1054,2113 |
| PARAM_VALUE | 0 | spx5->data->consts->n_ports | 30,65 |
| PARAM_VALUE | 0 | spx5->mdb_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spx5->mdb_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | spx5->mdb_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | spx5->mdb_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spx5->mdb_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | spx5->mdb_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | spx5->mdb_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | spx5->mdb_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | spx5->mdb_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | spx5->mdb_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spx5->mdb_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | spx5->mdb_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | *spx5->pgid_map | 0-255 |
| PARAM_VALUE | 1 | pgid | 0-u16max |
| PARAM_VALUE | 2 | enable | 1 |
| CAPPED_DATA | 0 | &spx5->mdb_lock | 1 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &spx5->mdb_lock | |
| TYPE_LOCK | (struct sparx5)->mdb_lock |
drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c sparx5_handle_port_mdb_del() -> sparx5_cpu_copy_ena()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | spx5 | 4096-ptr_max |
| PARAM_VALUE | 0 | spx5->mdb_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spx5->mdb_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | spx5->mdb_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | spx5->mdb_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spx5->mdb_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | spx5->mdb_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | spx5->mdb_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | spx5->mdb_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | spx5->mdb_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | spx5->mdb_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | spx5->mdb_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | spx5->mdb_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | enable | 0 |
| CAPPED_DATA | 0 | &spx5->mdb_lock | 1 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &spx5->mdb_lock | |
| TYPE_LOCK | (struct sparx5)->mdb_lock |