Lines Matching defs:sect
212 return dfp_target->f_dir.sect != dfp->f_dir.sect ||
217 static DWORD fatfs_hash(QWORD sect, DWORD dptr, DWORD sclst)
220 hash = LOS_HashFNV32aBuf(§, sizeof(QWORD), hash);
263 QWORD sect;
289 sect = clst2sect(fs, *clust);
312 fs->winsect = sect++;
315 PARENTFS(fs)->winsect = sect++;
329 fs->winsect = sect++;
332 PARENTFS(fs)->winsect = sect++;
474 hash = fatfs_hash(dp_new->sect, dp_new->dptr, finfo_new->sclst);
548 hash = fatfs_hash(dp->sect, dp->dptr, finfo->sclst);
621 fp->dir_sect = dp->sect;
632 fp->sect = 0;
710 result = move_window(fs, dp->sect);
828 if (entry->sect != 0) {
829 if (disk_read(fs->pdrv, entry->buf, entry->sect, 1) != RES_OK) {
1495 result = move_window(fs, dp->sect);
2172 QWORD sect;
2186 sect = clst2sect(fs, clust); /* Get current sector */
2187 if (sect == 0) {
2192 if (move_window(fs, sect) != FR_OK) {
2221 QWORD sect;
2264 sect = clst2sect(fs, clust);
2265 sect += (pos / SS(fs)) & (fs->csize - 1);
2277 if (disk_read(fs->pdrv, buf, sect, step) != RES_OK) {
2294 sect = clst2sect(fs, clust);
2319 QWORD sect;
2362 sect = clst2sect(fs, clust);
2363 sect += (pos / SS(fs)) & (fs->csize - 1);
2375 if (disk_write(fs->pdrv, buf, sect, step) != RES_OK) {
2392 sect = clst2sect(fs, clust);