/linux-5.19.10/include/linux/ |
D | blkdev.h | 385 unsigned long queue_flags; member 587 #define blk_queue_stopped(q) test_bit(QUEUE_FLAG_STOPPED, &(q)->queue_flags) 588 #define blk_queue_dying(q) test_bit(QUEUE_FLAG_DYING, &(q)->queue_flags) 589 #define blk_queue_has_srcu(q) test_bit(QUEUE_FLAG_HAS_SRCU, &(q)->queue_flags) 590 #define blk_queue_dead(q) test_bit(QUEUE_FLAG_DEAD, &(q)->queue_flags) 591 #define blk_queue_init_done(q) test_bit(QUEUE_FLAG_INIT_DONE, &(q)->queue_flags) 592 #define blk_queue_nomerges(q) test_bit(QUEUE_FLAG_NOMERGES, &(q)->queue_flags) 594 test_bit(QUEUE_FLAG_NOXMERGES, &(q)->queue_flags) 595 #define blk_queue_nonrot(q) test_bit(QUEUE_FLAG_NONROT, &(q)->queue_flags) 597 test_bit(QUEUE_FLAG_STABLE_WRITES, &(q)->queue_flags) [all …]
|
D | blk-mq.h | 885 test_bit(QUEUE_FLAG_FAIL_IO, &q->queue_flags)) in blk_should_fake_timeout()
|
/linux-5.19.10/block/ |
D | blk-sysfs.c | 282 bit = test_bit(QUEUE_FLAG_##flag, &q->queue_flags); \ 363 bool set = test_bit(QUEUE_FLAG_SAME_COMP, &q->queue_flags); in queue_rq_affinity_show() 364 bool force = test_bit(QUEUE_FLAG_SAME_FORCE, &q->queue_flags); in queue_rq_affinity_show() 430 return queue_var_show(test_bit(QUEUE_FLAG_POLL, &q->queue_flags), page); in queue_poll_show() 436 if (!test_bit(QUEUE_FLAG_POLL, &q->queue_flags)) in queue_poll_store() 517 if (test_bit(QUEUE_FLAG_WC, &q->queue_flags)) in queue_wc_show() 547 return sprintf(page, "%u\n", test_bit(QUEUE_FLAG_FUA, &q->queue_flags)); in queue_fua_show()
|
D | blk-core.c | 83 set_bit(flag, &q->queue_flags); in blk_queue_flag_set() 94 clear_bit(flag, &q->queue_flags); in blk_queue_flag_clear() 108 return test_and_set_bit(flag, &q->queue_flags); in blk_queue_flag_test_and_set() 792 !test_bit(QUEUE_FLAG_WC, &q->queue_flags)) { in submit_bio_noacct() 800 if (!test_bit(QUEUE_FLAG_POLL, &q->queue_flags)) in submit_bio_noacct() 924 !test_bit(QUEUE_FLAG_POLL, &q->queue_flags)) in bio_poll()
|
D | blk-mq-tag.c | 47 if (test_bit(QUEUE_FLAG_HCTX_ACTIVE, &q->queue_flags) || in __blk_mq_tag_busy() 48 test_and_set_bit(QUEUE_FLAG_HCTX_ACTIVE, &q->queue_flags)) { in __blk_mq_tag_busy() 88 &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-flush.c | 393 unsigned long fflags = q->queue_flags; /* may change, cache */ in blk_insert_flush()
|
D | blk-mq.h | 358 if (!test_bit(QUEUE_FLAG_HCTX_ACTIVE, &q->queue_flags)) in hctx_may_queue()
|
D | blk-wbt.c | 859 wbt_set_write_cache(q, test_bit(QUEUE_FLAG_WC, &q->queue_flags)); in wbt_init()
|
D | blk-settings.c | 835 wbt_set_write_cache(q, test_bit(QUEUE_FLAG_WC, &q->queue_flags)); in blk_queue_write_cache()
|
D | blk-mq-debugfs.c | 141 blk_flags_show(m, q->queue_flags, blk_queue_flag_name, in queue_state_show()
|
D | blk-mq.c | 1039 !test_bit(QUEUE_FLAG_SAME_COMP, &rq->q->queue_flags)) in blk_mq_complete_need_ipi() 1052 (!test_bit(QUEUE_FLAG_SAME_FORCE, &rq->q->queue_flags) && in blk_mq_complete_need_ipi() 1136 if (test_bit(QUEUE_FLAG_STATS, &q->queue_flags)) { in blk_mq_start_request() 4053 q->queue_flags |= QUEUE_FLAG_MQ_DEFAULT; in blk_mq_init_allocated_queue()
|
/linux-5.19.10/kernel/sched/ |
D | core.c | 7389 int queue_flags = DEQUEUE_SAVE | DEQUEUE_MOVE | DEQUEUE_NOCLOCK; in __sched_setscheduler() local 7546 queue_flags &= ~DEQUEUE_MOVE; in __sched_setscheduler() 7552 dequeue_task(rq, p, queue_flags); in __sched_setscheduler() 7570 queue_flags |= ENQUEUE_HEAD; in __sched_setscheduler() 7572 enqueue_task(rq, p, queue_flags); in __sched_setscheduler() 10170 int queued, running, queue_flags = in sched_move_task() local 10182 dequeue_task(rq, tsk, queue_flags); in sched_move_task() 10189 enqueue_task(rq, tsk, queue_flags); in sched_move_task()
|
/linux-5.19.10/drivers/md/ |
D | dm-table.c | 1486 return !test_bit(QUEUE_FLAG_POLL, &q->queue_flags); in device_not_poll_capable() 1783 return (q->queue_flags & flush); in device_flush_capable()
|
D | raid5-ppl.c | 1320 if (test_bit(QUEUE_FLAG_WC, &q->queue_flags)) in ppl_init_child_log()
|
D | raid5-cache.c | 3095 log->need_cache_flush = test_bit(QUEUE_FLAG_WC, &q->queue_flags) != 0; in r5l_init_log()
|
/linux-5.19.10/drivers/block/ |
D | loop.c | 1141 if (test_bit(QUEUE_FLAG_WC, &lo->lo_queue->queue_flags)) in __loop_clr_fd()
|