Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c224 #define SZ_GPTE 128 /* GPT: Size of partition table entry */ macro
3201 …if (ld_dword(gpth + GPTH_PteSize) != SZ_GPTE) return 0; /* Table entry size (must be SZ_GPTE bytes…
3302 if (move_window(fs, pt_lba + i * SZ_GPTE / SS(fs)) != FR_OK) return 4; /* PT sector */
3303 ofs = i * SZ_GPTE % SS(fs); /* Offset in the sector */
5691 sz_ptbl = GPT_ITEMS * SZ_GPTE / ss; /* Size of partition table [sector] */
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…
[all …]