Home
last modified time | relevance | path

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

/fatfs-2.7.6/
Dff.c1120 if (clst >= fs->n_fatent - 2) return 0; /* Is it invalid cluster number? */ in clst2sect()
1141 if (clst < 2 || clst >= fs->n_fatent) { /* Check if in valid range */ in get_fat()
1220 if (clst >= 2 && clst < fs->n_fatent) { /* Check if in valid range */ in put_fat()
1286 if (clst >= fs->n_fatent - 2) clst = 0; in find_bitmap()
1294 if (++val >= fs->n_fatent - 2) { /* Next cluster (with wrap-around) */ in find_bitmap()
1415 if (clst < 2 || clst >= fs->n_fatent) return FR_INT_ERR; /* Check if in valid range */ in remove_chain()
1433 if (fs->free_clst < fs->n_fatent - 2) { /* Update FSINFO */ in remove_chain()
1456 } while (clst < fs->n_fatent); /* Repeat while not the last link */ in remove_chain()
1506 if (scl == 0 || scl >= fs->n_fatent) scl = 1; in create_chain()
1512 if (cs < fs->n_fatent) return cs; /* It is already followed by next cluster */ in create_chain()
[all …]
/fatfs-2.7.6/include/
Dff.h166 DWORD n_fatent; /* Number of FAT entries (number of clusters + 2) */ member