Lines Matching refs:vdevice
206 int vdevice; member
1004 static int xen_translate_vdev(int vdevice, int *minor, unsigned int *offset) in xen_translate_vdev() argument
1007 major = BLKIF_MAJOR(vdevice); in xen_translate_vdev()
1008 *minor = BLKIF_MINOR(vdevice); in xen_translate_vdev()
1087 if ((info->vdevice>>EXT_SHIFT) > 1) { in xlvbd_alloc_gendisk()
1089 …intk(KERN_WARNING "blkfront: vdevice 0x%x is above the extended range; ignoring\n", info->vdevice); in xlvbd_alloc_gendisk()
1093 if (!VDEV_IS_EXTENDED(info->vdevice)) { in xlvbd_alloc_gendisk()
1094 err = xen_translate_vdev(info->vdevice, &minor, &offset); in xlvbd_alloc_gendisk()
1099 minor = BLKIF_MINOR_EXT(info->vdevice); in xlvbd_alloc_gendisk()
1105 "from xvde on\n", info->vdevice); in xlvbd_alloc_gendisk()
1109 info->vdevice, minor); in xlvbd_alloc_gendisk()
1939 int err, vdevice; in blkfront_probe() local
1944 "virtual-device", "%i", &vdevice); in blkfront_probe()
1948 "%i", &vdevice); in blkfront_probe()
1962 if (!VDEV_IS_EXTENDED(vdevice)) in blkfront_probe()
1963 major = BLKIF_MAJOR(vdevice); in blkfront_probe()
1970 __func__, vdevice); in blkfront_probe()
1993 info->vdevice = vdevice; in blkfront_probe()