Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c5941 DWORD szb_bit, szb_case, sum, nbit, clu, clen[3]; local
6007nbit = clen[0] + clen[1] + clen[2]; /* Number of clusters in-use by system (bitmap, up-case and…
6010 …for (i = 0; nbit != 0 && i / 8 < sz_buf * ss; buf[i / 8] |= 1 << (i % 8), i++, nbit--) ; /* Mark u…
6018 j = nbit = clu = 0;
6026 while (nbit != 0 && i < sz_buf * ss) { /* Create a chain */
6027 st_dword(buf + i, (nbit > 1) ? clu + 1 : 0xFFFFFFFF);
6028 i += 4; clu++; nbit--;
6030 if (nbit == 0 && j < 3) nbit = clen[j++]; /* Get next chain length */
6031 } while (nbit != 0 && i < sz_buf * ss);