FatFs + 0/7 examples
CodeScope will show references to FATFS::n_fatent from the following samples and libraries:
Examples
STM32446E_EVAL
Demonstrations
STM32469I-Discovery
Demonstrations
STM32469I_EVAL
Demonstrations
STM324xG_EVAL
Demonstrations
STM32F429I-Discovery
Demonstrations
STM324x9I_EVAL
Demonstrations
STemWin
 
Symbols
loading...
Files
loading...

FATFS::n_fatent field

Syntax

DWORD n_fatent;

Examples

FATFS::n_fatent is referenced by 7 libraries and example projects.

References

LocationReferrerText
ff.h:118
DWORD n_fatent; /* Number of FAT entries (number of clusters + 2) */
ff.c:989clust2sect()
if (clst >= fs->n_fatent - 2) return 0; /* Invalid cluster# */
ff.c:1011get_fat()
if (clst < 2 || clst >= fs->n_fatent) { /* Check if in valid range */
ff.c:1091put_fat()
if (clst >= 2 && clst < fs->n_fatent) { /* Check if in valid range */
ff.c:1287remove_chain()
if (clst < 2 || clst >= fs->n_fatent) return FR_INT_ERR; /* Check if in valid range */
ff.c:1305remove_chain()
if (fs->free_clst < fs->n_fatent - 2) { /* Update FSINFO */
ff.c:1328remove_chain()
} while (clst < fs->n_fatent); /* Repeat while not the last link */
ff.c:1363create_chain()
if (scl == 0 || scl >= fs->n_fatent) scl = 1;
ff.c:1369create_chain()
if (cs < fs->n_fatent) return cs; /* It is already followed by next cluster */
ff.c:1403create_chain()
if (ncl >= fs->n_fatent) { /* Check wrap-around */
ff.c:1420create_chain()
if (fs->free_clst <= fs->n_fatent - 2) fs->free_clst--;
ff.c:1498dir_sdi()
if (clst < 2 || clst >= fs->n_fatent) return FR_INT_ERR; /* Reached to end of table or internal error */
ff.c:1546dir_next()
if (clst >= fs->n_fatent) { /* Reached end of dynamic table */
ff.c:3148find_volume()
fs->n_fatent = nclst + 2; /* Number of FAT entries */
ff.c:3156find_volume()
szbfat = fs->n_fatent * 4; /* (Needed FAT size) */
ff.c:3161find_volume()
fs->n_fatent * 2 : fs->n_fatent * 3 / 2 + (fs->n_fatent & 1);
ff.c:4042f_lseek()
} while (cl < fs->n_fatent); /* Repeat until end of chain */
ff.c:4123f_lseek()
if (clst <= 1 || clst >= fs->n_fatent) ABORT(fs, FR_INT_ERR);
ff.c:4407f_getfree()
if (fs->free_clst <= fs->n_fatent - 2) {
ff.c:4419f_getfree()
} while (++clst < fs->n_fatent);
ff.c:4440f_getfree()
clst = fs->n_fatent; sect = fs->fatbase;
ff.c:4497f_truncate()
if (res == FR_OK && ncl < fs->n_fatent) {

Data Use

Functions writing FATFS::n_fatent
Functions reading FATFS::n_fatent
all items filtered out
FATFS::n_fatent
Type of FATFS::n_fatent
FATFS::n_fatent
all items filtered out