Home
last modified time | relevance | path

Searched refs:PARTS_PER_DISK (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/block/
H A Dxen-blkfront.c240 #define PARTS_PER_DISK 16 macro
1062 *minor = ((*minor / 64) * PARTS_PER_DISK) + in xen_translate_vdev()
1067 *minor = (((*minor / 64) + 2) * PARTS_PER_DISK) + in xen_translate_vdev()
1071 *offset = (*minor / PARTS_PER_DISK) + EMULATED_SD_DISK_NAME_OFFSET; in xen_translate_vdev()
1081 *offset = (*minor / PARTS_PER_DISK) + in xen_translate_vdev()
1085 ((major - XEN_SCSI_DISK1_MAJOR + 1) * 16 * PARTS_PER_DISK) + in xen_translate_vdev()
1096 *offset = (*minor / PARTS_PER_DISK) + in xen_translate_vdev()
1100 ((major - XEN_SCSI_DISK8_MAJOR + 8) * 16 * PARTS_PER_DISK) + in xen_translate_vdev()
1104 *offset = *minor / PARTS_PER_DISK; in xen_translate_vdev()
1148 nr_parts = PARTS_PER_DISK; in xlvbd_alloc_gendisk()