_FDID::sclust is only used within FatFs.
 
Symbols
loading...
Files
loading...

_FDID::sclust field

Syntax

DWORD sclust;

References

LocationReferrerText
ff.h:137
DWORD sclust; /* Object start cluster (0:no cluster or root directory) */
ff.c:782chk_lock()
Files[i].clu == dp->obj.sclust &&
ff.c:818inc_lock()
Files[i].clu == dp->obj.sclust &&
ff.c:826inc_lock()
Files[i].clu = dp->obj.sclust;
ff.c:1483dir_sdi()
clst = dp->obj.sclust; /* Table start cluster (0:root) */
ff.c:2831follow_path()
obj->sclust = 0; /* Start from root directory */
ff.c:2888follow_path()
obj->sclust = ld_clust(fs, fs->win + dp->dptr % SS(fs)); /* Open next directory */
ff.c:3456f_open()
fp->obj.sclust = ld_clust(fs, dj.dir); /* Get object allocation info */
ff.c:3475f_open()
clst = fp->obj.sclust; /* Follow the cluster chain */
ff.c:3539f_read()
clst = fp->obj.sclust; /* Follow cluster chain from the origin */
ff.c:3641f_write()
clst = fp->obj.sclust; /* Follow from the origin */
ff.c:3659f_write()
if (fp->obj.sclust == 0) fp->obj.sclust = clst; /* Set start cluster if the first write */
ff.c:3789f_sync()
st_clust(fp->obj.fs, dir, fp->obj.sclust); /* Update file allocation info */
ff.c:4028f_lseek()
cl = fp->obj.sclust; /* Origin of the chain */
ff.c:4093f_lseek()
clst = fp->obj.sclust; /* start from the first cluster */
ff.c:4099f_lseek()
fp->obj.sclust = clst;
ff.c:4196f_opendir()
obj->sclust = ld_clust(fs, dp->dir); /* Get object allocation info */
ff.c:4207f_opendir()
if (obj->sclust) {
ff.c:4490f_truncate()
res = remove_chain(&fp->obj, fp->obj.sclust, 0);
ff.c:4491f_truncate()
fp->obj.sclust = 0;
ff.c:4579f_unlink()
sdj.obj.sclust = dclst;
ff.c:4663f_mkdir()
dir[SZDIRE + 1] = '.'; pcl = dj.obj.sclust;
ff.c:4773f_rename()
res = (djn.obj.sclust == djo.obj.sclust && djn.dptr == djo.dptr) ? FR_NO_FILE : FR_EXIST;
ff.c:4782f_rename()
if ((dir[DIR_Attr] & AM_DIR) && djo.obj.sclust != djn.obj.sclust) { /* Update .. entry in the sub-directory if needed */
ff.c:4791f_rename()
st_clust(fs, dir, djn.obj.sclust);

Data Use

Type of _FDID::sclust
_FDID::sclust
all items filtered out