Lines Matching refs:vdevice
204 int vdevice;
1055 static int xen_translate_vdev(int vdevice, int *minor, unsigned int *offset)
1058 major = BLKIF_MAJOR(vdevice);
1059 *minor = BLKIF_MINOR(vdevice);
1139 if ((info->vdevice>>EXT_SHIFT) > 1) {
1141 printk(KERN_WARNING "blkfront: vdevice 0x%x is above the extended range; ignoring\n", info->vdevice);
1145 if (!VDEV_IS_EXTENDED(info->vdevice)) {
1146 err = xen_translate_vdev(info->vdevice, &minor, &offset);
1151 minor = BLKIF_MINOR_EXT(info->vdevice);
1155 printk(KERN_WARNING "blkfront: vdevice 0x%x might conflict with "
1157 "from xvde on\n", info->vdevice);
1161 info->vdevice, minor);
2039 int err, vdevice;
2044 "virtual-device", "%i", &vdevice);
2048 "%i", &vdevice);
2062 if (!VDEV_IS_EXTENDED(vdevice))
2063 major = BLKIF_MAJOR(vdevice);
2070 __func__, vdevice);
2093 info->vdevice = vdevice;