Searched refs:n_rootdir (Results 1 – 2 of 2) sorted by relevance
130 WORD n_rootdir; /* Number of root directory entries (FAT12/16) */ member
1703 if (ofs / SZDIRE >= fs->n_rootdir) return FR_INT_ERR; /* Is index out of range? */ in dir_sdi()1748 if (ofs / SZDIRE >= fs->n_rootdir) { /* Report EOT if it reached end of static table */ in dir_next()3367 fs->n_rootdir = ld_word(fs->win + BPB_RootEntCnt); /* Number of root directory entries */3368 if (fs->n_rootdir % (SS(fs) / SZDIRE)) return FR_NO_FILESYSTEM; /* (Must be sector aligned) */3377 sysect = nrsv + fasize + fs->n_rootdir / (SS(fs) / SZDIRE); /* RSV + FAT + FF_DIR */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) */5540 const UINT n_rootdir = 512; /* Number of root directory entries for FAT volume */ local5819 sz_dir = (DWORD)n_rootdir * SZDIRE / ss; /* Rootdir size [sector] */5874 …st_word(buf + BPB_RootEntCnt, (WORD)((fmt == FS_FAT32) ? 0 : n_rootdir)); /* Number of root direct…