Lines Matching refs:vdevice
206 int vdevice;
1001 static int xen_translate_vdev(int vdevice, int *minor, unsigned int *offset)
1004 major = BLKIF_MAJOR(vdevice);
1005 *minor = BLKIF_MINOR(vdevice);
1084 if ((info->vdevice>>EXT_SHIFT) > 1) {
1086 printk(KERN_WARNING "blkfront: vdevice 0x%x is above the extended range; ignoring\n", info->vdevice);
1090 if (!VDEV_IS_EXTENDED(info->vdevice)) {
1091 err = xen_translate_vdev(info->vdevice, &minor, &offset);
1096 minor = BLKIF_MINOR_EXT(info->vdevice);
1100 printk(KERN_WARNING "blkfront: vdevice 0x%x might conflict with "
1102 "from xvde on\n", info->vdevice);
1106 info->vdevice, minor);
1939 int err, vdevice;
1944 "virtual-device", "%i", &vdevice);
1948 "%i", &vdevice);
1962 if (!VDEV_IS_EXTENDED(vdevice))
1963 major = BLKIF_MAJOR(vdevice);
1970 __func__, vdevice);
1993 info->vdevice = vdevice;