Searched refs:PARTS_PER_DISK (Results 1 – 1 of 1) sorted by relevance
113 #define PARTS_PER_DISK 16 macro449 *minor = ((*minor / 64) * PARTS_PER_DISK) + in xen_translate_vdev()454 *minor = (((*minor / 64) + 2) * PARTS_PER_DISK) + in xen_translate_vdev()458 *offset = (*minor / PARTS_PER_DISK) + EMULATED_SD_DISK_NAME_OFFSET; in xen_translate_vdev()468 *offset = (*minor / PARTS_PER_DISK) + in xen_translate_vdev()472 ((major - XEN_SCSI_DISK1_MAJOR + 1) * 16 * PARTS_PER_DISK) + in xen_translate_vdev()483 *offset = (*minor / PARTS_PER_DISK) + in xen_translate_vdev()487 ((major - XEN_SCSI_DISK8_MAJOR + 8) * 16 * PARTS_PER_DISK) + in xen_translate_vdev()491 *offset = *minor / PARTS_PER_DISK; in xen_translate_vdev()525 nr_parts = PARTS_PER_DISK; in xlvbd_alloc_gendisk()