Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c5680 QWORD nxt_alloc, sz_part, sz_pool, top_bpt; local
5692 top_bpt = sz_drv - sz_ptbl - 1; /* Backup partiiton table start sector */
5694 sz_pool = top_bpt - nxt_alloc; /* Size of allocatable area */
5706 if (nxt_alloc + sz_part > top_bpt) { /* Clip the size at end of the pool */
5707 sz_part = (nxt_alloc < top_bpt) ? top_bpt - nxt_alloc : 0;
5721 …if (disk_write(drv, buf, top_bpt + pi * SZ_GPTE / ss, 1) != RES_OK) return FR_DISK_ERR; /* Write t…
5732 st_qword(buf + GPTH_LstLba, top_bpt - 1); /* LBA of last allocatable sector */
5744 st_qword(buf + GPTH_PtOfs, top_bpt); /* LBA of this table */