Lines Matching refs:queue
168 struct request_queue *queue; member
778 blk_queue_max_hw_sectors(ubd_dev->queue, 8 * sizeof(long)); in ubd_open_dev()
802 ubd_dev->queue->limits.discard_granularity = SECTOR_SIZE; in ubd_open_dev()
803 ubd_dev->queue->limits.discard_alignment = SECTOR_SIZE; in ubd_open_dev()
804 blk_queue_max_discard_sectors(ubd_dev->queue, UBD_MAX_REQUEST); in ubd_open_dev()
805 blk_queue_max_write_zeroes_sectors(ubd_dev->queue, UBD_MAX_REQUEST); in ubd_open_dev()
806 blk_queue_flag_set(QUEUE_FLAG_DISCARD, ubd_dev->queue); in ubd_open_dev()
808 blk_queue_flag_set(QUEUE_FLAG_NONROT, ubd_dev->queue); in ubd_open_dev()
875 disk->queue = ubd_devs[unit].queue; in ubd_disk_register()
918 ubd_dev->queue = disk->queue; in ubd_add()
920 blk_queue_write_cache(ubd_dev->queue, true, false); in ubd_add()
921 blk_queue_max_segments(ubd_dev->queue, MAX_SG); in ubd_add()
922 blk_queue_segment_boundary(ubd_dev->queue, PAGE_SIZE - 1); in ubd_add()
1355 struct ubd *ubd_dev = hctx->queue->queuedata; in ubd_queue_rq()