Lines Matching refs:request_queue
34 void blk_freeze_queue(struct request_queue *q);
35 void __blk_mq_unfreeze_queue(struct request_queue *q, bool force_atomic);
36 void blk_queue_start_drain(struct request_queue *q);
37 int __bio_queue_enter(struct request_queue *q, struct bio *bio);
40 static inline bool blk_try_enter_queue(struct request_queue *q, bool pm) in blk_try_enter_queue()
66 struct request_queue *q = bdev_get_queue(bio->bi_bdev); in bio_queue_enter()
78 bool bvec_try_merge_hw_page(struct request_queue *q, struct bio_vec *bv,
82 static inline bool biovec_phys_mergeable(struct request_queue *q, in biovec_phys_mergeable()
169 static inline unsigned int blk_queue_get_max_sectors(struct request_queue *q, in blk_queue_get_max_sectors()
193 bool blk_integrity_merge_rq(struct request_queue *, struct request *,
195 bool blk_integrity_merge_bio(struct request_queue *, struct request *,
222 static inline bool blk_integrity_merge_rq(struct request_queue *rq, in blk_integrity_merge_rq()
227 static inline bool blk_integrity_merge_bio(struct request_queue *rq, in blk_integrity_merge_bio()
258 bool blk_attempt_plug_merge(struct request_queue *q, struct bio *bio,
260 bool blk_bio_list_merge(struct request_queue *q, struct list_head *list,
276 int elevator_switch(struct request_queue *q, struct elevator_type *new_e);
277 void elevator_disable(struct request_queue *q);
278 void elevator_exit(struct request_queue *q);
279 int elv_register_queue(struct request_queue *q, bool uevent);
280 void elv_unregister_queue(struct request_queue *q);
325 bool blk_attempt_req_merge(struct request_queue *q, struct request *rq,
349 static inline void req_set_nomerge(struct request_queue *q, struct request *req) in req_set_nomerge()
359 struct io_cq *ioc_find_get_icq(struct request_queue *q);
360 struct io_cq *ioc_lookup_icq(struct request_queue *q);
362 void ioc_clear_queue(struct request_queue *q);
364 static inline void ioc_clear_queue(struct request_queue *q) in ioc_clear_queue()
370 extern ssize_t blk_throtl_sample_time_show(struct request_queue *q, char *page);
371 extern ssize_t blk_throtl_sample_time_store(struct request_queue *q,
380 struct bio *__blk_queue_bounce(struct bio *bio, struct request_queue *q);
382 static inline bool blk_queue_may_bounce(struct request_queue *q) in blk_queue_may_bounce()
390 struct request_queue *q) in blk_queue_bounce()
436 struct gendisk *__alloc_disk_node(struct request_queue *q, int node_id,
439 int bio_add_hw_page(struct request_queue *q, struct bio *bio,
453 struct request_queue *blk_alloc_queue(int node_id);