Lines Matching refs:FR_NO_FILESYSTEM

3286 	if (fmt >= 2) return FR_NO_FILESYSTEM;	/* No FAT volume is found */
3296 if (i < BPB_ZeroedEx + 53) return FR_NO_FILESYSTEM;
3298 …if (ld_word(fs->win + BPB_FSVerEx) != 0x100) return FR_NO_FILESYSTEM; /* Check exFAT version (must…
3301 return FR_NO_FILESYSTEM;
3305 if (maxlba >= 0x100000000) return FR_NO_FILESYSTEM; /* (It cannot be handled in 32-bit LBA) */
3310 if (fs->n_fats != 1) return FR_NO_FILESYSTEM; /* (Supports only 1 FAT) */
3313 if (fs->csize == 0) return FR_NO_FILESYSTEM; /* (Must be 1..32768) */
3316 if (nclst > MAX_EXFAT) return FR_NO_FILESYSTEM; /* (Too many clusters) */
3323 …if (maxlba < (QWORD)fs->database + nclst * fs->csize) return FR_NO_FILESYSTEM; /* (Volume size mus…
3330 if (so >= fs->csize) return FR_NO_FILESYSTEM; /* Not found? */
3338 if (bcl < 2 || bcl >= fs->n_fatent) return FR_NO_FILESYSTEM;
3344 if (cv != ++bcl) return FR_NO_FILESYSTEM; /* Fragmented? */
3354 …if (ld_word(fs->win + BPB_BytsPerSec) != SS(fs)) return FR_NO_FILESYSTEM; /* (BPB_BytsPerSec must …
3361 if (fs->n_fats != 1 && fs->n_fats != 2) return FR_NO_FILESYSTEM; /* (Must be 1 or 2) */
3365 …if (fs->csize == 0 || (fs->csize & (fs->csize - 1))) return FR_NO_FILESYSTEM; /* (Must be power of…
3368 if (fs->n_rootdir % (SS(fs) / SZDIRE)) return FR_NO_FILESYSTEM; /* (Must be sector aligned) */
3374 if (nrsv == 0) return FR_NO_FILESYSTEM; /* (Must not be 0) */
3378 if (tsect < sysect) return FR_NO_FILESYSTEM; /* (Invalid volume size) */
3380 if (nclst == 0) return FR_NO_FILESYSTEM; /* (Invalid volume size) */
3385 if (fmt == 0) return FR_NO_FILESYSTEM;
3393 …if (ld_word(fs->win + BPB_FSVer32) != 0) return FR_NO_FILESYSTEM; /* (Must be FAT32 revision 0.0) …
3394 if (fs->n_rootdir != 0) return FR_NO_FILESYSTEM; /* (BPB_RootEntCnt must be 0) */
3398 if (fs->n_rootdir == 0) return FR_NO_FILESYSTEM; /* (BPB_RootEntCnt must not be 0) */
3403 …if (fs->fsize < (szbfat + (SS(fs) - 1)) / SS(fs)) return FR_NO_FILESYSTEM; /* (BPB_FATSz must not …