Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c1170 …DWORD clen = (DWORD)((LBA_t)((obj->objsize - 1) / SS(fs)) / fs->csize); /* Number of clusters - 1 … in get_fat() local
1172 if (obj->stat == 2 && cofs <= clen) { /* Is it a contiguous chain? */ in get_fat()
1173 val = (cofs == clen) ? 0x7FFFFFFF : clst + 1; /* No data on the FAT, generate the value */ in get_fat()
5941 DWORD szb_bit, szb_case, sum, nbit, clu, clen[3]; local
5965 clen[0] = (szb_bit + sz_au * ss - 1) / (sz_au * ss); /* Number of allocation bitmap clusters */
5968 sect = b_data + sz_au * clen[0]; /* Table start sector */
6002 clen[1] = (szb_case + sz_au * ss - 1) / (sz_au * ss); /* Number of up-case table clusters */
6003 clen[2] = 1; /* Number of root dir clusters */
6007 …nbit = clen[0] + clen[1] + clen[2]; /* Number of clusters in-use by system (bitmap, up-case and…
6030 if (nbit == 0 && j < 3) nbit = clen[j++]; /* Get next chain length */
[all …]