• Home
  • Raw
  • Download

Lines Matching refs:SZDIRE

121 #define SZDIRE				32		/* Size of a directory entry */  macro
1449 if (ofs >= (DWORD)MAX_DIR || ofs % SZDIRE) { in dir_sdi()
1460 if (ofs / SZDIRE >= fs->n_rootdir) return FR_INT_ERR; /* Is index out of range? */ in dir_sdi()
1500 ofs = dp->dptr + SZDIRE; /* Next entry */ in dir_next()
1508 if (ofs / SZDIRE >= fs->n_rootdir) { /* Report EOT if it reached end of static table */ in dir_next()
2008 entry = dp->dptr - (nent - 1) * SZDIRE; in dir_ofs()
2053 res = dir_sdi(dp, dp->dptr - n_ent * SZDIRE); in dir_register()
2079 mem_set(dp->dir, 0, SZDIRE); /* Clean the entry */ in dir_register()
2887 if (fs->n_rootdir % (SS(fs) / SZDIRE)) return FR_NO_FILESYSTEM; /* (Must be sector aligned) */ in mount_volume()
2896 sysect = nrsv + fasize + fs->n_rootdir / (SS(fs) / SZDIRE); /* RSV + FAT + DIR */ in mount_volume()
3131 if (fs->n_rootdir % (SS(fs) / SZDIRE)) return FR_NO_FILESYSTEM; /* (Must be sector aligned) */ in init_fatobj()
3140 sysect = nrsv + fasize + fs->n_rootdir / (SS(fs) / SZDIRE); /* RSV + FAT + DIR */ in init_fatobj()
3989 res = dir_sdi(&dj, 1 * SZDIRE); /* Get parent directory */ in f_getcwd()
4822 mem_cpy(dir + SZDIRE, dir, SZDIRE); /* Create ".." entry */ in f_mkdir()
4823 dir[SZDIRE + 1] = '.'; pcl = dj.obj.sclust; in f_mkdir()
4825 st_clust(fs, dir + SZDIRE, pcl); in f_mkdir()
4893 BYTE buf[SZDIRE], *dir;
4972 mem_cpy(buf, djo.dir, SZDIRE); /* Save directory entry of the object */
4982 mem_cpy(dir + 13, buf + 13, SZDIRE - 13);
4998 dir = fs->win + SZDIRE * 1; /* Ptr to .. entry */
5004 dir = PARENTFS(fs)->win + SZDIRE * 1; /* Ptr to .. entry */
5278 mem_set(dj.dir, 0, SZDIRE); /* Clean the entry */
5671 …n_root = (opt->n_root >= 1 && opt->n_root <= 32768 && (opt->n_root % (ss / SZDIRE)) == 0) ? opt->n…
5788 sz_dir = (DWORD)n_root * SZDIRE / ss; /* Rootdir size [sector] */
6048 …n_root = (opt->n_root >= 1 && opt->n_root <= 32768 && (opt->n_root % (ss / SZDIRE)) == 0) ? opt->n…
6159 sz_dir = (DWORD)n_root * SZDIRE / ss; /* Rootdir size [sector] */