Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/dsa/ocelot/felix.c, line 1655
- drivers/net/ethernet/mscc/ocelot.c, line 1412
- drivers/net/ethernet/mscc/ocelot_net.c, line 602
Smatch caller information:
drivers/net/ethernet/mscc/ocelot_net.c ocelot_port_xmit_inj() -> ocelot_can_inject()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->inj_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | grp | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ocelot | unit_byte |
| LOCK2 | 0 | &ocelot->inj_lock | |
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct ocelot)->inj_lock |
drivers/net/dsa/ocelot/felix.c felix_port_deferred_xmit() -> ocelot_can_inject()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->inj_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | grp | 0 |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| UNITS | 0 | ocelot | unit_byte |
| LOCK2 | 0 | &ocelot->inj_lock | |
| TYPE_LOCK | (struct ocelot)->inj_lock |