Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Dblkdev.h385 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 …]
Dblk-mq.h885 test_bit(QUEUE_FLAG_FAIL_IO, &q->queue_flags)) in blk_should_fake_timeout()
/linux-5.19.10/block/
Dblk-sysfs.c282 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()
Dblk-core.c83 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()
Dblk-mq-tag.c47 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()
Dblk-timeout.c43 int set = test_bit(QUEUE_FLAG_FAIL_IO, &disk->queue->queue_flags); in part_timeout_show()
Dblk-flush.c393 unsigned long fflags = q->queue_flags; /* may change, cache */ in blk_insert_flush()
Dblk-mq.h358 if (!test_bit(QUEUE_FLAG_HCTX_ACTIVE, &q->queue_flags)) in hctx_may_queue()
Dblk-wbt.c859 wbt_set_write_cache(q, test_bit(QUEUE_FLAG_WC, &q->queue_flags)); in wbt_init()
Dblk-settings.c835 wbt_set_write_cache(q, test_bit(QUEUE_FLAG_WC, &q->queue_flags)); in blk_queue_write_cache()
Dblk-mq-debugfs.c141 blk_flags_show(m, q->queue_flags, blk_queue_flag_name, in queue_state_show()
Dblk-mq.c1039 !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/
Dcore.c7389 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/
Ddm-table.c1486 return !test_bit(QUEUE_FLAG_POLL, &q->queue_flags); in device_not_poll_capable()
1783 return (q->queue_flags & flush); in device_flush_capable()
Draid5-ppl.c1320 if (test_bit(QUEUE_FLAG_WC, &q->queue_flags)) in ppl_init_child_log()
Draid5-cache.c3095 log->need_cache_flush = test_bit(QUEUE_FLAG_WC, &q->queue_flags) != 0; in r5l_init_log()
/linux-5.19.10/drivers/block/
Dloop.c1141 if (test_bit(QUEUE_FLAG_WC, &lo->lo_queue->queue_flags)) in __loop_clr_fd()