Home
last modified time | relevance | path

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

/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmodmachine.c110 DWORD nclst; in machine_info() local
111 f_getfree(&vfs_fat->fatfs, &nclst); in machine_info()
113 (uint)(nclst * vfs_fat->fatfs.csize * 512)); in machine_info()
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmodmachine.c101 DWORD nclst; in machine_info() local
102 f_getfree(&vfs_fat->fatfs, &nclst); in machine_info()
103 printf("LFS free: %u bytes\n", (uint)(nclst * vfs_fat->fatfs.csize * 512)); in machine_info()
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmodmachine.c101 DWORD nclst; in machine_info() local
102 f_getfree(&vfs_fat->fatfs, &nclst); in machine_info()
103 printf("LFS free: %u bytes\n", (uint)(nclst * vfs_fat->fatfs.csize * 512)); in machine_info()
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dvfs_fat.c341 DWORD nclst; in fat_vfs_statvfs() local
343 FRESULT res = f_getfree(fatfs, &nclst); in fat_vfs_statvfs()
353 t->items[3] = MP_OBJ_NEW_SMALL_INT(nclst); // f_bfree in fat_vfs_statvfs()
/AliOS-Things-master/components/py_engine/engine/lib/oofatfs/
A Dff.h302 FRESULT f_getfree (FATFS *fs, DWORD* nclst); /* Get number of free clusters …
A Dff.c3117 DWORD bsect, fasize, tsect, sysect, nclst, szbfat, br[4]; local
3198 nclst = ld_dword(fs->win + BPB_NumClusEx); /* Number of clusters */
3199 if (nclst > MAX_EXFAT) return FR_NO_FILESYSTEM; /* (Too many clusters) */
3200 fs->n_fatent = nclst + 2;
3262 nclst = (tsect - sysect) / fs->csize; /* Number of clusters */
3263 if (nclst == 0) return FR_NO_FILESYSTEM; /* (Invalid volume size) */
3265 if (nclst <= MAX_FAT32) fmt = FS_FAT32;
3266 if (nclst <= MAX_FAT16) fmt = FS_FAT16;
3267 if (nclst <= MAX_FAT12) fmt = FS_FAT12;
4507 *nclst = fs->free_clst;
[all …]
/AliOS-Things-master/components/fatfs/include/
A Dff.h264 FRESULT f_getfree (const TCHAR* path, DWORD* nclst, FATFS** fatfs); /* Get number of free clusters …
/AliOS-Things-master/components/fatfs/src/
A Dff.c3047 DWORD bsect, fasize, tsect, sysect, nclst, szbfat, br[4]; local
3138 nclst = ld_dword(fs->win + BPB_NumClusEx); /* Number of clusters */
3140 fs->n_fatent = nclst + 2;
3187 nclst = (tsect - sysect) / fs->csize; /* Number of clusters */
3188 if (nclst == 0) return FR_NO_FILESYSTEM; /* (Invalid volume size) */
3190 if (nclst <= MAX_FAT32) fmt = FS_FAT32;
3191 if (nclst <= MAX_FAT16) fmt = FS_FAT16;
3192 if (nclst <= MAX_FAT12) fmt = FS_FAT12;
3196 fs->n_fatent = nclst + 2; /* Number of FAT entries */
4446 *nclst = fs->free_clst;
[all …]

Completed in 31 milliseconds