Lines Matching refs:nclst
2813 DWORD tsect, sysect, fasize, nclst, szbfat; in mount_volume() local
2898 nclst = (tsect - sysect) / fs->csize; /* Number of clusters */ in mount_volume()
2899 if (nclst == 0) return FR_NO_FILESYSTEM; /* (Invalid volume size) */ in mount_volume()
2901 if (nclst <= MAX_FAT32) fmt = FS_FAT32; in mount_volume()
2902 if (nclst <= MAX_FAT16) fmt = FS_FAT16; in mount_volume()
2903 if (nclst <= MAX_FAT12) fmt = FS_FAT12; in mount_volume()
2907 fs->n_fatent = nclst + 2; /* Number of FAT entries */ in mount_volume()
3111 DWORD nclst; in init_fatobj() local
3142 nclst = (tsect - sysect) / fs->csize; /* Number of clusters */ in init_fatobj()
3143 if (nclst == 0) return FR_NO_FILESYSTEM; /* (Invalid volume size) */ in init_fatobj()
3145 if (nclst <= MAX_FAT32) fmt = FS_FAT32; in init_fatobj()
3146 if (nclst <= MAX_FAT16) fmt = FS_FAT16; in init_fatobj()
3147 if (nclst <= MAX_FAT12) fmt = FS_FAT12; in init_fatobj()
3151 fs->n_fatent = nclst + FAT_RESERVED_NUM; /* Number of FAT entries */ in init_fatobj()
4416 DWORD *nclst, /* Pointer to a variable to return number of free clusters */ in fat_count_free_entries() argument
4459 *nclst = nfree; /* Return the free clusters */ in fat_count_free_entries()
4472 DWORD* nclst, /* Pointer to a variable to return number of free clusters */ in f_getfree() argument
4485 *nclst = fs->free_clst; in f_getfree()
4488 res = fat_count_free_entries(nclst, fs); in f_getfree()