Home
last modified time | relevance | path

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

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