Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/mscc/ocelot.c ocelot_migrate_mc() -> ocelot_mdb_get_pgid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->mact_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ocelot->mact_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->mact_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ocelot->mact_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ocelot->mact_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 1 | mc | 4096-ptr_max |
| PARAM_VALUE | 1 | mc->addr | 4096-ptr_max |
| PARAM_VALUE | 1 | mc->entry_type | 0-3 |
| PARAM_VALUE | 1 | mc->pgid | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | mc->pgid | 1 |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | mc | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ocelot | unit_byte |
| HALF_LOCKED2 | global &dsa2_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/mscc/ocelot.c ocelot_port_mdb_add() -> ocelot_mdb_get_pgid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->mact_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ocelot->mact_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->mact_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ocelot->mact_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ocelot->mact_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 1 | mc | 4096-ptr_max |
| PARAM_VALUE | 1 | mc->addr | 4096-ptr_max |
| PARAM_VALUE | 1 | mc->entry_type | 0-3 |
| PARAM_VALUE | 1 | mc->pgid | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | mc | 40,u64max |
| BUF_SIZE | 1 | mc | 40,u64max |
| CAPPED_DATA | 1 | mc->pgid | 1 |
| DATA_SOURCE | 0 | ocelot | $0 |
| UNITS | 0 | ocelot | unit_byte |
drivers/net/ethernet/mscc/ocelot.c ocelot_port_mdb_del() -> ocelot_mdb_get_pgid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->mact_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ocelot->mact_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->mact_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ocelot->mact_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ocelot->mact_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 1 | mc | 4096-ptr_max |
| PARAM_VALUE | 1 | mc->addr | 4096-ptr_max |
| PARAM_VALUE | 1 | mc->entry_type | 0-3 |
| PARAM_VALUE | 1 | mc->pgid | 4096-ptr_max |
| PARAM_VALUE | 1 | mc->ports | 1-u16max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | mc->pgid | 1 |
| CAPPED_DATA | 1 | mc->vid | 1 |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | mc | r ocelot_multicast_get |
| UNITS | 0 | ocelot | unit_byte |