Searched refs:ipart (Results 1 – 1 of 1) sorted by relevance
5910 BYTE fsopt, fsty, sys, pdrv, ipart; local5929 ipart = LD2PT(vol); /* Hosting partition (0:create as new, 1..:existing partition) */5966 if (FF_MULTI_PARTITION && ipart != 0) { /* Is the volume associated with any specific partition? */5983 …if (!memcmp(buf + ofs + GPTE_PtGuid, GUID_MS_Basic, 16) && ++i == ipart) { /* MS basic data partit…5995 pte = buf + (MBR_Table + (ipart - 1) * SZ_PTE);5996 if (ipart > 4 || pte[PTE_System] == 0) LEAVE_MKFS(FR_MKFS_ABORTED); /* No partition? */6377 if (FF_MULTI_PARTITION && ipart != 0) { /* Volume is in the existing partition */6381 buf[MBR_Table + (ipart - 1) * SZ_PTE + PTE_System] = sys; /* Set system ID */