Lines Matching refs:zv_zso
127 struct request_queue *q = zv->zv_zso->zvo_queue;
128 struct gendisk *disk = zv->zv_zso->zvo_disk;
209 struct request_queue *q = zv->zv_zso->zvo_queue;
210 struct gendisk *disk = zv->zv_zso->zvo_disk;
288 struct request_queue *q = zv->zv_zso->zvo_queue;
289 struct gendisk *disk = zv->zv_zso->zvo_disk;
362 zv->zv_zso->zvo_disk->disk_name,
688 set_capacity(zv->zv_zso->zvo_disk,
701 struct gendisk *disk = zv->zv_zso->zvo_disk;
720 zv->zv_zso->zvo_disk->private_data = NULL;
737 sectors = get_capacity(zv->zv_zso->zvo_disk);
791 zv->zv_zso = zso;
879 ASSERT3P(zv->zv_zso->zvo_disk->private_data, ==, NULL);
884 del_gendisk(zv->zv_zso->zvo_disk);
885 blk_cleanup_queue(zv->zv_zso->zvo_queue);
886 put_disk(zv->zv_zso->zvo_disk);
889 MINOR(zv->zv_zso->zvo_dev) >> ZVOL_MINOR_BITS);
894 kmem_free(zv->zv_zso, sizeof (struct zvol_state_os));
965 set_capacity(zv->zv_zso->zvo_disk, zv->zv_volsize >> 9);
967 blk_queue_max_hw_sectors(zv->zv_zso->zvo_queue,
969 blk_queue_max_segments(zv->zv_zso->zvo_queue, UINT16_MAX);
970 blk_queue_max_segment_size(zv->zv_zso->zvo_queue, UINT_MAX);
971 blk_queue_physical_block_size(zv->zv_zso->zvo_queue,
973 blk_queue_io_opt(zv->zv_zso->zvo_queue, zv->zv_volblocksize);
974 blk_queue_max_discard_sectors(zv->zv_zso->zvo_queue,
976 blk_queue_discard_granularity(zv->zv_zso->zvo_queue,
978 blk_queue_flag_set(QUEUE_FLAG_DISCARD, zv->zv_zso->zvo_queue);
980 blk_queue_flag_set(QUEUE_FLAG_NONROT, zv->zv_zso->zvo_queue);
983 blk_queue_flag_clear(QUEUE_FLAG_ADD_RANDOM, zv->zv_zso->zvo_queue);
987 blk_queue_flag_set(QUEUE_FLAG_SCSI_PASSTHROUGH, zv->zv_zso->zvo_queue);
1033 add_disk(zv->zv_zso->zvo_disk);
1044 int readonly = get_disk_ro(zv->zv_zso->zvo_disk);
1064 set_disk_ro(zv->zv_zso->zvo_disk, !readonly);
1065 set_disk_ro(zv->zv_zso->zvo_disk, readonly);
1072 set_disk_ro(zv->zv_zso->zvo_disk, flags);
1079 set_capacity(zv->zv_zso->zvo_disk, capacity);