diff options
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index c7a3ab575c24..e542c8fd9215 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -429,6 +429,8 @@ struct request_queue | |||
429 | unsigned int max_segment_size; | 429 | unsigned int max_segment_size; |
430 | 430 | ||
431 | unsigned long seg_boundary_mask; | 431 | unsigned long seg_boundary_mask; |
432 | void *dma_drain_buffer; | ||
433 | unsigned int dma_drain_size; | ||
432 | unsigned int dma_alignment; | 434 | unsigned int dma_alignment; |
433 | 435 | ||
434 | struct blk_queue_tag *queue_tags; | 436 | struct blk_queue_tag *queue_tags; |
@@ -760,6 +762,8 @@ extern void blk_queue_max_hw_segments(struct request_queue *, unsigned short); | |||
760 | extern void blk_queue_max_segment_size(struct request_queue *, unsigned int); | 762 | extern void blk_queue_max_segment_size(struct request_queue *, unsigned int); |
761 | extern void blk_queue_hardsect_size(struct request_queue *, unsigned short); | 763 | extern void blk_queue_hardsect_size(struct request_queue *, unsigned short); |
762 | extern void blk_queue_stack_limits(struct request_queue *t, struct request_queue *b); | 764 | extern void blk_queue_stack_limits(struct request_queue *t, struct request_queue *b); |
765 | extern int blk_queue_dma_drain(struct request_queue *q, void *buf, | ||
766 | unsigned int size); | ||
763 | extern void blk_queue_segment_boundary(struct request_queue *, unsigned long); | 767 | extern void blk_queue_segment_boundary(struct request_queue *, unsigned long); |
764 | extern void blk_queue_prep_rq(struct request_queue *, prep_rq_fn *pfn); | 768 | extern void blk_queue_prep_rq(struct request_queue *, prep_rq_fn *pfn); |
765 | extern void blk_queue_merge_bvec(struct request_queue *, merge_bvec_fn *); | 769 | extern void blk_queue_merge_bvec(struct request_queue *, merge_bvec_fn *); |