Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c5680 QWORD nxt_alloc, sz_part, sz_pool, top_bpt; local
5695 bcc = 0xFFFFFFFF; sz_part = 1;
5699 if (sz_part != 0) { /* Is the size table not termintated? */
5701 sz_part = plst[si++]; /* Get a partition size */
5702 if (sz_part <= 100) { /* Is the size in percentage? */
5703 sz_part = sz_pool * sz_part / 100;
5704sz_part = (sz_part + align - 1) & ((QWORD)0 - align); /* Align partition end (only if in percentag…
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;
5710 if (sz_part != 0) { /* Add a partition? */
[all …]