Lines Matching refs:vdevice
937 xbd_vdevice_to_unit(uint32_t vdevice, int *unit, const char **name) in xbd_vdevice_to_unit() argument
977 int major = vdevice >> 8; in xbd_vdevice_to_unit()
978 int minor = vdevice & 0xff; in xbd_vdevice_to_unit()
981 if (vdevice & (1 << 28)) { in xbd_vdevice_to_unit()
982 *unit = (vdevice & ((1 << 28) - 1)) >> 8; in xbd_vdevice_to_unit()
1001 int vdevice, uint16_t vdisk_info, unsigned long sector_size, in xbd_instance_create() argument
1008 xbd_vdevice_to_unit(vdevice, &unit, &name); in xbd_instance_create()
1501 uint32_t vdevice; in xbd_attach() local
1508 "virtual-device", NULL, "%" PRIu32, &vdevice); in xbd_attach()
1511 "virtual-device-ext", NULL, "%" PRIu32, &vdevice); in xbd_attach()
1518 xbd_vdevice_to_unit(vdevice, &unit, &name); in xbd_attach()
1529 sc->xbd_vdevice = vdevice; in xbd_attach()