Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/mscc/ocelot_mrp.c ocelot_mrp_add_ring_role() -> ocelot_mrp_trap_add()
| 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 | 0 | ocelot->ports | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | port | $1 |
| UNITS | 0 | ocelot | unit_byte |
| UNITS | 1 | port | unit_array_size |
drivers/net/ethernet/mscc/ocelot_mrp.c ocelot_mrp_add_ring_role() -> ocelot_mrp_trap_add()
| 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 | 0 | ocelot->mirror | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->num_phys_ports | 1-255 |
| PARAM_VALUE | 0 | ocelot->ports | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vcap_pol.pol_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vcap_pol.pol_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vcap_pol.pol_list.prev->next->next | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | ocelot->num_phys_ports | 1 |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | port | $1 |
| UNITS | 0 | ocelot | unit_byte |
| UNITS | 1 | port | unit_array_size |