Home
last modified time | relevance | path

Searched refs:queue_flags (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.10/include/linux/
Dblkdev.h430 unsigned long queue_flags; member
637 #define blk_queue_stopped(q) test_bit(QUEUE_FLAG_STOPPED, &(q)->queue_flags)
638 #define blk_queue_dying(q) test_bit(QUEUE_FLAG_DYING, &(q)->queue_flags)
639 #define blk_queue_dead(q) test_bit(QUEUE_FLAG_DEAD, &(q)->queue_flags)
640 #define blk_queue_init_done(q) test_bit(QUEUE_FLAG_INIT_DONE, &(q)->queue_flags)
641 #define blk_queue_nomerges(q) test_bit(QUEUE_FLAG_NOMERGES, &(q)->queue_flags)
643 test_bit(QUEUE_FLAG_NOXMERGES, &(q)->queue_flags)
644 #define blk_queue_nonrot(q) test_bit(QUEUE_FLAG_NONROT, &(q)->queue_flags)
646 test_bit(QUEUE_FLAG_STABLE_WRITES, &(q)->queue_flags)
647 #define blk_queue_io_stat(q) test_bit(QUEUE_FLAG_IO_STAT, &(q)->queue_flags)
[all …]
Dblk-mq.h539 test_bit(QUEUE_FLAG_FAIL_IO, &q->queue_flags)) in blk_should_fake_timeout()
/Linux-v5.10/block/
Dblk-sysfs.c266 bit = test_bit(QUEUE_FLAG_##flag, &q->queue_flags); \
347 bool set = test_bit(QUEUE_FLAG_SAME_COMP, &q->queue_flags); in queue_rq_affinity_show()
348 bool force = test_bit(QUEUE_FLAG_SAME_FORCE, &q->queue_flags); in queue_rq_affinity_show()
414 return queue_var_show(test_bit(QUEUE_FLAG_POLL, &q->queue_flags), page); in queue_poll_show()
513 if (test_bit(QUEUE_FLAG_WC, &q->queue_flags)) in queue_wc_show()
543 return sprintf(page, "%u\n", test_bit(QUEUE_FLAG_FUA, &q->queue_flags)); in queue_fua_show()
787 if (test_bit(QUEUE_FLAG_POLL_STATS, &q->queue_flags)) in blk_release_queue()
Dblk-mq-tag.c30 if (!test_bit(QUEUE_FLAG_HCTX_ACTIVE, &q->queue_flags) && in __blk_mq_tag_busy()
31 !test_and_set_bit(QUEUE_FLAG_HCTX_ACTIVE, &q->queue_flags)) in __blk_mq_tag_busy()
64 &q->queue_flags)) in __blk_mq_tag_idle()
Dblk-timeout.c43 int set = test_bit(QUEUE_FLAG_FAIL_IO, &disk->queue->queue_flags); in part_timeout_show()
Dblk-core.c81 set_bit(flag, &q->queue_flags); in blk_queue_flag_set()
92 clear_bit(flag, &q->queue_flags); in blk_queue_flag_clear()
106 return test_and_set_bit(flag, &q->queue_flags); in blk_queue_flag_test_and_set()
843 !test_bit(QUEUE_FLAG_WC, &q->queue_flags)) { in submit_bio_checks()
851 if (!test_bit(QUEUE_FLAG_POLL, &q->queue_flags)) in submit_bio_checks()
Dblk-mq.h306 if (!test_bit(BLK_MQ_S_TAG_ACTIVE, &q->queue_flags)) in hctx_may_queue()
Dblk-flush.c374 unsigned long fflags = q->queue_flags; /* may change, cache */ in blk_insert_flush()
Dblk-mq.c649 !test_bit(QUEUE_FLAG_SAME_COMP, &rq->q->queue_flags)) in blk_mq_complete_need_ipi()
654 (!test_bit(QUEUE_FLAG_SAME_FORCE, &rq->q->queue_flags) && in blk_mq_complete_need_ipi()
736 if (test_bit(QUEUE_FLAG_STATS, &q->queue_flags)) { in blk_mq_start_request()
3215 q->queue_flags |= QUEUE_FLAG_MQ_DEFAULT; in blk_mq_init_allocated_queue()
3694 if (test_bit(QUEUE_FLAG_POLL_STATS, &q->queue_flags) || in blk_poll_stats_enable()
3707 if (!test_bit(QUEUE_FLAG_POLL_STATS, &q->queue_flags) || in blk_mq_poll_stats_start()
3853 !test_bit(QUEUE_FLAG_POLL, &q->queue_flags)) in blk_poll()
Dblk-settings.c781 wbt_set_write_cache(q, test_bit(QUEUE_FLAG_WC, &q->queue_flags)); in blk_queue_write_cache()
Dblk-wbt.c849 wbt_set_write_cache(q, test_bit(QUEUE_FLAG_WC, &q->queue_flags)); in wbt_init()
Dblk-mq-debugfs.c139 blk_flags_show(m, q->queue_flags, blk_queue_flag_name, in queue_state_show()
/Linux-v5.10/drivers/target/
Dtarget_core_iblock.c702 if (test_bit(QUEUE_FLAG_FUA, &q->queue_flags)) { in iblock_execute_rw()
705 else if (!test_bit(QUEUE_FLAG_WC, &q->queue_flags)) in iblock_execute_rw()
858 return test_bit(QUEUE_FLAG_WC, &q->queue_flags); in iblock_get_write_cache()
/Linux-v5.10/kernel/sched/
Dcore.c5224 int queue_flags = DEQUEUE_SAVE | DEQUEUE_MOVE | DEQUEUE_NOCLOCK; in __sched_setscheduler() local
5428 queue_flags &= ~DEQUEUE_MOVE; in __sched_setscheduler()
5434 dequeue_task(rq, p, queue_flags); in __sched_setscheduler()
5449 queue_flags |= ENQUEUE_HEAD; in __sched_setscheduler()
5451 enqueue_task(rq, p, queue_flags); in __sched_setscheduler()
7550 int queued, running, queue_flags = in sched_move_task() local
7562 dequeue_task(rq, tsk, queue_flags); in sched_move_task()
7569 enqueue_task(rq, tsk, queue_flags); in sched_move_task()
/Linux-v5.10/drivers/block/xen-blkback/
Dxenbus.c519 if (q && test_bit(QUEUE_FLAG_WC, &q->queue_flags)) in xen_vbd_create()
/Linux-v5.10/drivers/md/
Draid5-ppl.c1328 if (test_bit(QUEUE_FLAG_WC, &q->queue_flags)) in ppl_init_child_log()
Ddm-table.c1534 return q && (q->queue_flags & flush); in device_flush_capable()
Draid5-cache.c3099 log->need_cache_flush = test_bit(QUEUE_FLAG_WC, &q->queue_flags) != 0; in r5l_init_log()
/Linux-v5.10/fs/btrfs/
Ddisk-io.c3686 if (!test_bit(QUEUE_FLAG_WC, &q->queue_flags)) in write_dev_flush()
/Linux-v5.10/drivers/nvme/host/
Dcore.c876 WARN_ON_ONCE(!test_bit(QUEUE_FLAG_POLL, &q->queue_flags)); in nvme_execute_rq_polled()