Lines Matching refs:queue
3474 * @queue Pointer to the request queue. Unused other than to obtain
3479 static void mtip_make_request(struct request_queue *queue, struct bio *bio)
3481 struct driver_data *dd = queue->queuedata;
3506 blk_queue_flush(queue, 0);
3513 blk_queue_bounce(queue, &bio);
3612 * queue creation and add_disk()
3618 /* Allocate the request queue. */
3619 dd->queue = blk_alloc_queue(GFP_KERNEL);
3620 if (dd->queue == NULL) {
3622 "Unable to allocate request queue\n");
3627 /* Attach our request function to the request queue. */
3628 blk_queue_make_request(dd->queue, mtip_make_request);
3630 dd->disk->queue = dd->queue;
3631 dd->queue->queuedata = dd;
3634 set_bit(QUEUE_FLAG_NONROT, &dd->queue->queue_flags);
3635 blk_queue_max_segments(dd->queue, MTIP_MAX_SG);
3636 blk_queue_physical_block_size(dd->queue, 4096);
3637 blk_queue_io_min(dd->queue, 4096);
3642 blk_queue_flush(dd->queue, 0);
3694 blk_cleanup_queue(dd->queue);
3751 blk_cleanup_queue(dd->queue);
3753 dd->queue = NULL;
3778 /* Delete our gendisk structure, and cleanup the blk queue. */
3785 blk_cleanup_queue(dd->queue);
3787 dd->queue = NULL;