/kernel/linux/linux-6.6/block/ |
H A D | blk-mq-tag.c | 60 users = tags->active_queues + 1; in __blk_mq_tag_busy() 61 WRITE_ONCE(tags->active_queues, users); in __blk_mq_tag_busy() 97 users = tags->active_queues - 1; in __blk_mq_tag_idle() 98 WRITE_ONCE(tags->active_queues, users); in __blk_mq_tag_idle()
|
H A D | blk-mq.h | 415 users = READ_ONCE(hctx->tags->active_queues); in hctx_may_queue()
|
/kernel/linux/linux-5.10/block/ |
H A D | blk-mq-tag.h | 12 atomic_t active_queues; member
|
H A D | blk-mq-tag.c | 36 atomic_inc(&hctx->tags->active_queues); in __blk_mq_tag_busy() 70 atomic_dec(&tags->active_queues); in __blk_mq_tag_idle()
|
H A D | blk-mq.h | 325 users = atomic_read(&hctx->tags->active_queues); in hctx_may_queue()
|
H A D | blk-mq-debugfs.c | 454 seq_printf(m, "active_queues=%d\n", in blk_mq_debugfs_tags_show() 455 atomic_read(&tags->active_queues)); in blk_mq_debugfs_tags_show()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | mcdi_functions.c | 363 * torn down, but efx->active_queues needs to be set to zero. in efx_fini_dmaq() 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 | farch.c | 596 return (atomic_read(&efx->active_queues) == 0 || in efx_farch_flush_wake() 628 /* Don't need to increment active_queues as it in efx_check_tx_flush_complete() 663 while (timeout && atomic_read(&efx->active_queues) > 0) { in efx_farch_do_flush() 699 if (atomic_read(&efx->active_queues) && in efx_farch_do_flush() 702 "(rx %d+%d)\n", atomic_read(&efx->active_queues), in efx_farch_do_flush() 707 atomic_set(&efx->active_queues, 0); in efx_farch_do_flush() 747 * after the FLR; also, efx->active_queues was non-zero (as no flush completion 751 * for batched flush requests; and the efx->active_queues gets messed up because 760 atomic_set(&efx->active_queues, 0); in efx_farch_finish_flr() 1137 WARN_ON(atomic_read(&efx->active_queues) in efx_farch_handle_drain_event() [all...] |
H A D | efx_channels.c | 1061 atomic_inc(&efx->active_queues); in efx_start_channels() 1066 atomic_inc(&efx->active_queues); in efx_start_channels()
|
H A D | net_driver.h | 956 * @active_queues: Count of RX and TX queues that haven't been flushed and drained. 1134 atomic_t active_queues; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | mcdi_functions.c | 363 * torn down, but efx->active_queues needs to be set to zero. in efx_fini_dmaq() 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 | 943 * @active_queues: Count of RX and TX queues that haven't been flushed and drained. 1126 atomic_t active_queues; member
|
/kernel/linux/linux-5.10/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 | 587 table->active_queues = ARRAY_SIZE(gmu->queues); in a6xx_hfi_init()
|
/kernel/linux/linux-6.6/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 | 756 table->active_queues = ARRAY_SIZE(gmu->queues); in a6xx_hfi_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
H A D | farch.c | 609 return (atomic_read(&efx->active_queues) == 0 || in ef4_farch_flush_wake() 641 /* Don't need to increment active_queues as it in ef4_check_tx_flush_complete() 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() 749 * after the FLR; also, efx->active_queues was non-zero (as no flush completion 753 * for batched flush requests; and the efx->active_queues gets messed up because 762 atomic_set(&efx->active_queues, 0); in ef4_farch_finish_flr() 1146 WARN_ON(atomic_read(&efx->active_queues) in ef4_farch_handle_drain_event() [all...] |
H A D | net_driver.h | 744 * @active_queues: Count of RX and TX queues that haven't been flushed and drained. 888 atomic_t active_queues; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/ |
H A D | farch.c | 609 return (atomic_read(&efx->active_queues) == 0 || in ef4_farch_flush_wake() 641 /* Don't need to increment active_queues as it in ef4_check_tx_flush_complete() 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() 749 * after the FLR; also, efx->active_queues was non-zero (as no flush completion 753 * for batched flush requests; and the efx->active_queues gets messed up because 762 atomic_set(&efx->active_queues, 0); in ef4_farch_finish_flr() 1146 WARN_ON(atomic_read(&efx->active_queues) in ef4_farch_handle_drain_event() [all...] |
H A D | net_driver.h | 744 * @active_queues: Count of RX and TX queues that haven't been flushed and drained. 888 atomic_t active_queues; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
H A D | farch.c | 597 return (atomic_read(&efx->active_queues) == 0 || in efx_farch_flush_wake() 629 /* Don't need to increment active_queues as it in efx_check_tx_flush_complete() 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() 748 * after the FLR; also, efx->active_queues was non-zero (as no flush completion 752 * of 4 for batched flush requests; and the efx->active_queues gets messed up 762 atomic_set(&efx->active_queues, 0); in efx_farch_finish_flr() 1139 WARN_ON(atomic_read(&efx->active_queues) in efx_farch_handle_drain_event() [all...] |
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()
|
/kernel/linux/linux-6.6/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.c | 1119 hwqs = vhost->scsi_scrqs.active_queues; in ibmvfc_purge_requests() 1952 scsi_channel = hwq % vhost->scsi_scrqs.active_queues; in ibmvfc_queuecommand() 1957 evt->hwq = hwq % vhost->scsi_scrqs.active_queues; in ibmvfc_queuecommand() 2469 q_size = vhost->scsi_scrqs.active_queues; in ibmvfc_wait_for_ops() 2579 num_hwq = vhost->scsi_scrqs.active_queues; in ibmvfc_cancel_all_mq() 4994 int flags, active_queues, i; in ibmvfc_channel_setup_done() local 5003 active_queues = be32_to_cpu(setup->num_scsi_subq_channels); in ibmvfc_channel_setup_done() 5004 scrqs->active_queues = active_queues; in ibmvfc_channel_setup_done() 5010 if (active_queues) in ibmvfc_channel_setup_done() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | blk-mq.h | 738 unsigned int active_queues; member
|