Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/fatfs/src/
Dff.c1138 if (clst >= fs->n_fatent - 2) return 0; /* Is it invalid cluster number? */ in clst2sect()
1159 if (clst < 2 || clst >= fs->n_fatent) { /* Check if in valid range */ in get_fat()
1237 if (clst >= 2 && clst < fs->n_fatent) { /* Check if in valid range */ in put_fat()
1303 if (clst >= fs->n_fatent - 2) clst = 0; in find_bitmap()
1311 if (++val >= fs->n_fatent - 2) { /* Next cluster (with wrap-around) */ in find_bitmap()
1432 if (clst < 2 || clst >= fs->n_fatent) return FR_INT_ERR; /* Check if in valid range */ in remove_chain()
1450 if (fs->free_clst < fs->n_fatent - 2) { /* Update FSINFO */ in remove_chain()
1473 } while (clst < fs->n_fatent); /* Repeat while not the last link */ in remove_chain()
1523 if (scl == 0 || scl >= fs->n_fatent) scl = 1; in create_chain()
1529 if (cs < fs->n_fatent) return cs; /* It is already followed by next cluster */ in create_chain()
[all …]
Dff.h156 DWORD n_fatent; /* Number of FAT entries (number of clusters + 2) */ member
/hal_espressif-3.6.0/examples/storage/ext_flash_fatfs/main/
Dext_flash_fatfs_example_main.c182 size_t total_sectors = (fs->n_fatent - 2) * fs->csize; in example_get_fatfs_usage()