Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dblkdev.h408 unsigned long queue_flags; member
567 #define blk_queue_stopped(q) test_bit(QUEUE_FLAG_STOPPED, &(q)->queue_flags)
568 #define blk_queue_dying(q) test_bit(QUEUE_FLAG_DYING, &(q)->queue_flags)
569 #define blk_queue_init_done(q) test_bit(QUEUE_FLAG_INIT_DONE, &(q)->queue_flags)
570 #define blk_queue_nomerges(q) test_bit(QUEUE_FLAG_NOMERGES, &(q)->queue_flags)
572 test_bit(QUEUE_FLAG_NOXMERGES, &(q)->queue_flags)
573 #define blk_queue_nonrot(q) test_bit(QUEUE_FLAG_NONROT, &(q)->queue_flags)
575 test_bit(QUEUE_FLAG_STABLE_WRITES, &(q)->queue_flags)
576 #define blk_queue_io_stat(q) test_bit(QUEUE_FLAG_IO_STAT, &(q)->queue_flags)
577 #define blk_queue_add_random(q) test_bit(QUEUE_FLAG_ADD_RANDOM, &(q)->queue_flags)
[all …]
Dblk-mq.h909 test_bit(QUEUE_FLAG_FAIL_IO, &q->queue_flags)) in blk_should_fake_timeout()
/linux-6.6.21/block/
Dblk-sysfs.c283 bit = test_bit(QUEUE_FLAG_##flag, &q->queue_flags); \
364 bool set = test_bit(QUEUE_FLAG_SAME_COMP, &q->queue_flags); in queue_rq_affinity_show()
365 bool force = test_bit(QUEUE_FLAG_SAME_FORCE, &q->queue_flags); in queue_rq_affinity_show()
408 return queue_var_show(test_bit(QUEUE_FLAG_POLL, &q->queue_flags), page); in queue_poll_show()
414 if (!test_bit(QUEUE_FLAG_POLL, &q->queue_flags)) in queue_poll_store()
443 if (test_bit(QUEUE_FLAG_WC, &q->queue_flags)) in queue_wc_show()
453 if (!test_bit(QUEUE_FLAG_HW_WC, &q->queue_flags)) in queue_wc_store()
468 return sprintf(page, "%u\n", test_bit(QUEUE_FLAG_FUA, &q->queue_flags)); in queue_fua_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()
762 if (!test_bit(QUEUE_FLAG_WC, &q->queue_flags)) { in submit_bio_noacct()
771 if (!test_bit(QUEUE_FLAG_POLL, &q->queue_flags)) in submit_bio_noacct()
871 !test_bit(QUEUE_FLAG_POLL, &q->queue_flags)) in bio_poll()
Dblk-mq-tag.c50 if (test_bit(QUEUE_FLAG_HCTX_ACTIVE, &q->queue_flags) || in __blk_mq_tag_busy()
51 test_and_set_bit(QUEUE_FLAG_HCTX_ACTIVE, &q->queue_flags)) in __blk_mq_tag_busy()
89 &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.c406 unsigned long fflags = q->queue_flags; /* may change, cache */ in blk_insert_flush()
Dblk-mq.h408 if (!test_bit(QUEUE_FLAG_HCTX_ACTIVE, &q->queue_flags)) in hctx_may_queue()
Dblk-settings.c845 wbt_set_write_cache(q, test_bit(QUEUE_FLAG_WC, &q->queue_flags)); in blk_queue_write_cache()
Dblk-wbt.c921 rwb->wc = test_bit(QUEUE_FLAG_WC, &q->queue_flags); in wbt_init()
Dblk-mq-debugfs.c116 blk_flags_show(m, q->queue_flags, blk_queue_flag_name, in queue_state_show()
Dblk-mq.c1160 !test_bit(QUEUE_FLAG_SAME_COMP, &rq->q->queue_flags)) in blk_mq_complete_need_ipi()
1173 (!test_bit(QUEUE_FLAG_SAME_FORCE, &rq->q->queue_flags) && in blk_mq_complete_need_ipi()
1256 if (test_bit(QUEUE_FLAG_STATS, &q->queue_flags)) { in blk_mq_start_request()
4302 q->queue_flags |= QUEUE_FLAG_MQ_DEFAULT; in blk_mq_init_allocated_queue()
/linux-6.6.21/drivers/md/
Ddm-table.c1500 return !test_bit(QUEUE_FLAG_POLL, &q->queue_flags); in device_not_poll_capable()
1784 return (q->queue_flags & flush); in device_flush_capable()
/linux-6.6.21/kernel/sched/
Dcore.c7631 int queue_flags = DEQUEUE_SAVE | DEQUEUE_MOVE | DEQUEUE_NOCLOCK; in __sched_setscheduler() local
7795 queue_flags &= ~DEQUEUE_MOVE; in __sched_setscheduler()
7801 dequeue_task(rq, p, queue_flags); in __sched_setscheduler()
7819 queue_flags |= ENQUEUE_HEAD; in __sched_setscheduler()
7821 enqueue_task(rq, p, queue_flags); in __sched_setscheduler()
10501 int queued, running, queue_flags = in sched_move_task() local
10522 dequeue_task(rq, tsk, queue_flags); in sched_move_task()
10529 enqueue_task(rq, tsk, queue_flags); in sched_move_task()
/linux-6.6.21/drivers/block/
Dloop.c1139 if (test_bit(QUEUE_FLAG_WC, &lo->lo_queue->queue_flags)) in __loop_clr_fd()