Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/mscc/ocelot.c ocelot_ifh_set_basic() -> ocelot_ifh_set_qos_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *injection | 0-255 |
| PARAM_VALUE | 1 | qos_class | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | injection | 1-s32max |
| BUF_SIZE | 0 | injection | 1-s32max |
| DATA_SOURCE | 0 | injection | $0 |
| MEM_ZERO | 0 | injection | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | qos_class | unit_array_size |
| HALF_LOCKED2 | &fdma->tx_ring.xmit_lock | ||
| HALF_LOCKED2 | &ocelot->inj_lock |
net/dsa/tag_ocelot.c ocelot_xmit_common() -> ocelot_ifh_set_qos_class()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *injection | 0-255 |
| PARAM_VALUE | 1 | qos_class | 0-u32max |
| BUF_SIZE | 0 | injection | 1-s32max |
| BUF_SIZE | 0 | injection | 1-s32max |
| DATA_SOURCE | 0 | injection | r skb_push |
| MEM_ZERO | 0 | injection | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | qos_class | unit_array_size |
| HALF_LOCKED2 | &netdev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |