/Linux-v5.10/include/linux/ |
D | blkdev.h | 430 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 …]
|
D | blk-mq.h | 539 test_bit(QUEUE_FLAG_FAIL_IO, &q->queue_flags)) in blk_should_fake_timeout()
|
/Linux-v5.10/block/ |
D | blk-sysfs.c | 266 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()
|
D | blk-mq-tag.c | 30 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()
|
D | blk-timeout.c | 43 int set = test_bit(QUEUE_FLAG_FAIL_IO, &disk->queue->queue_flags); in part_timeout_show()
|
D | blk-core.c | 81 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()
|
D | blk-mq.h | 306 if (!test_bit(BLK_MQ_S_TAG_ACTIVE, &q->queue_flags)) in hctx_may_queue()
|
D | blk-flush.c | 374 unsigned long fflags = q->queue_flags; /* may change, cache */ in blk_insert_flush()
|
D | blk-mq.c | 649 !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()
|
D | blk-settings.c | 781 wbt_set_write_cache(q, test_bit(QUEUE_FLAG_WC, &q->queue_flags)); in blk_queue_write_cache()
|
D | blk-wbt.c | 849 wbt_set_write_cache(q, test_bit(QUEUE_FLAG_WC, &q->queue_flags)); in wbt_init()
|
D | blk-mq-debugfs.c | 139 blk_flags_show(m, q->queue_flags, blk_queue_flag_name, in queue_state_show()
|
/Linux-v5.10/drivers/target/ |
D | target_core_iblock.c | 702 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/ |
D | core.c | 5224 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/ |
D | xenbus.c | 519 if (q && test_bit(QUEUE_FLAG_WC, &q->queue_flags)) in xen_vbd_create()
|
/Linux-v5.10/drivers/md/ |
D | raid5-ppl.c | 1328 if (test_bit(QUEUE_FLAG_WC, &q->queue_flags)) in ppl_init_child_log()
|
D | dm-table.c | 1534 return q && (q->queue_flags & flush); in device_flush_capable()
|
D | raid5-cache.c | 3099 log->need_cache_flush = test_bit(QUEUE_FLAG_WC, &q->queue_flags) != 0; in r5l_init_log()
|
/Linux-v5.10/fs/btrfs/ |
D | disk-io.c | 3686 if (!test_bit(QUEUE_FLAG_WC, &q->queue_flags)) in write_dev_flush()
|
/Linux-v5.10/drivers/nvme/host/ |
D | core.c | 876 WARN_ON_ONCE(!test_bit(QUEUE_FLAG_POLL, &q->queue_flags)); in nvme_execute_rq_polled()
|