Searched refs:pi (Results 1 – 1 of 1) sorted by relevance
/fatfs-latest/ |
D | ff.c | 5776 UINT sz_ptbl, pi, si, ofs; local 5794 pi = si = 0; /* partition table index, map index */ 5796 if (pi * SZ_GPTE % ss == 0) memset(buf, 0, ss); /* Clean the buffer if needed */ 5809 ofs = pi * SZ_GPTE % ss; 5816 if ((pi + 1) * SZ_GPTE % ss == 0) { /* Write the sector buffer if it is filled up */ 5818 …if (disk_write(drv, buf, 2 + pi * SZ_GPTE / ss, 1) != RES_OK) return FR_DISK_ERR; /* Write to pri… 5819 …if (disk_write(drv, buf, top_bpt + pi * SZ_GPTE / ss, 1) != RES_OK) return FR_DISK_ERR; /* Write t… 5821 } while (++pi < GPT_ITEMS);
|