Lines Matching refs:device
392 * xVM virtual block device
394 * Xen passes device number in next format:
421 decode_xen_device(uint_t device, uint_t *disk, uint_t *plun)
426 if ((device >> XEN_EXT_SHIFT) > 1)
429 if (device < HD_BASE) {
430 /* legacy device address */
431 dsk = device;
436 if (device & (1 << XEN_EXT_SHIFT)) {
438 dsk = device & (~0xff);
439 lun = device & 0xff;
443 switch (device >> 8) {
445 dsk = (device >> 4) & 0xf;
446 lun = device & 0xf;
449 dsk = device & (~0xf);
450 lun = device & 0xf;
453 dsk = device & (~0x3f);
454 lun = device & 0x3f;
457 dsk = device & (~0x3f);
458 lun = device & 0x3f;
483 /* HVM device names are generated using the standard generator */
490 devfsadm_errprint("%s: invalid disk device number (%s)\n",