Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c5680 QWORD nxt_alloc, sz_part, sz_pool, top_bpt; local
5693 nxt_alloc = 2 + sz_ptbl; /* First allocatable sector */
5694 sz_pool = top_bpt - nxt_alloc; /* Size of allocatable area */
5700 nxt_alloc = (nxt_alloc + align - 1) & ((QWORD)0 - align); /* Align partition start */
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;
5714 st_qword(buf + ofs + GPTE_FstLba, nxt_alloc); /* Set partition start sector */
5715 st_qword(buf + ofs + GPTE_LstLba, nxt_alloc + sz_part - 1); /* Set partition end sector */
5716 nxt_alloc += sz_part; /* Next allocatable sector */