Lines Matching defs:pCP

841                 PHOSTPARTITION pCP = &pPart->aPartitions[pPart->cPartitions++];
842 pCP->uIndex = currentEntry + 1;
843 pCP->uType = 0;
844 pCP->uStartCylinder = 0;
845 pCP->uStartHead = 0;
846 pCP->uStartSector = 0;
847 pCP->uEndCylinder = 0;
848 pCP->uEndHead = 0;
849 pCP->uEndSector = 0;
850 pCP->uPartDataStart = 0; /* will be filled out later properly. */
851 pCP->cPartDataSectors = 0;
854 pCP->uIndex = 0;
860 pCP->uStart = start;
861 pCP->uSize = (end +1) - start;/*+1 LBA because the last address is included*/
883 PHOSTPARTITION pCP = &pPart->aPartitions[pPart->cPartitions++];
884 pCP->uIndex = i + 1;
885 pCP->uType = p[4];
886 pCP->uStartCylinder = (uint32_t)p[3] + ((uint32_t)(p[2] & 0xc0) << 2);
887 pCP->uStartHead = p[1];
888 pCP->uStartSector = p[2] & 0x3f;
889 pCP->uEndCylinder = (uint32_t)p[7] + ((uint32_t)(p[6] & 0xc0) << 2);
890 pCP->uEndHead = p[5];
891 pCP->uEndSector = p[6] & 0x3f;
892 pCP->uStart = RT_MAKE_U32_FROM_U8(p[8], p[9], p[10], p[11]);
893 pCP->uSize = RT_MAKE_U32_FROM_U8(p[12], p[13], p[14], p[15]);
894 pCP->uPartDataStart = 0; /* will be filled out later properly. */
895 pCP->cPartDataSectors = 0;
900 uExtended = (unsigned)(pCP - pPart->aPartitions);
939 PHOSTPARTITION pCP = &pPart->aPartitions[pPart->cPartitions++];
940 pCP->uIndex = uIndex;
941 pCP->uType = p[4];
942 pCP->uStartCylinder = (uint32_t)p[3] + ((uint32_t)(p[2] & 0xc0) << 2);
943 pCP->uStartHead = p[1];
944 pCP->uStartSector = p[2] & 0x3f;
945 pCP->uEndCylinder = (uint32_t)p[7] + ((uint32_t)(p[6] & 0xc0) << 2);
946 pCP->uEndHead = p[5];
947 pCP->uEndSector = p[6] & 0x3f;
954 pCP->uStart = uStart + uOffset + uStartOffset;
955 pCP->uSize = RT_MAKE_U32_FROM_U8(p[12], p[13], p[14], p[15]);
957 pCP->uPartDataStart = uStart + uOffset;
958 pCP->cPartDataSectors = uStartOffset;