| /linux/block/ |
| H A D | blk-mq-tag.c | 64 users = tags->active_queues + 1; in __blk_mq_tag_busy() 65 WRITE_ONCE(tags->active_queues, users); in __blk_mq_tag_busy() 101 users = tags->active_queues - 1; in __blk_mq_tag_idle() 102 WRITE_ONCE(tags->active_queues, users); in __blk_mq_tag_idle()
|
| H A D | blk-mq.h | 427 users = READ_ONCE(hctx->tags->active_queues); in hctx_may_queue()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | mcdi_functions.c | 366 atomic_set(&efx->active_queues, 0); in efx_fini_dmaq() 380 atomic_read(&efx->active_queues) == 0, in efx_fini_dmaq() 382 pending = atomic_read(&efx->active_queues); in efx_fini_dmaq()
|
| H A D | efx_channels.c | 1099 atomic_inc(&efx->active_queues); in efx_start_channels() 1108 atomic_inc(&efx->active_queues); in efx_start_channels()
|
| H A D | net_driver.h | 1162 atomic_t active_queues; member
|
| H A D | mcdi.c | 1284 if (atomic_dec_and_test(&efx->active_queues)) in efx_handle_drain_event() 1287 WARN_ON(atomic_read(&efx->active_queues) < 0); in efx_handle_drain_event()
|
| H A D | mcdi_port_common.c | 1176 if (rc && (rc != -ENOENT || atomic_read(&efx->active_queues))) in efx_mcdi_mac_stats()
|
| H A D | ef10.c | 1930 if (rc != -ENOENT || atomic_read(&efx->active_queues)) in efx_ef10_try_update_nic_stats_vf() 3238 atomic_set(&efx->active_queues, 0); in efx_ef10_prepare_flr()
|
| /linux/drivers/gpu/drm/msm/adreno/ |
| H A D | a6xx_hfi.h | 13 u32 active_queues; /* Number of active queues */ member
|
| H A D | a6xx_hfi.c | 1076 table->active_queues = ARRAY_SIZE(gmu->queues); in a6xx_hfi_init()
|
| /linux/drivers/net/ethernet/sfc/falcon/ |
| H A D | farch.c | 609 return (atomic_read(&efx->active_queues) == 0 || in ef4_farch_flush_wake() 676 while (timeout && atomic_read(&efx->active_queues) > 0) { in ef4_farch_do_flush() 701 if (atomic_read(&efx->active_queues) && in ef4_farch_do_flush() 704 "(rx %d+%d)\n", atomic_read(&efx->active_queues), in ef4_farch_do_flush() 709 atomic_set(&efx->active_queues, 0); in ef4_farch_do_flush() 762 atomic_set(&efx->active_queues, 0); in ef4_farch_finish_flr() 1146 WARN_ON(atomic_read(&efx->active_queues) == 0); in ef4_farch_handle_drain_event() 1147 atomic_dec(&efx->active_queues); in ef4_farch_handle_drain_event()
|
| H A D | efx.c | 661 atomic_inc(&efx->active_queues); in ef4_start_datapath() 666 atomic_inc(&efx->active_queues); in ef4_start_datapath()
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | farch.c | 597 return (atomic_read(&efx->active_queues) == 0 || in efx_farch_flush_wake() 664 while (timeout && atomic_read(&efx->active_queues) > 0) { in efx_farch_do_flush() 700 if (atomic_read(&efx->active_queues) && in efx_farch_do_flush() 703 "(rx %d+%d)\n", atomic_read(&efx->active_queues), in efx_farch_do_flush() 708 atomic_set(&efx->active_queues, 0); in efx_farch_do_flush() 762 atomic_set(&efx->active_queues, 0); in efx_farch_finish_flr() 1139 WARN_ON(atomic_read(&efx->active_queues) == 0); in efx_farch_handle_drain_event() 1140 atomic_dec(&efx->active_queues); in efx_farch_handle_drain_event()
|
| H A D | efx_channels.c | 1129 atomic_inc(&efx->active_queues); in efx_siena_start_channels() 1134 atomic_inc(&efx->active_queues); in efx_siena_start_channels()
|
| H A D | net_driver.h | 1085 atomic_t active_queues; member
|
| H A D | mcdi.c | 1307 if (atomic_dec_and_test(&efx->active_queues)) in efx_handle_drain_event() 1310 WARN_ON(atomic_read(&efx->active_queues) < 0); in efx_handle_drain_event()
|
| H A D | mcdi_port_common.c | 1183 if (rc && (rc != -ENOENT || atomic_read(&efx->active_queues))) in efx_mcdi_mac_stats()
|
| /linux/drivers/scsi/ibmvscsi/ |
| H A D | ibmvfc.c | 1133 hwqs = vhost->scsi_scrqs.active_queues; in ibmvfc_purge_requests() 1985 scsi_channel = hwq % vhost->scsi_scrqs.active_queues; in ibmvfc_queuecommand() 1990 evt->hwq = hwq % vhost->scsi_scrqs.active_queues; in ibmvfc_queuecommand() 2502 q_size = vhost->scsi_scrqs.active_queues; in ibmvfc_wait_for_ops() 2612 num_hwq = vhost->scsi_scrqs.active_queues; in ibmvfc_cancel_all_mq() 5032 int flags, active_queues, i; in ibmvfc_channel_setup_done() local 5041 active_queues = be32_to_cpu(setup->num_scsi_subq_channels); in ibmvfc_channel_setup_done() 5042 scrqs->active_queues = active_queues; in ibmvfc_channel_setup_done() 5048 if (active_queues) in ibmvfc_channel_setup_done() 5050 for (i = 0; i < active_queues; i++) in ibmvfc_channel_setup_done() [all …]
|
| H A D | ibmvfc.h | 828 unsigned int active_queues; member
|
| /linux/net/sched/ |
| H A D | sch_cake.c | 267 u32 active_queues; member 2045 q->active_queues = num_active_qs; in cake_dequeue() 2880 qd->active_queues = 0; in cake_init() 3006 PUT_STAT_U32(ACTIVE_QUEUES, q->active_queues); in cake_dump_stats()
|