Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/block/
H A Dxen-blkfront.c240 #define PARTS_PER_DISK 16 macro
1063 *minor = ((*minor / 64) * PARTS_PER_DISK) + in xen_translate_vdev()
1068 *minor = (((*minor / 64) + 2) * PARTS_PER_DISK) + in xen_translate_vdev()
1072 *offset = (*minor / PARTS_PER_DISK) + EMULATED_SD_DISK_NAME_OFFSET; in xen_translate_vdev()
1082 *offset = (*minor / PARTS_PER_DISK) + in xen_translate_vdev()
1086 ((major - XEN_SCSI_DISK1_MAJOR + 1) * 16 * PARTS_PER_DISK) + in xen_translate_vdev()
1097 *offset = (*minor / PARTS_PER_DISK) + in xen_translate_vdev()
1101 ((major - XEN_SCSI_DISK8_MAJOR + 8) * 16 * PARTS_PER_DISK) + in xen_translate_vdev()
1105 *offset = *minor / PARTS_PER_DISK; in xen_translate_vdev()
1149 nr_parts = PARTS_PER_DISK; in xlvbd_alloc_gendisk()
[all...]
/kernel/linux/linux-6.6/drivers/block/
H A Dxen-blkfront.c240 #define PARTS_PER_DISK 16 macro
1009 *minor = ((*minor / 64) * PARTS_PER_DISK) + in xen_translate_vdev()
1014 *minor = (((*minor / 64) + 2) * PARTS_PER_DISK) + in xen_translate_vdev()
1018 *offset = (*minor / PARTS_PER_DISK) + EMULATED_SD_DISK_NAME_OFFSET; in xen_translate_vdev()
1028 *offset = (*minor / PARTS_PER_DISK) + in xen_translate_vdev()
1032 ((major - XEN_SCSI_DISK1_MAJOR + 1) * 16 * PARTS_PER_DISK) + in xen_translate_vdev()
1043 *offset = (*minor / PARTS_PER_DISK) + in xen_translate_vdev()
1047 ((major - XEN_SCSI_DISK8_MAJOR + 8) * 16 * PARTS_PER_DISK) + in xen_translate_vdev()
1051 *offset = *minor / PARTS_PER_DISK; in xen_translate_vdev()
1094 nr_parts = PARTS_PER_DISK; in xlvbd_alloc_gendisk()
[all...]

Completed in 6 milliseconds