Searched refs:pi (Results 1 – 1 of 1) sorted by relevance
/fatfs-2.7.6/ |
D | ff.c | 5678 UINT sz_ptbl, pi, si, ofs; local 5696 pi = si = 0; /* partition table index, size table index */ 5698 if (pi * SZ_GPTE % ss == 0) memset(buf, 0, ss); /* Clean the buffer if needed */ 5711 ofs = pi * SZ_GPTE % ss; 5718 if ((pi + 1) * SZ_GPTE % ss == 0) { /* Write the buffer if it is filled up */ 5720 …if (disk_write(drv, buf, 2 + pi * SZ_GPTE / ss, 1) != RES_OK) return FR_DISK_ERR; /* Write to pri… 5721 …if (disk_write(drv, buf, top_bpt + pi * SZ_GPTE / ss, 1) != RES_OK) return FR_DISK_ERR; /* Write t… 5723 } while (++pi < GPT_ITEMS);
|