Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/atheros/alx/main.c alx_clean_tx_irq() -> alx_free_txbuf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | txq | 4096-ptr_max |
| PARAM_VALUE | 0 | txq->bufs | 4096-ptr_max |
| PARAM_VALUE | 0 | txq->netdev | 4096-ptr_max |
| CAPPED_DATA | 0 | txq->netdev->num_tx_queues | 1 |
| DATA_SOURCE | 0 | txq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | entry | unit_page |
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/atheros/alx/main.c alx_free_txring_buf() -> alx_free_txbuf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | txq | 4096-ptr_max |
| PARAM_VALUE | 0 | txq->bufs | 1-u64max |
| PARAM_VALUE | 0 | txq->count | 1-u16max |
| PARAM_VALUE | 1 | entry | 0-65534 |
| CAPPED_DATA | 1 | entry | 1 |
| DATA_SOURCE | 0 | txq | $0 |
| PARAM_COMPARE | 1 | entry | < $0->count |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &alx->mtx | ||
| TYPE_LOCK | (struct alx_priv)->mtx |
drivers/net/ethernet/atheros/alx/main.c alx_map_tx_skb() -> alx_free_txbuf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | txq | 4096-ptr_max |
| PARAM_VALUE | 0 | txq->tpd | 4096-ptr_max |
| PARAM_VALUE | 1 | entry | 0-u16max |
| CAPPED_DATA | 0 | txq->read_idx | 1 |
| DATA_SOURCE | 0 | txq | $0 |
| FUZZY_MAX | 1 | entry | 0 |
| PARAM_COMPARE | 1 | entry | < $0->write_idx |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | entry | unit_page |
| HALF_LOCKED2 | &netdev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |