Home
last modified time | relevance | path

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

/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()
183 size_t free_sectors = free_clusters * fs->csize; in example_get_fatfs_usage()
/hal_espressif-3.6.0/components/fatfs/src/
Dff.c1139 return fs->database + fs->csize * clst; /* Start sector number of the cluster */ in clst2sect()
1188 DWORD clen = (DWORD)((obj->objsize - 1) / SS(fs)) / fs->csize; /* Number of clusters - 1 */ in get_fat()
1466 rt[1] = clst2sect(fs, ecl) + fs->csize - 1; /* End of data area freed */ in remove_chain()
1624 cl = (DWORD)(ofs / SS(fs) / fs->csize); /* Cluster order from top of the file */ in clmt_clust()
1660 …for (szb = ((DWORD)fs->csize * SS(fs) >= MAX_MALLOC) ? MAX_MALLOC : fs->csize * SS(fs), ibuf = 0; … in dir_clear()
1664 …for (n = 0; n < fs->csize && disk_write(fs->pdrv, ibuf, sect + n, szb) == RES_OK; n += szb) ; /* F… in dir_clear()
1670 …for (n = 0; n < fs->csize && disk_write(fs->pdrv, ibuf, sect + n, szb) == RES_OK; n += szb) ; /* F… in dir_clear()
1672 return (n == fs->csize) ? FR_OK : FR_DISK_ERR; in dir_clear()
1707 csz = (DWORD)fs->csize * SS(fs); /* Bytes per cluster */ in dir_sdi()
1753 if ((ofs / SS(fs) & (fs->csize - 1)) == 0) { /* Cluster changed? */ in dir_next()
[all …]
Dff.h131 WORD csize; /* Cluster size [sectors] */ member
D00history.txt68 Fixed short seek (<= csize) collapses the file object.
/hal_espressif-3.6.0/components/fatfs/vfs/
Dvfs_fat.c634 const size_t copy_buf_size = fat_ctx->fs.csize; in vfs_fat_link()