Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c5812 BYTE fsopt, fsty, sys, *buf, *pte, pdrv, ipart; local
5829 ipart = LD2PT(vol); /* Partition (0:create as new, 1..:get from partition table) */
5863 if (FF_MULTI_PARTITION && ipart != 0) { /* Is the volume associated with any specific partition? */
5880 …if (!memcmp(buf + ofs + GPTE_PtGuid, GUID_MS_Basic, 16) && ++i == ipart) { /* MS basic data partit…
5892 pte = buf + (MBR_Table + (ipart - 1) * SZ_PTE);
5893 if (ipart > 4 || pte[PTE_System] == 0) LEAVE_MKFS(FR_MKFS_ABORTED); /* No partition? */
6275 if (FF_MULTI_PARTITION && ipart != 0) { /* Volume is in the existing partition */
6279 buf[MBR_Table + (ipart - 1) * SZ_PTE + PTE_System] = sys; /* Set system ID */