Searched refs:csize (Results 1 – 2 of 2) sorted by relevance
1121 return fs->database + (LBA_t)fs->csize * clst; /* Start sector number of the cluster */ in clst2sect()1170 …DWORD clen = (DWORD)((LBA_t)((obj->objsize - 1) / SS(fs)) / fs->csize); /* Number of clusters - 1 … in get_fat()1449 rt[1] = clst2sect(fs, ecl) + fs->csize - 1; /* End of data area to be freed */ in remove_chain()1607 cl = (DWORD)(ofs / SS(fs) / fs->csize); /* Cluster order from top of the file */ in clmt_clust()1643 …for (szb = ((DWORD)fs->csize * SS(fs) >= MAX_MALLOC) ? MAX_MALLOC : fs->csize * SS(fs), ibuf = 0; … in dir_clear()1647 …for (n = 0; n < fs->csize && disk_write(fs->pdrv, ibuf, sect + n, szb) == RES_OK; n += szb) ; /* F… in dir_clear()1653 …for (n = 0; n < fs->csize && disk_write(fs->pdrv, ibuf, sect + n, szb) == RES_OK; n += szb) ; /* F… in dir_clear()1655 return (n == fs->csize) ? FR_OK : FR_DISK_ERR; in dir_clear()1690 csz = (DWORD)fs->csize * SS(fs); /* Bytes per cluster */ in dir_sdi()1736 if ((ofs / SS(fs) & (fs->csize - 1)) == 0) { /* Cluster changed? */ in dir_next()[all …]
141 WORD csize; /* Cluster size [sectors] */ member