Lines Matching refs:vdevice
204 int vdevice; member
1054 static int xen_translate_vdev(int vdevice, int *minor, unsigned int *offset) in xen_translate_vdev() argument
1057 major = BLKIF_MAJOR(vdevice); in xen_translate_vdev()
1058 *minor = BLKIF_MINOR(vdevice); in xen_translate_vdev()
1138 if ((info->vdevice>>EXT_SHIFT) > 1) { in xlvbd_alloc_gendisk()
1140 …intk(KERN_WARNING "blkfront: vdevice 0x%x is above the extended range; ignoring\n", info->vdevice); in xlvbd_alloc_gendisk()
1144 if (!VDEV_IS_EXTENDED(info->vdevice)) { in xlvbd_alloc_gendisk()
1145 err = xen_translate_vdev(info->vdevice, &minor, &offset); in xlvbd_alloc_gendisk()
1150 minor = BLKIF_MINOR_EXT(info->vdevice); in xlvbd_alloc_gendisk()
1156 "from xvde on\n", info->vdevice); in xlvbd_alloc_gendisk()
1160 info->vdevice, minor); in xlvbd_alloc_gendisk()
2038 int err, vdevice; in blkfront_probe() local
2043 "virtual-device", "%i", &vdevice); in blkfront_probe()
2047 "%i", &vdevice); in blkfront_probe()
2061 if (!VDEV_IS_EXTENDED(vdevice)) in blkfront_probe()
2062 major = BLKIF_MAJOR(vdevice); in blkfront_probe()
2069 __func__, vdevice); in blkfront_probe()
2092 info->vdevice = vdevice; in blkfront_probe()