Home
last modified time | relevance | path

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

/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/block/
H A Dxen-blkfront.c230 #define PARTS_PER_DISK 16 macro
1042 *minor = ((*minor / 64) * PARTS_PER_DISK) + in xen_translate_vdev()
1047 *minor = (((*minor / 64) + 2) * PARTS_PER_DISK) + in xen_translate_vdev()
1051 *offset = (*minor / PARTS_PER_DISK) + EMULATED_SD_DISK_NAME_OFFSET; in xen_translate_vdev()
1061 *offset = (*minor / PARTS_PER_DISK) + in xen_translate_vdev()
1065 ((major - XEN_SCSI_DISK1_MAJOR + 1) * 16 * PARTS_PER_DISK) + in xen_translate_vdev()
1076 *offset = (*minor / PARTS_PER_DISK) + in xen_translate_vdev()
1080 ((major - XEN_SCSI_DISK8_MAJOR + 8) * 16 * PARTS_PER_DISK) + in xen_translate_vdev()
1084 *offset = *minor / PARTS_PER_DISK; in xen_translate_vdev()
1128 nr_parts = PARTS_PER_DISK; in xlvbd_alloc_gendisk()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/block/
H A Dxen-blkfront.c230 #define PARTS_PER_DISK 16 macro
1042 *minor = ((*minor / 64) * PARTS_PER_DISK) + in xen_translate_vdev()
1047 *minor = (((*minor / 64) + 2) * PARTS_PER_DISK) + in xen_translate_vdev()
1051 *offset = (*minor / PARTS_PER_DISK) + EMULATED_SD_DISK_NAME_OFFSET; in xen_translate_vdev()
1061 *offset = (*minor / PARTS_PER_DISK) + in xen_translate_vdev()
1065 ((major - XEN_SCSI_DISK1_MAJOR + 1) * 16 * PARTS_PER_DISK) + in xen_translate_vdev()
1076 *offset = (*minor / PARTS_PER_DISK) + in xen_translate_vdev()
1080 ((major - XEN_SCSI_DISK8_MAJOR + 8) * 16 * PARTS_PER_DISK) + in xen_translate_vdev()
1084 *offset = *minor / PARTS_PER_DISK; in xen_translate_vdev()
1128 nr_parts = PARTS_PER_DISK; in xlvbd_alloc_gendisk()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/block/
H A Dxen-blkfront.c230 #define PARTS_PER_DISK 16 macro
1042 *minor = ((*minor / 64) * PARTS_PER_DISK) + in xen_translate_vdev()
1047 *minor = (((*minor / 64) + 2) * PARTS_PER_DISK) + in xen_translate_vdev()
1051 *offset = (*minor / PARTS_PER_DISK) + EMULATED_SD_DISK_NAME_OFFSET; in xen_translate_vdev()
1061 *offset = (*minor / PARTS_PER_DISK) + in xen_translate_vdev()
1065 ((major - XEN_SCSI_DISK1_MAJOR + 1) * 16 * PARTS_PER_DISK) + in xen_translate_vdev()
1076 *offset = (*minor / PARTS_PER_DISK) + in xen_translate_vdev()
1080 ((major - XEN_SCSI_DISK8_MAJOR + 8) * 16 * PARTS_PER_DISK) + in xen_translate_vdev()
1084 *offset = *minor / PARTS_PER_DISK; in xen_translate_vdev()
1128 nr_parts = PARTS_PER_DISK; in xlvbd_alloc_gendisk()