search for: blk_queue_abort_queue

Displaying 2 results from an estimated 2 matches for "blk_queue_abort_queue".

2012 May 21
6
[RFC PATCH 1/5] block: Introduce q->abort_queue_fn()
...ation. Some drivers diff --git a/block/blk-settings.c b/block/blk-settings.c index d3234fc..83ccb48 100644 --- a/block/blk-settings.c +++ b/block/blk-settings.c @@ -100,6 +100,18 @@ void blk_queue_lld_busy(struct request_queue *q, lld_busy_fn *fn) EXPORT_SYMBOL_GPL(blk_queue_lld_busy); /** + * blk_queue_abort_queue - set driver specific abort function + * @q: queue + * @mbfn: abort_queue_fn + */ +void blk_queue_abort_queue(struct request_queue *q, abort_queue_fn *afn) +{ + q->abort_queue_fn = afn; +} +EXPORT_SYMBOL(blk_queue_abort_queue); + + +/** * blk_set_default_limits - reset limits to default value...
2012 May 21
6
[RFC PATCH 1/5] block: Introduce q->abort_queue_fn()
...ation. Some drivers diff --git a/block/blk-settings.c b/block/blk-settings.c index d3234fc..83ccb48 100644 --- a/block/blk-settings.c +++ b/block/blk-settings.c @@ -100,6 +100,18 @@ void blk_queue_lld_busy(struct request_queue *q, lld_busy_fn *fn) EXPORT_SYMBOL_GPL(blk_queue_lld_busy); /** + * blk_queue_abort_queue - set driver specific abort function + * @q: queue + * @mbfn: abort_queue_fn + */ +void blk_queue_abort_queue(struct request_queue *q, abort_queue_fn *afn) +{ + q->abort_queue_fn = afn; +} +EXPORT_SYMBOL(blk_queue_abort_queue); + + +/** * blk_set_default_limits - reset limits to default value...