Lines Matching defs:q
121 struct request_queue *q; member
619 #define blk_queue_stopped(q) test_bit(QUEUE_FLAG_STOPPED, &(q)->queue_flags) argument
620 #define blk_queue_dying(q) test_bit(QUEUE_FLAG_DYING, &(q)->queue_flags) argument
621 #define blk_queue_dead(q) test_bit(QUEUE_FLAG_DEAD, &(q)->queue_flags) argument
622 #define blk_queue_init_done(q) test_bit(QUEUE_FLAG_INIT_DONE, &(q)->queue_flags) argument
623 #define blk_queue_nomerges(q) test_bit(QUEUE_FLAG_NOMERGES, &(q)->queue_flags) argument
624 #define blk_queue_noxmerges(q) \ argument
626 #define blk_queue_nonrot(q) test_bit(QUEUE_FLAG_NONROT, &(q)->queue_flags) argument
627 #define blk_queue_stable_writes(q) \ argument
629 #define blk_queue_io_stat(q) test_bit(QUEUE_FLAG_IO_STAT, &(q)->queue_flags) argument
630 #define blk_queue_add_random(q) test_bit(QUEUE_FLAG_ADD_RANDOM, &(q)->queue_flags) argument
631 #define blk_queue_discard(q) test_bit(QUEUE_FLAG_DISCARD, &(q)->queue_flags) argument
632 #define blk_queue_zone_resetall(q) \ argument
634 #define blk_queue_secure_erase(q) \ argument
636 #define blk_queue_dax(q) test_bit(QUEUE_FLAG_DAX, &(q)->queue_flags) argument
637 #define blk_queue_scsi_passthrough(q) \ argument
639 #define blk_queue_pci_p2pdma(q) \ argument
642 #define blk_queue_rq_alloc_time(q) \ argument
645 #define blk_queue_rq_alloc_time(q) false argument
651 #define blk_queue_quiesced(q) test_bit(QUEUE_FLAG_QUIESCED, &(q)->queue_flags) argument
652 #define blk_queue_pm_only(q) atomic_read(&(q)->pm_only) argument
653 #define blk_queue_fua(q) test_bit(QUEUE_FLAG_FUA, &(q)->queue_flags) argument
654 #define blk_queue_registered(q) test_bit(QUEUE_FLAG_REGISTERED, &(q)->queue_flags) argument
655 #define blk_queue_nowait(q) test_bit(QUEUE_FLAG_NOWAIT, &(q)->queue_flags) argument
671 static inline bool queue_is_mq(struct request_queue *q) in queue_is_mq()
677 static inline enum rpm_status queue_rpm_status(struct request_queue *q) in queue_rpm_status()
682 static inline enum rpm_status queue_rpm_status(struct request_queue *q) in queue_rpm_status()
689 blk_queue_zoned_model(struct request_queue *q) in blk_queue_zoned_model()
696 static inline bool blk_queue_is_zoned(struct request_queue *q) in blk_queue_is_zoned()
707 static inline sector_t blk_queue_zone_sectors(struct request_queue *q) in blk_queue_zone_sectors()
713 static inline unsigned int blk_queue_nr_zones(struct request_queue *q) in blk_queue_nr_zones()
718 static inline unsigned int blk_queue_zone_no(struct request_queue *q, in blk_queue_zone_no()
726 static inline bool blk_queue_zone_is_seq(struct request_queue *q, in blk_queue_zone_is_seq()
736 static inline void blk_queue_max_open_zones(struct request_queue *q, in blk_queue_max_open_zones()
742 static inline unsigned int queue_max_open_zones(const struct request_queue *q) in queue_max_open_zones()
747 static inline void blk_queue_max_active_zones(struct request_queue *q, in blk_queue_max_active_zones()
753 static inline unsigned int queue_max_active_zones(const struct request_queue *q) in queue_max_active_zones()
758 static inline unsigned int blk_queue_nr_zones(struct request_queue *q) in blk_queue_nr_zones()
762 static inline bool blk_queue_zone_is_seq(struct request_queue *q, in blk_queue_zone_is_seq()
767 static inline unsigned int blk_queue_zone_no(struct request_queue *q, in blk_queue_zone_no()
772 static inline unsigned int queue_max_open_zones(const struct request_queue *q) in queue_max_open_zones()
776 static inline unsigned int queue_max_active_zones(const struct request_queue *q) in queue_max_active_zones()
818 static inline unsigned int blk_queue_depth(struct request_queue *q) in blk_queue_depth()
1033 static inline unsigned int blk_queue_get_max_sectors(struct request_queue *q, in blk_queue_get_max_sectors()
1053 static inline unsigned int blk_max_size_offset(struct request_queue *q, in blk_max_size_offset()
1075 struct request_queue *q = rq->q; in blk_rq_get_max_sectors() local
1189 static inline int blk_rq_map_sg(struct request_queue *q, struct request *rq, in blk_rq_map_sg()
1358 static inline unsigned long queue_segment_boundary(const struct request_queue *q) in queue_segment_boundary()
1363 static inline unsigned long queue_virt_boundary(const struct request_queue *q) in queue_virt_boundary()
1368 static inline unsigned int queue_max_sectors(const struct request_queue *q) in queue_max_sectors()
1373 static inline unsigned int queue_max_bytes(struct request_queue *q) in queue_max_bytes()
1378 static inline unsigned int queue_max_hw_sectors(const struct request_queue *q) in queue_max_hw_sectors()
1383 static inline unsigned short queue_max_segments(const struct request_queue *q) in queue_max_segments()
1388 static inline unsigned short queue_max_discard_segments(const struct request_queue *q) in queue_max_discard_segments()
1393 static inline unsigned int queue_max_segment_size(const struct request_queue *q) in queue_max_segment_size()
1398 static inline unsigned int queue_max_zone_append_sectors(const struct request_queue *q) in queue_max_zone_append_sectors()
1417 static inline unsigned queue_logical_block_size(const struct request_queue *q) in queue_logical_block_size()
1432 static inline unsigned int queue_physical_block_size(const struct request_queue *q) in queue_physical_block_size()
1442 static inline unsigned int queue_io_min(const struct request_queue *q) in queue_io_min()
1452 static inline unsigned int queue_io_opt(const struct request_queue *q) in queue_io_opt()
1463 queue_zone_write_granularity(const struct request_queue *q) in queue_zone_write_granularity()
1474 static inline int queue_alignment_offset(const struct request_queue *q) in queue_alignment_offset()
1493 struct request_queue *q = bdev_get_queue(bdev); in bdev_alignment_offset() local
1503 static inline int queue_discard_alignment(const struct request_queue *q) in queue_discard_alignment()
1552 struct request_queue *q = bdev_get_queue(bdev); in bdev_discard_alignment() local
1562 struct request_queue *q = bdev_get_queue(bdev); in bdev_write_same() local
1572 struct request_queue *q = bdev_get_queue(bdev); in bdev_write_zeroes_sectors() local
1582 struct request_queue *q = bdev_get_queue(bdev); in bdev_zoned_model() local
1592 struct request_queue *q = bdev_get_queue(bdev); in bdev_is_zoned() local
1602 struct request_queue *q = bdev_get_queue(bdev); in bdev_zone_sectors() local
1611 struct request_queue *q = bdev_get_queue(bdev); in bdev_max_open_zones() local
1620 struct request_queue *q = bdev_get_queue(bdev); in bdev_max_active_zones() local
1627 static inline int queue_dma_alignment(const struct request_queue *q) in queue_dma_alignment()
1632 static inline int blk_rq_aligned(struct request_queue *q, unsigned long addr, in blk_rq_aligned()
1717 blk_integrity_queue_supports_integrity(struct request_queue *q) in blk_integrity_queue_supports_integrity()
1727 static inline void blk_queue_max_integrity_segments(struct request_queue *q, in blk_queue_max_integrity_segments()
1734 queue_max_integrity_segments(const struct request_queue *q) in queue_max_integrity_segments()
1783 static inline int blk_rq_count_integrity_sg(struct request_queue *q, in blk_rq_count_integrity_sg()
1788 static inline int blk_rq_map_integrity_sg(struct request_queue *q, in blk_rq_map_integrity_sg()
1803 blk_integrity_queue_supports_integrity(struct request_queue *q) in blk_integrity_queue_supports_integrity()
1818 static inline void blk_queue_max_integrity_segments(struct request_queue *q, in blk_queue_max_integrity_segments()
1822 static inline unsigned short queue_max_integrity_segments(const struct request_queue *q) in queue_max_integrity_segments()
1855 struct request_queue *q) in blk_ksm_register()
1860 static inline void blk_ksm_unregister(struct request_queue *q) { } in blk_ksm_unregister()