Lines Matching refs:PARTS_PER_DISK
240 #define PARTS_PER_DISK 16
1063 *minor = ((*minor / 64) * PARTS_PER_DISK) +
1068 *minor = (((*minor / 64) + 2) * PARTS_PER_DISK) +
1072 *offset = (*minor / PARTS_PER_DISK) + EMULATED_SD_DISK_NAME_OFFSET;
1082 *offset = (*minor / PARTS_PER_DISK) +
1086 ((major - XEN_SCSI_DISK1_MAJOR + 1) * 16 * PARTS_PER_DISK) +
1097 *offset = (*minor / PARTS_PER_DISK) +
1101 ((major - XEN_SCSI_DISK8_MAJOR + 8) * 16 * PARTS_PER_DISK) +
1105 *offset = *minor / PARTS_PER_DISK;
1149 nr_parts = PARTS_PER_DISK;