Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c, line 3002
Smatch caller information:
drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c qlcnic_send_cmd_descs() -> qlcnic_tx_avail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx_ring | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &tx_ring->txq->_xmit_lock | |
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c qlcnic_send_cmd_descs() -> qlcnic_tx_avail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx_ring | 4096-ptr_max |
| CAPPED_DATA | 0 | tx_ring->sw_consumer | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &tx_ring->txq->_xmit_lock | |
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c qlcnic_send_cmd_descs() -> qlcnic_tx_avail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx_ring | 4096-ptr_max |
| CAPPED_DATA | 0 | tx_ring->sw_consumer | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &tx_ring->txq->_xmit_lock | |
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c qlcnic_dump_rings() -> qlcnic_tx_avail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx_ring | 4096-ptr_max |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &netdev->tx_global_lock |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c qlcnic_process_cmd_ring() -> qlcnic_tx_avail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx_ring | 4096-ptr_max |
| CAPPED_DATA | 0 | tx_ring->sw_consumer | 1 |
| DATA_SOURCE | 0 | tx_ring | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &tx_ring->tx_clean_lock | |
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct qlcnic_host_tx_ring)->tx_clean_lock |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c qlcnic_xmit_frame() -> qlcnic_tx_avail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx_ring | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &netdev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c qlcnic_xmit_frame() -> qlcnic_tx_avail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx_ring | 4096-ptr_max |
| CAPPED_DATA | 0 | tx_ring->sw_consumer | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &netdev->tx_global_lock | ||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |