Defined in 1 files as a function:
Referenced in 9 files:
- drivers/net/ethernet/broadcom/bnxt/bnxt.c, line 11732
- drivers/net/ethernet/chelsio/cxgb4/sge.c
- drivers/net/ethernet/engleder/tsnep_main.c
- drivers/net/ethernet/marvell/mv643xx_eth.c, line 1119
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c, line 1954
- drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c, line 2993
- drivers/net/virtio_net.c
Smatch caller information:
drivers/net/ethernet/marvell/mv643xx_eth.c txq_reclaim() -> __netif_tx_unlock_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | txq | 4096-ptr_max |
| PARAM_VALUE | 0 | txq->_xmit_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | txq->xmit_lock_owner | 0 |
| DATA_SOURCE | 0 | txq | r netdev_get_tx_queue |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &txq->_xmit_lock | |
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_tx_queue_stop() -> __netif_tx_unlock_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | txq | 4096-ptr_max |
| PARAM_VALUE | 0 | txq->_xmit_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | txq->xmit_lock_owner | 0 |
| DATA_SOURCE | 0 | txq | r netdev_get_tx_queue |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &txq->_xmit_lock | |
| HALF_LOCKED2 | &dev->lock | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/chelsio/cxgb4/sge.c cxgb4_selftest_lb_pkt() -> __netif_tx_unlock_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | txq | 4096-ptr_max |
| PARAM_VALUE | 0 | txq->_xmit_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | txq->xmit_lock_owner | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &txq->_xmit_lock | |
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/chelsio/cxgb4/sge.c cxgb4_selftest_lb_pkt() -> __netif_tx_unlock_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | txq | 4096-ptr_max |
| PARAM_VALUE | 0 | txq->_xmit_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | txq->xmit_lock_owner | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &txq->_xmit_lock | |
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/chelsio/cxgb4/sge.c t4_free_sge_resources() -> __netif_tx_unlock_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | txq | 4096-ptr_max |
| PARAM_VALUE | 0 | txq->_xmit_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | txq->xmit_lock_owner | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &txq->_xmit_lock | |
| HALF_LOCKED2 | global &uld_mutex | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/engleder/tsnep_main.c tsnep_tx_disable() -> __netif_tx_unlock_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | txq | 4096-ptr_max |
| PARAM_VALUE | 0 | txq->_xmit_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | txq->xmit_lock_owner | 0 |
| DATA_SOURCE | 0 | txq | r netdev_get_tx_queue |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &txq->_xmit_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/engleder/tsnep_main.c tsnep_tx_enable() -> __netif_tx_unlock_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | txq | 4096-ptr_max |
| PARAM_VALUE | 0 | txq->_xmit_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | txq->qdisc->next_sched | 0 |
| PARAM_VALUE | 0 | txq->xmit_lock_owner | 0 |
| DATA_SOURCE | 0 | txq | r netdev_get_tx_queue |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &txq->_xmit_lock | |
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c qlcnic_send_cmd_descs() -> __netif_tx_unlock_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | txq | 4096-ptr_max |
| PARAM_VALUE | 0 | txq->_xmit_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | txq->xmit_lock_owner | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &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() -> __netif_tx_unlock_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | txq | 4096-ptr_max |
| PARAM_VALUE | 0 | txq->_xmit_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | txq->xmit_lock_owner | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &txq->_xmit_lock | |
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_tx_clean() -> __netif_tx_unlock_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | txq | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_tx_disable_queue() -> __netif_tx_unlock_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | txq | 4096-ptr_max |
| PARAM_VALUE | 0 | txq->_xmit_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | txq->xmit_lock_owner | 0 |
| DATA_SOURCE | 0 | txq | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &txq->_xmit_lock | |
| HALF_LOCKED2 | &dev->lock | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/virtio_net.c virtnet_tx_pause() -> __netif_tx_unlock_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | txq | 4096-ptr_max |
| PARAM_VALUE | 0 | txq->_xmit_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | txq->xmit_lock_owner | 0 |
| DATA_SOURCE | 0 | txq | r netdev_get_tx_queue |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &txq->_xmit_lock | |
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/virtio_net.c virtnet_tx_resume() -> __netif_tx_unlock_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | txq | 4096-ptr_max |
| PARAM_VALUE | 0 | txq->_xmit_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | txq->xmit_lock_owner | 0 |
| DATA_SOURCE | 0 | txq | r netdev_get_tx_queue |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &txq->_xmit_lock | |
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c netxen_send_cmd_descs() -> __netif_tx_unlock_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | txq | 4096-ptr_max |
| PARAM_VALUE | 0 | txq->_xmit_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | txq->xmit_lock_owner | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &txq->_xmit_lock | |
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c netxen_send_cmd_descs() -> __netif_tx_unlock_bh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | txq | 4096-ptr_max |
| PARAM_VALUE | 0 | txq->_xmit_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | txq->xmit_lock_owner | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &txq->_xmit_lock | |
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |