clust2sect() is only used within FatFs.
 
Symbols
loading...
Files
loading...

clust2sect() function

Syntax

static DWORD clust2sect (     FATFS* fs,     DWORD clst );

Arguments

fs

clst

References

LocationReferrerText
ff.c:983
DWORD clust2sect ( /* !=0:Sector number, 0:Failed (invalid cluster#) */
ff.c:1501dir_sdi()
dp->sect = clust2sect(fs, clst);
ff.c:1559dir_next()
for (n = 0, fs->winsect = clust2sect(fs, clst); n < fs->csize; n++, fs->winsect++) { /* Fill the new cluster with 0 */
ff.c:1570dir_next()
dp->sect = clust2sect(fs, clst);
ff.c:3483f_open()
if ((sc = clust2sect(fs, clst)) == 0) {
ff.c:3554f_read()
sect = clust2sect(fs, fp->clust); /* Get current sector */
ff.c:3669f_write()
sect = clust2sect(fs, fp->clust); /* Get current sector */
ff.c:4055f_lseek()
dsc = clust2sect(fs, fp->clust);
ff.c:4128f_lseek()
nsect = clust2sect(fs, clst); /* Current sector */
ff.c:4653f_mkdir()
dsc = clust2sect(fs, dcl);
ff.c:4783f_rename()
dw = clust2sect(fs, ld_clust(fs, dir));

Call Tree

Functions calling clust2sect()
clust2sect()
Data read by clust2sect()
Data written by clust2sect()
clust2sect()
all items filtered out
Type of clust2sect()
clust2sect()
all items filtered out