Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/sfc/falcon/efx.c, line 1915
- drivers/net/ethernet/sfc/falcon/ethtool.c
- drivers/net/ethernet/sfc/falcon/net_driver.h
Smatch caller information:
drivers/net/ethernet/sfc/falcon/tx.c ef4_setup_tc() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/falcon/efx.c ef4_init_irq_moderation() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/falcon/efx.c ef4_probe_channel() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 4096-ptr_max |
| PARAM_VALUE | 0 | channel->efx | 4096-ptr_max |
| DATA_SOURCE | 0 | channel | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/falcon/efx.c ef4_process_channel() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 4096-ptr_max |
| DATA_SOURCE | 0 | channel | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/falcon/efx.c ef4_process_channel() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 4096-ptr_max |
| PARAM_VALUE | 0 | channel->efx | 4096-ptr_max |
| PARAM_VALUE | 0 | channel->efx->n_tx_channels | 1-u32max |
| CAPPED_DATA | 0 | channel->efx->n_tx_channels | 1 |
| DATA_SOURCE | 0 | channel | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/sfc/falcon/efx.c ef4_realloc_channels() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/falcon/efx.c ef4_register_netdev() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/falcon/efx.c ef4_remove_channel() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 4096-ptr_max |
| PARAM_VALUE | 0 | channel->efx | 4096-ptr_max |
| DATA_SOURCE | 0 | channel | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/falcon/efx.c ef4_set_channels() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 4096-ptr_max |
| CAPPED_DATA | 0 | channel->rx_queue.core_index | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/sfc/falcon/efx.c ef4_start_datapath() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/falcon/efx.c ef4_stop_datapath() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/falcon/farch.c ef4_check_tx_flush_complete() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/falcon/farch.c ef4_farch_do_flush() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/falcon/farch.c ef4_farch_fini_dmaq() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sfc/falcon/selftest.c ef4_test_loopbacks() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | channel | r ef4_get_channel |
drivers/net/ethernet/sfc/falcon/ethtool.c ef4_describe_per_queue_stats() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/falcon/ethtool.c ef4_ethtool_get_stats() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 1-u64max |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &efx->stats_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct ef4_nic)->stats_lock |
drivers/net/ethernet/sfc/falcon/ethtool.c ef4_ethtool_get_stats() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 1-u64max |
drivers/net/ethernet/sfc/falcon/ethtool.c ef4_ethtool_get_stats() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 4096-ptr_max |
| PARAM_VALUE | 0 | channel->efx | 4096-ptr_max |
| PARAM_VALUE | 0 | channel->efx->n_tx_channels | 1-u32max |
| CAPPED_DATA | 0 | channel->efx->n_tx_channels | 1 |
drivers/net/ethernet/sfc/falcon/ethtool.c ef4_fill_loopback_test() -> ef4_channel_has_tx_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | channel | r ef4_get_channel |
| RX_PATH | |||
| TASK_NOT_RUNNING |