Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/sun/niu.c niu_free_tx_ring_info() -> release_tx_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->device->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | np->num_tx_rings | 1-s32max |
| PARAM_VALUE | 0 | np->ops->alloc_coherent | 4096-ptr_max |
| PARAM_VALUE | 0 | np->ops->unmap_single | 4096-ptr_max |
| PARAM_VALUE | 0 | np->rx_rings | 0 |
| PARAM_VALUE | 0 | np->tx_rings | 4096-ptr_max |
| PARAM_VALUE | 0 | *np->dev->prio_tc_map | 0-255 |
| PARAM_VALUE | 1 | rp | 4096-ptr_max |
| PARAM_VALUE | 1 | rp->descr | 1-u64max |
| PARAM_VALUE | 1 | rp->mbox | 0 |
| PARAM_VALUE | 1 | rp->tx_buffs | 4096-ptr_max |
| PARAM_VALUE | 2 | idx | 0-255 |
| BUF_SIZE | 0 | np->rx_rings | (-1)-42840 |
| BUF_SIZE | 0 | np->tx_rings | (-1)-1073040 |
| CAPPED_DATA | 0 | np->device->cma_area->nranges | 1 |
| DATA_SOURCE | 0 | np | $0 |
| DATA_SOURCE | 1 | rp | $1 |
| FUZZY_MAX | 2 | idx | 255 |
| HARD_MAX | 2 | idx | 255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | np->dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | np->dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | np->num_rx_rings | |
| NO_OVERFLOW_SIMPLE | 0 | np->num_tx_rings |
drivers/net/ethernet/sun/niu.c niu_reset_buffers() -> release_tx_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | np->dev->tx_global_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | np->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | np->num_tx_rings | 1-s32max |
| PARAM_VALUE | 0 | np->ops->unmap_single | 4096-ptr_max |
| PARAM_VALUE | 0 | np->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | np->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | np->timer.function | 0 |
| PARAM_VALUE | 0 | np->tx_rings | 4096-ptr_max |
| PARAM_VALUE | 0 | *np->dev->name | 0-255 |
| PARAM_VALUE | 1 | rp | 4096-ptr_max |
| PARAM_VALUE | 1 | rp->tx_buffs | 4096-ptr_max |
| PARAM_VALUE | 2 | idx | 0-255 |
| CAPPED_DATA | 0 | np->num_ldg | 1 |
| CAPPED_DATA | 0 | np->num_rx_rings | 1 |
| CAPPED_DATA | 0 | np->num_tx_rings | 1 |
| DATA_SOURCE | 0 | np | $0 |
| FUZZY_MAX | 2 | idx | 255 |
| HARD_MAX | 2 | idx | 255 |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/sun/niu.c niu_tx_work() -> release_tx_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | np->num_tx_rings | 1-s32max |
| PARAM_VALUE | 0 | np->ops->unmap_single | 4096-ptr_max |
| PARAM_VALUE | 0 | np->tx_rings | 4096-ptr_max |
| PARAM_VALUE | 0 | *np->dev->name | 0-255 |
| PARAM_VALUE | 1 | rp | 4096-ptr_max |
| PARAM_VALUE | 1 | rp->last_pkt_cnt | 0-4095 |
| PARAM_VALUE | 1 | rp->tx_cs | 16384-u64max |
| CAPPED_DATA | 0 | np->dev->num_tx_queues | 1 |
| DATA_SOURCE | 0 | np | $0 |
| DATA_SOURCE | 1 | rp | $1 |
| BIT_INFO | 0 | np->msg_enable | 0x0,0xffffffff |