/linux/block/ |
H A D | blk-mq-tag.c | 61 users = tags->active_queues + 1; in __blk_mq_tag_busy() 62 WRITE_ONCE(tags->active_queues, users); in __blk_mq_tag_busy() 98 users = tags->active_queues - 1; in __blk_mq_tag_idle() 99 WRITE_ONCE(tags->active_queues, users); in __blk_mq_tag_idle()
|
H A D | blk-mq.h | 409 users = READ_ONCE(hctx->tags->active_queues); in hctx_may_queue()
|
H A D | blk-mq-debugfs.c | 405 READ_ONCE(tags->active_queues)); in blk_mq_debugfs_tags_show()
|
/linux/drivers/gpu/drm/imagination/ |
H A D | pvr_device.c | 133 LIST_HEAD(active_queues); in pvr_device_process_active_queues() 141 list_splice_init(&pvr_dev->queues.active, &active_queues); in pvr_device_process_active_queues() 143 list_for_each_entry_safe(queue, tmp_queue, &active_queues, node) in pvr_device_process_active_queues()
|
/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 | 1100 atomic_inc(&efx->active_queues); in efx_start_channels() 1105 atomic_inc(&efx->active_queues); in efx_start_channels()
|
H A D | net_driver.h | 1126 atomic_t active_queues; member
|
H A D | mcdi.c | 1301 if (atomic_dec_and_test(&efx->active_queues)) in efx_handle_drain_event() 1304 WARN_ON(atomic_read(&efx->active_queues) < 0); in efx_handle_drain_event()
|
H A D | mcdi_port_common.c | 1187 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 | 844 table->active_queues = ARRAY_SIZE(gmu->queues); in a6xx_hfi_init()
|
/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 | 1130 atomic_inc(&efx->active_queues); in efx_siena_start_channels() 1135 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/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 | net_driver.h | 888 atomic_t active_queues; member
|
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/scsi/ibmvscsi/ |
H A D | ibmvfc.c | 1133 hwqs = vhost->scsi_scrqs.active_queues; in ibmvfc_purge_requests() 1989 evt->hwq = hwq % vhost->scsi_scrqs.active_queues; in ibmvfc_queuecommand() 2501 q_size = vhost->scsi_scrqs.active_queues; in ibmvfc_wait_for_ops() 2611 num_hwq = vhost->scsi_scrqs.active_queues; in ibmvfc_cancel_all_mq() 5029 int flags, active_queues, i; in ibmvfc_channel_setup_done() local 5039 scrqs->active_queues = active_queues; in ibmvfc_channel_setup_done() 5045 if (active_queues) in ibmvfc_channel_setup_done() 5047 for (i = 0; i < active_queues; i++) in ibmvfc_channel_setup_done() 5052 vhost->scsi_scrqs.active_queues); in ibmvfc_channel_setup_done() 6073 channels->active_queues = 0; in ibmvfc_alloc_channels() [all …]
|
H A D | ibmvfc.h | 828 unsigned int active_queues; member
|
/linux/include/linux/ |
H A D | blk-mq.h | 763 unsigned int active_queues; member
|